HighDots Forums  

SSI inside Library objects possible?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss SSI inside Library objects possible? in the Macromedia Dreamweaver forum.



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

Default SSI inside Library objects possible? - 06-22-2004 , 05:06 PM






I need a SSI but cant change the extension of my actual pages (htm)
I thougth using a libray object to add a repetitive code to all pages
but I don't like them because they "paste" the entire code in all pages.
I need a SSI so I thought to put the SSI (shtml file calling a ssi with the
code)
inside the library object, and then add that to my pages.

Works good on my local copy but not when I upload to server...???

I tried uploading a normal shmtl with that code and works...

so is it possible to put the SSI in a libray object?



Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: SSI inside Library objects possible? - 06-22-2004 , 05:16 PM








Quote:
so is it possible to put the SSI in a libray object?
Your problem is that the .lbi Library item code is inserted into the .htm
file at Design Time. All the server sees is an .htm file with a SSI
directive in it. It doesn't parse .htm files for SSI, so it doesn't "do"
anything.

Can you jigger the server's config so it parses .htm files?
which kind of server?



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.