Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    12
    I have recently discovered the wonders of templates in Dreamweaver. Love them but for one thing.
    How on earth can I make the header tags editable? AS it is now, all my pages end up with the meta tags that are in the template. I would like to mix them up some.

  2. #2
    ABW Ambassador Greg Rice's Avatar
    Join Date
    January 18th, 2005
    Location
    Ohio
    Posts
    4,889
    You can just edit the meta tags manually. So copy the editable region tags from elsewhere in your page and put them around the meta tags. Place this at the beginning of your meta tags <!-- #BeginEditable "meta" --> and put this at the end <!-- #EndEditable -->. You surround all the tags or each one separately and just change the tag's identifier "meta".
    Greg Rice Affiliate Program Management
    www.gocmc.com info(AT)gocmc.com | 330-259-1223

    Join us! - MiNeeds.com | DiscountCandleShop/CheeseSupply | Feng Shui Plaza

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    Location
    Tamborine Mountain Australia
    Posts
    248
    Market Major,

    I had the same problem when I started working with dreamweaver templates. I'd handcoded all my metatags into my individual pages and then updated my template and all my meta tags were overwritten, so I know how frustrating it can be.

    I'm not sure what version of Dreamweaver you are using, but in MX when you create a new template you get this in the head

    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>

    When you are on your html page you have to type your metatags between these two lines
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->

    for example

    <!-- InstanceBeginEditable name="head" -->
    <meta name="keywords" content="dogs, cats, birds">
    <meta name="description" content="New Pet site">
    <!-- InstanceEndEditable -->

    That way you won't overwrite your tags when you update your template.

    If you are using an earlier version of Dreamweaver (if memory serves me right) you are only given the page title as an editable head area and in this case you would just put a carriage return in and type in straight after the title tag. for example

    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <meta name="keywords" content="dogs, cats, birds">
    <meta name="description" content="New Pet site">
    <!-- InstanceEndEditable -->

    That will work too.

    Anyway, hope this helps.
    [left][font=Arial]"If you come to a fork in the road, take it" - Yogi Berra [/font][/left]

  4. #4
    Newbie
    Join Date
    January 18th, 2005
    Posts
    12
    Xandman, that did the trick!!! Thank you thank you thank you!!!

    Is that a "Documented" step? I could find nothing on it in the help files.

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Meta Tags
    By Incentials in forum Search Engine Optimization
    Replies: 18
    Last Post: January 20th, 2008, 12:02 PM
  2. Webmerge Templates in Dreamweaver
    By Tiebreaker in forum WebMerge (Fourthworld.com)
    Replies: 11
    Last Post: December 20th, 2004, 09:12 AM
  3. Webmerge tags mal-formed in Dreamweaver
    By Doug247 in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: September 18th, 2003, 07:31 AM
  4. Meta Tags
    By cazzie in forum Midnight Cafe'
    Replies: 4
    Last Post: November 10th, 2001, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •