Advertisement

05.02.2008 at 11:14AM PDT, ID: 23372507 | Points: 500
[x]
Attachment Details

How do I create one navigation template in a SSI that will link to subdirectory files housed in different folders?

Asked by monteverest in Server Side Includes (SSI), PHP Scripting Language

Tags: ,

I have a server side include navigation menu (html page)  in a subdirectory of my web host. I can call the server side include from anywhere on the web host but the navigation links do not update to reflect the file path of the calling page.

For instance, if the SSI sits on ./includes and all the navigation link reflect this site structure, when I call the SSI from a lower level file such as ../../includes, the navigation links on the SSI will not update; it does not reflect the file path of the new calling page.

Should I run a script that captures the new file path or is there a simpler solution?

Sorry if this is convoluted and confused but I'm tearing my hair out at the moment. Thank you.

Start Free Trial
 
Loading Advertisement...
 
[+][-]05.03.2008 at 02:00AM PDT, ID: 21491804

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.03.2008 at 09:52AM PDT, ID: 21492944

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628