HighDots Forums  

Moving Pages with SSI - Link Breaks

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Moving Pages with SSI - Link Breaks in the Macromedia Dreamweaver forum.



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

Default Moving Pages with SSI - Link Breaks - 11-04-2004 , 05:01 PM






I use an SSI for my navigation bar, and put it in my page template. It works
fine. However, when I move a page to a different location, I lose the SSI and
get an error message (an error occured while processing this directive). I
would expect Dreamweaver to automatically update the links, like it does for
everything else, but that doesn't happen with SSIs. I can move the page to a
folder at the same depth, but not up or down a level. I've tried gobs of
things, but nothing works. I suspect there's a very simple solution. I just
don't know what it is. I'll bet someone else does. though. Steve


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

Default Re: Moving Pages with SSI - Link Breaks - 11-04-2004 , 05:06 PM






Show me the part of the template that has the link to the include, please.

--
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
==================

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

Quote:
I use an SSI for my navigation bar, and put it in my page template. It
works
fine. However, when I move a page to a different location, I lose the SSI
and
get an error message (an error occured while processing this directive).
I
would expect Dreamweaver to automatically update the links, like it does
for
everything else, but that doesn't happen with SSIs. I can move the page
to a
folder at the same depth, but not up or down a level. I've tried gobs of
things, but nothing works. I suspect there's a very simple solution. I
just
don't know what it is. I'll bet someone else does. though. Steve




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

Default Re: Moving Pages with SSI - Link Breaks - 11-09-2004 , 04:57 PM



Originally posted by: Newsgroup User Show me the part of the template that has
the link to the include, please.<BR> Here it is: <tr>
<td><!--#include virtual='../Library/TopTitles/UBToptitles.ssi' --></td>
<td width='125'>&amp;nbsp;</td> </tr>


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

Default Re: Moving Pages with SSI - Link Breaks - 11-09-2004 , 07:46 PM



It's not a good idea to have such files inside either the Templates folder
OR the Library folder. Move those includes outta there and try again.

In addition, a virtual include is assumed to start at the root of the site,
so your code below is a bit wifty - it should be -

Quote:
!--#include virtual='Library/TopTitles/UBToptitles.ssi'
(notwithstanding my comment about not having them in the Library folder)


--
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
==================

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

Quote:
Originally posted by: Newsgroup User Show me the part of the template that
has
the link to the include, please.<BR> Here it is: <tr
td><!--#include virtual='../Library/TopTitles/UBToptitles.ssi' --></td
td width='125'>&amp;nbsp;</td> </tr




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.