Templates that won't update!

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default Re: Templates that won't update!

    Tulipa:

    Which DW are you using?
    > I have just added some JavaScript and html to the 'head' but when I save,
    it doesn't update the dependent files.

    Are you adding the js to an editable region in the 'head'?
    What do you mean that you are adding HTML to the 'head'?
    > and won't let me edit the bits I deemed non-editable on the template
    Of course - that's how templates work. You can only edit the EDITABLE bits
    on each child page.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "TulipaNegra" <webforumsuser@macromedia.com> wrote in message
    news:bg5rfh$9aq$1@forums.macromedia.com...
    > I have created my basic site based on one template. I have just added some
    JavaScript and html to the 'head' but when I save, it doesn't update the
    dependent files. The files tell me they are based on the aforementioned
    template, and won't let me edit the bits I deemed non-editable on the
    template, so I am a bit stuck. I am fearing I may have to start again from
    scratch. Any ideas?
    >
    >

    Murray *TMM* Guest

  2. Similar Questions and Discussions

    1. Can't update templates in Contribute 4
      Hi - we are using Dreamweaver 8 and Contribute 4. I am new to Contribute and testing out the feature of updating a .dwt, uploading it to the server...
    2. Libraries, Templates, Nested Templates, Repeat Regions,
      Hi I have eight categories to display in my site navigation. Each category has at least one (some have two) levels of subcategories. For example...
    3. How to update pages after editing templates
      Right now we are evaluating Contribute as a CMS for a group of related websites. They are all based on DW templates. So far, so good ... but here is...
    4. templates won't update!
      they worked before, now they're not. i did a search and found this in these forums: Here are the things that stop templates from updating - 1....
    5. Templates won't update
      Hi everyone I am a student learning Dreamweaver MX, and am having trouble with my templates. I have been happily updating child pages from the...
  3. #2

    Default Re: Templates that won't update!

    Hi
    > I have created my basic site based on one template. I have just added some
    JavaScript and html to the 'head' but when I save, it doesn't update the
    dependent files. The files tell me they are based on the aforementioned
    template, and won't let me edit the bits I deemed non-editable on the
    template, so I am a bit stuck. I am fearing I may have to start again from
    scratch. Any ideas?

    A quick look at the template markup will tell you the answer..

    Open the template
    Go to code view
    Look at the JS that was added
    Is the JS in the editable region named head? If yes, then it is working as
    advertised.. editable region content does NOT propagate to child pages.
    However, all is not lost, you could create NEW pages and these new pages
    would have the editable region markup added (BUT not maintained). You then
    could copy and paste the desired content from each existing page to the new
    file and overwrite the existing page on save

    As for the HTML part though.. html shouldn't go in the head editable region
    or head block unless it is specifically head block markup such as meta data
    tags, javascript links, css file links and title.. or if using server-side
    language, then server side code can go there as well such as db connections.
    There is one other allowable item and that is an include statement (SSI).
    So, again, check the marku and make sure that the changes you made were to a
    template non-editable region.

    Hope that helps.

    --
    Brad Halstead (brad at dreamweavermx-templates.com)
    TMM Volunteer [Contribute] - [url]http://www.macromedia.com/go/team/[/url]
    DreamweaverMX Templates - [url]http://www.dreamweavermx-templates.com[/url]



    Brad Halstead - TMM Guest

  4. #3

    Default Re: Templates that won't update!

    Thanks for the replies. I'm not very good at being clear and succint at the same time - I'll try and explain better..

    I put my JS in the non-editable region in the head of the template. The html that I also put there was a description, keywords etc.

    I know I can't put this in the same non-editable region in the child pages - that is part of the problem!

    It seems that my pages are 'linked' to a template, but the template that they say they are 'linked' to (prob not correct terminology) doesn't update them. So I am left with no way of adding this information to my child pages, and the relevent regions are non-editable

    The names of the template concerned is the same in all instances, I really don't understand it!




    TulipaNegra webforumsuser@macromedia.com Guest

  5. #4

    Default Re: Templates that won't update!

    Sorry, I forgot to mention I was using either DW 2 on Mac or DW MX on PC.


    TulipaNegra webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Templates that won't update!

    Tulipa:

    Please upload the template file somewhere, post a URI to it, and tell me
    exactly what you are trying to change. The only way I can really undestand
    what you are mentioning is to look at your code.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "TulipaNegra" <webforumsuser@macromedia.com> wrote in message
    news:bg5ut6$h9h$1@forums.macromedia.com...
    > Thanks for the replies. I'm not very good at being clear and succint at
    the same time - I'll try and explain better..
    >
    > I put my JS in the non-editable region in the head of the template. The
    html that I also put there was a description, keywords etc.
    >
    > I know I can't put this in the same non-editable region in the child
    pages - that is part of the problem!
    >
    > It seems that my pages are 'linked' to a template, but the template that
    they say they are 'linked' to (prob not correct terminology) doesn't update
    them. So I am left with no way of adding this information to my child pages,
    and the relevent regions are non-editable
    >
    > The names of the template concerned is the same in all instances, I really
    don't understand it!
    >
    >
    >
    >

    Murray *TMM* Guest

  7. #6

    Default Re: Templates that won't update!

    Tulipa:

    Are the templates created using DMX or DW2? Be aware that DMX templates are
    NOT compatible with DW2.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "TulipaNegra" <webforumsuser@macromedia.com> wrote in message
    news:bg5v97$i1t$1@forums.macromedia.com...
    > Sorry, I forgot to mention I was using either DW 2 on Mac or DW MX on PC.
    >
    >

    Murray *TMM* Guest

  8. #7

    Default Re: Templates that won't update!

    Hi
    > Sorry, I forgot to mention I was using either DW 2 on Mac or DW MX on PC.
    Dreamweaver 2.x-4.x won't recognize DWMX template markup.. BUT, DWMX will
    recognize DW2.x-4.x template markup.

    So, if you created the template in MX then it won't function as expected in
    DW2. The template amrkup is ONLY forwards compatible not backwards.

    If you need the template functionality in DW2 then create the template in
    dw2 otherwise dump dw2 and stay with MX.

    Does that help?

    --
    Brad Halstead (brad at dreamweavermx-templates.com)
    TMM Volunteer [Contribute] - [url]http://www.macromedia.com/go/team/[/url]
    DreamweaverMX Templates - [url]http://www.dreamweavermx-templates.com[/url]



    Brad Halstead - TMM Guest

  9. #8

    Default Re: Templates that won't update!

    I am still working offline at present so there's nothing up there to view as yet.

    As basic as I can make itm the problem is this:

    I have created some pages using a template. When I change and save the template, the pages don't update.

    I could be doing something very obviously wrong, but I have never had this happen before. It doens't make sense!



    TulipaNegra webforumsuser@macromedia.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139