homepage Welcome to WebmasterWorld Guest from 54.205.207.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver Template and Meta tags
Forgot to make an editable region for meta tag
BlueGhost

10+ Year Member



 
Msg#: 1317 posted 4:23 pm on Dec 20, 2005 (gmt 0)

Hello all, i redid a site for my company and the site has over 200 pages in it. I just made editable regions for the body only, and when a coworker went into edit the meta tags, since there was no editable region he couldnt access it. I didnt know what to do, it was late in the day and i was done working. Im afraid if i make an editable region now, it wont apply to all the pages i have already created, and i dont want to go back to all 200 pages and edit them individually. Any thoughts on this? THanks!

 

BlueGhost

10+ Year Member



 
Msg#: 1317 posted 2:28 pm on Dec 21, 2005 (gmt 0)

found the answer:

Question: I need to add some meta content, keywords to be exact, to my document. When I try to do this in a page created from a template nothing happens. How come?

Answer: Just as with custom scripts, you cannot modify any content in the head region of a page created from a template unless you have created a special editable region there.

Switch to Code view and locate the <head> tags at the top of the document. In particular, look for the title tags contained in the document. They should look something like this:

<head>
<!--#BeginEditable "doctitle" -->
<title>Your Title Here</title>
<!-- #EndEditable -->

Your completed revisions should look something like this when you're done:

<head>
<!--#BeginEditable "doctitle" -->

<title>Untitled Document</title>

<meta name="keywords" content="keyword 1, keyword 2, keyword 3, etc.">

<!-- #EndEditable -->

In addition to this method you could simply insert the meta tags into the defined editable region in the head of your document. While spelling out the location of your meta tags as in the example above may make things clearer, all that is really required is placing your head content into any area defined as editable in the code.

voices

10+ Year Member



 
Msg#: 1317 posted 5:38 pm on Jan 9, 2006 (gmt 0)

Seems dreamweaver has a little bug with this, if you don't set a title when you create the template page, it won't let you edit it later. Had that problem the other day after I did the site and went back to put the Titles in.

I opened the template in a text editor to make the changes and it still wouldn't work. I finally gave up and just recreated the template.

Good luck!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved