Problems when Creating Pages from Templates inDreamweaver 8

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Problems when Creating Pages from Templates inDreamweaver 8

    When creating new pages from templates in Dreamweaver 8(Ver 8.0.2). The full
    path for images is not created
    i.e. in template the code is <img src="main_page_logo.png" width="814"
    height="172" longdesc="Main Page Logo" />
    In the new file the code should be :-
    <img src="../../Templates/main_page_logo.png" width="814" height="172"
    longdesc="Main Page Logo" />
    but only :-
    <img src="main_page_logo.png" width="814" height="172" longdesc="Main Page
    Logo" /> is in the code.
    but this does work in Version 8.0.
    Does anyone know of a setting or fix for this problem



    pgs_it Guest

  2. Similar Questions and Discussions

    1. Templates for New Pages Not Updating
      I am a site admin with 7 Contributors accessing my site via Contribute 3. I have created templates for them to use to create their new pages. ...
    2. new pages using dreamweaver templates?
      I have a dreamweaver template (*.dwt file) that I would like to use to create new pages on my website. How can I do this? As administrator, I have...
    3. Templates not updating pages
      Hi My template page in Template Folder in my site is not updating my pages based on template. I am using a side nav bar in CSS. When I go to...
    4. Creating ASP Pages from html templates
      My developer assures mere there is a way to create ASP pages in Contribute. I can download and modify such pages but not create them so I wind up...
    5. Help, Naming pages from Templates!!
      Hi Could anyone help me, I have made templates and have been using them, I have read the manual and it says that when you make a new file from a...
  3. #2

    Default Re: Problems when Creating Pages from Templates in Dreamweaver 8

    > Does anyone know of a setting or fix for this problem

    It was regarded as a bug in previous versions, and was fixed in the 8.0.2
    release. In normal circumstances, ALL links in a template file must be
    relative to the template document, not relative to where you intend to save
    the child pages. Thus, there would be no way to have a link in your
    template document like the first one you show, e.g.,

    <img src="whatever.png"....

    *unless* the file was actually in the Templates folder (a bad idea).

    In 8.0.2, you can set your PREFERENCES for the Templates category to NOT
    MANAGE relative links. Be aware that this may have unintended consequences
    for you - specifically regarding other relative links in your site.


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "pgs_it" <webforumsuser@macromedia.com> wrote in message
    news:eivj88$361$1@forums.macromedia.com...
    > When creating new pages from templates in Dreamweaver 8(Ver 8.0.2). The
    > full
    > path for images is not created
    > i.e. in template the code is <img src="main_page_logo.png" width="814"
    > height="172" longdesc="Main Page Logo" />
    > In the new file the code should be :-
    > <img src="../../Templates/main_page_logo.png" width="814" height="172"
    > longdesc="Main Page Logo" />
    > but only :-
    > <img src="main_page_logo.png" width="814" height="172" longdesc="Main Page
    > Logo" /> is in the code.
    > but this does work in Version 8.0.
    > Does anyone know of a setting or fix for this problem
    >
    >
    >

    Murray *ACE* Guest

  4. #3

    Default Re: Problems when Creating Pages from Templates inDreamweaver 8

    Another way around that is by structuring your links like
    href="/whatever.html" it's always been my experience that you don't have the same kind of headaches when working with dw templates that way.
    Sam the Coder Guest

  5. #4

    Default Re: Problems when Creating Pages from Templates in Dreamweaver 8

    Yes, that would be another way to do it.

    Root relative links work fine with templates, but you need to have temp
    files enabled for local previewing.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Sam the Coder" <webforumsuser@macromedia.com> wrote in message
    news:ej00ht$j1o$1@forums.macromedia.com...
    > Another way around that is by structuring your links like
    > href="/whatever.html" it's always been my experience that you don't have
    > the same kind of headaches when working with dw templates that way.

    Murray *ACE* Guest

  6. #5

    Default Re: Problems when Creating Pages from Templates inDreamweaver 8

    Problem now sorted, Thank you for your help, it was much appreciated.
    pgs_it Guest

  7. #6

    Default Re: Problems when Creating Pages from Templates in Dreamweaver 8

    You're welcome. Note that this thread would have been better suited for the
    DW general discussion forum....

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "pgs_it" <webforumsuser@macromedia.com> wrote in message
    news:ej1n1q$k67$1@forums.macromedia.com...
    > Problem now sorted, Thank you for your help, it was much appreciated.

    Murray *ACE* 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