HighDots Forums  

Template issue regarding links

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Template issue regarding links in the Macromedia Dreamweaver forum.



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

Default Template issue regarding links - 08-11-2009 , 10:48 PM






I have created a template in Dreamweaver (using Adobe Dreamweaver CS4)
that has links which use relative references. I'm linking to other
pages in the site. The links are not in an editable area of the
template.

When I click "New from Template", the new page converts the links from
relative (.../index.html) to absolute (f;/// etc etc etc)

Can anyone tell me why this is happening? Or does anyone have a
theory?

Thanks
Tammy

Reply With Quote
  #2  
Old   
Duncan Kennedy
 
Posts: n/a

Default Re: Template issue regarding links - 08-12-2009 , 06:32 AM






In message
<8241aad5-5ae6-460d-8a8e-64cf5b8d558b (AT) c34g2000yqi (DOT) googlegroups.com>,
TheTamdino <tamdino2 (AT) yahoo (DOT) com> writes
Quote:
I have created a template in Dreamweaver (using Adobe Dreamweaver CS4)
that has links which use relative references. I'm linking to other
pages in the site. The links are not in an editable area of the
template.

When I click "New from Template", the new page converts the links from
relative (.../index.html) to absolute (f;/// etc etc etc)

Can anyone tell me why this is happening? Or does anyone have a
theory?

I'm on CS3 but this sort of thing has happened to me with new pages when
there isn't a relevant site set up in Site>New Site.

Is your Template in the same folder as your HTML files or in a Template
folder? I just played around with one of my templates and failed to
reproduce what you are getting even if I have seen it before. In this
case my template is in a Templates folder - I open the template and,
when I then save to the folder where the new page should live, CS3 asks
if I want to update the links - and does so correctly.

I'm sure others will have the answer but if you haven't created a New
Site for the project that may be the answer.

--
Duncan K
Downtown Dalgety Bay

Reply With Quote
  #3  
Old   
TheTamdino
 
Posts: n/a

Default Re: Template issue regarding links - 08-13-2009 , 03:54 AM



On Aug 12, 5:32*am, Duncan Kennedy <nos... (AT) nospam (DOT) otterson-bg.couk>
wrote:
Quote:
In message
8241aad5-5ae6-460d-8a8e-64cf5b8d5... (AT) c34g2000yqi (DOT) googlegroups.com>,
TheTamdino <tamdi... (AT) yahoo (DOT) com> writes>I have created a template in Dreamweaver (using Adobe Dreamweaver CS4)
that has links which use relative references. *I'm linking to other
pages in the site. *The links are not in an editable area of the
template.

When I click "New from Template", the new page converts the links from
relative (.../index.html) to absolute (f;/// etc etc etc)

Can anyone tell me why this is happening? *Or does anyone have a
theory?

I'm on CS3 but this sort of thing has happened to me with new pages when
there isn't a relevant site set up in Site>New Site.

* Is your Template in the same folder as your HTML files or in a Template
folder? *I just played around with one of my templates and failed to
reproduce what you are getting even if I have seen it before. *In this
case my template is in a Templates folder - I open the template and,
when I then save to the folder where the new page should live, CS3 asks
if I want to update the links - and does so correctly.

I'm sure others will have the answer but if you haven't created a New
Site for the project that may be the answer.

--
Duncan K
Downtown Dalgety Bay
Thanks for the reply Duncan.

I'm not sure how it happened, but some ../ sneaked into my link for
the nav buttons. So when I did New from Template the links were
taking the viewer outside of my site folder. This didn't happen on my
other pages and I didn't put that in there. I guess it will be one of
those great mysteries that will never be solved.

Thanks again.

Tammy

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.