Skip navigation
Patterson at rcdhu
Currently Being Moderated

Links in files created with template

May 15, 2012 6:02 AM

Tags: #dreamweaver #templates

I have been creating new pages based on a template with no problem until recently. Now all new pages that I create based on my template have improper links in the top and bottom navigation bars.

 

Here is a page that I created earlier that is working fine: http://www.rcdhu.com/about.html

Here is a page that I created recently and the top and bottom navigation bars have links that don't work: http://www.rcdhu.com/events-May-21-27.html. The links in the original template look fine!

 

I don't know what is going wrong and any suggestions are greatly appreciated!

 
Replies
  • Currently Being Moderated
    May 15, 2012 8:13 AM   in reply to Patterson at rcdhu

    Hello,

     

    looking to your source code I found some of these wrong pathes like:

     

    "<LINK REL="SHORTCUT ICON" HREF=file:///H|/RCDHU Website/rcdhu/images/favicon.ico>"

    or

    "<ul id="topnav">

    <li><a href=file:///H|/RCDHU Website/rcdhu/index.html>Home</a></li>

    <li><a href=file:///H|/RCDHU Website/rcdhu/about.html>About Us</a></li>

    <li id="classes"><a href=file:///H|/RCDHU Website/rcdhu/Pages/Home/clinics-classes.html>Clinics and Classes</a></li>"

     

    The pathes to your links are pointing to a file on your local hard drive which nobody can see except you. So you only you have to control and adapt accordingly your pathes.

     

    Hans-Günter

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2012 9:16 AM   in reply to Patterson at rcdhu

    Hello,

     

    please have look here: http://forums.adobe.com/thread/910402?tstart=0, where Gramps and Murray give their comments and solutions to modify a template.

     

    Good luck!

    Hans-Günter

     

    P.S.

    I for my part prefer Gramps' opinion and so I still prefer the old fashioned way without dwt's.

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2012 10:43 AM   in reply to Patterson at rcdhu

    Hi Patterson,

     

    incase I remember correctly: detach the index.html file from the template.  Then you can delete the template and start all over:

     

    Modify menu --> Templates --> Detach from Template.

     

    Hans-Günter

     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2012 11:32 AM   in reply to Patterson at rcdhu

    There are a few things that can cause this. First, check your site definition to make sure your local and remote sites are still properly defined. Without a properly defined site, DW can not manage links properly. Second, make sure the template is in the Templates folder. It won't work otherwise. Finally, tell us your workflow for creating the child pages from the template.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points