HighDots Forums  

Template update augmenting <a href="[link]

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Template update augmenting <a href="[link] in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
zinnanti
 
Posts: n/a

Default Template update augmenting <a href="[link] - 11-07-2005 , 12:17 AM






I am designing a site with one master template and six subject specific
templates. The six sub templates were the product of the cloning and minor
modification of the master template. (Ctrl+D)

After building pages off of the sub templates, the link reference (<a href= .
.. . .) is automatically augmented to include the "Template" directory. So, <a
href=mypage.htm> becomes <a href=Template/mypage.htm> And, of course, the links
are blind/broken.

Any hints about what I'm doing wrong? Or actually - PLEASE HELP!!!

Thanks -

Tony


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Template update augmenting <a href="[link] - 11-07-2005 , 06:40 AM






Show me the master template page, please.

All links in a template page must be either document relative to the
template -

<a href="../whatever.html"

or root relative -

<a href="/whatever.html"

If you enter the links manually and don't use either of these two schemes,
you are making a mistake.

By the way, what you describe is not so difficult to do with a single
template rather than having 6 nested templates.

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


"zinnanti" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am designing a site with one master template and six subject specific
templates. The six sub templates were the product of the cloning and minor
modification of the master template. (Ctrl+D)

After building pages off of the sub templates, the link reference (<a
href= .
. . .) is automatically augmented to include the "Template" directory. So,
a
href=mypage.htm> becomes <a href=Template/mypage.htm> And, of course, the
links
are blind/broken.

Any hints about what I'm doing wrong? Or actually - PLEASE HELP!!!

Thanks -

Tony




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.