Forum Moderators: open

Message Too Old, No Replies

dreamweaver -my keywords always dissapear when using templates.

this is certain when ever i use templates mt keywords dissapear

         

ezyid

7:25 am on Jan 1, 2005 (gmt 0)

10+ Year Member



i dont know what it is but in my head content i always put keywords yet the dissapear!
does anyone have hthe same issue as its really annoying me now!

thanx steve.

storevalley

11:54 am on Jan 1, 2005 (gmt 0)

10+ Year Member



Do you mean the meta keywords tag? I stick this in the headers of all pages (for all the good it does these days) generated using Dreamweaver.

I normally define an editable region of the template to contain title, meta description and meta keywords (so that they can be modified for each page individually). This always works OK.

Can you give us an example of the problem you are having?

Jon_King

1:10 pm on Jan 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll bet that's it. Add an editable doctitle region. For some reason DW lets you make a title change in the document toolbar and then removes it once you edit other parts of the page (when you don't have an editable region tag, that is).

Use this on your template and you'll be able to change the title and metas for each page:

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

<title>Your Page Title</title>
<meta name="description" content="Your Description">
<meta name="keywords" content="Your Keywords">

<!-- #EndEditable -->

ezyid

11:00 pm on Jan 1, 2005 (gmt 0)

10+ Year Member



i have done that.. i think figured out what happens.. when i edit something in the tags on the template it will wipe what ever is on the other files.. its weard.. its like i have to update my keyworkds each and evry time i update my pages...

silly.....

damn DW.

Jon_King

12:37 am on Jan 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>when i edit something in the tags on the template it will wipe what ever is on the other files..

Shouldn't be. Even if you edit in an 'Editable Region' on a template it will not change pages made using that template. >> If I understand you correctly.

If your edits are changing on template generated pages, it must not be in an Editable Region.

[edited by: Jon_King at 12:40 am (utc) on Jan. 2, 2005]

storevalley

12:39 am on Jan 2, 2005 (gmt 0)

10+ Year Member



There is a cunning trick for getting around that one ... edit the keywords in your template using notepad rather than Dreamweaver ;)

The changes will only affect new pages generated using the templates in question, of course.

storevalley

12:43 am on Jan 2, 2005 (gmt 0)

10+ Year Member



If your edits are changing on template generated pages, it must not be in an Editable Region

I have seen DW make a similar mistake to the one Steve is reporting in the past.

Have also seen DW MX turn an entire project that used DW4 templates into an unusable mess ... luckily, I learned to back things up before doing this kind of stuff many years ago :)