Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relative links in Templates

Status
Not open for further replies.

fasta

IS-IT--Management
Jul 29, 2004
2
US
I have created 3 templates that will be used for each employee's pages.
The folder hierarchy is:
Department
->Employee Name
->Project number.

So, I have a department template, and employee template and a project template to make the index pages for each folder.

The problem comes in the navigation links. I want there to be a "Department Home" button on the Employee Name index page and on the Project number index page. The problem is that I just want the link to go up one or two levels relative to the Document (as I have several departments). When I put in the "../index.html" to go up a level, it reads that as going up a level from the Templates folder. I want it to be relative from the resultant document, not from the template.

I am pulling my hair out. Any help would be MUCH appreciated.
 
Dreamweaver should adjust that when the template is used. Did you try the actual template out in an department folder?

**Quiquid latine dictum sit altum viditur.**
 
When creating the relative link in the template use one of the "browse" type options instead of trying to type in the link info. This will ensure that DW will know how to handle the relative links when you create pages from the template. No matter where you save them in your file structure.

I hope this helps - if you have not already found an answer.

Crystal
--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top