I was able to successfully put a server side include for my main navigation menu into my pages without a problem.
I am trying to now have a second server side include for my secondary side navigation which is on some of the pages, and am having troubles getting it to work.
The thing is, if I have one or the other, each work fine all by themselves, the minute I put both together, the lower (cascading one, in this case, the side nav) does not work. It will actually appear in the live view when previewing from DreamWeaver (which it shouldn't) and when placed on my server and previewed live on the Web, it tells me "[an error occurred while processing this directive]".
I would have to believe it is possible to have two includes on one page.
My set up is essentially this. I have an html file for the main nav called menu.html and in the div on each page where the include menu will appear is this:
The menu.html appears correctly linked.
I have also created an html file for the side nav called sideMenu.html and in the div on each page where the include side menu will appear have coded this:
So, as soon as that second include is coded, it breaks.
Update. After some work
Update. After some work through the css and code, it finally worked. Now a new problem, one which I've encountered in the past and not found a remedy for.
I use lightbox a lot, and I've found that every time I use lightbox with includes, the buttons on the lightbox don't show. So I end up removing the includes and the lightboxes work again. Not sure if there is some sort of quick code hack I can implement. Otherwise I am left with removing the includes, or finding a similar js to lightbox and redoing all the lightbox work in the new js.
I doubt anyone is going to be
I doubt anyone is going to be able to fathom out the issue based on the detail you provide. You are not, however, looking for a 'quick hack' but the reason this happens
This may not be helpful but I would be tending to advise you drop the use of SSI for PHP if you have it running on your server, as you can use it's include functions to achieve what SSI are doing but also you then have access to a greater degree of server side scripting control.
If you want answers to the SSI issue then you will probably need to post some code for people to view.
I'm moving this to 'Off Topic' as this really isn't a CSS question.