Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > [GoLive CS2] Server-side includes? How?

[GoLive CS2] Server-side includes? How?
Thread Tools
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 01:05 PM
 
I've read that starting with CS, there's an extension/module to handle this. I can't find it in the list, and while CS2 recognizes my SSI tags, it doesn't seem to want to process them...

Rob
     
rslifka  (op)
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 01:12 PM
 
Google is great so long as you don't give up after your 10th try. Just have to enter in the right search text

http://www.golivecentral.com/pages/txttut/ssitut.shtml

HTH!

Rob
     
rslifka  (op)
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 03:23 PM
 
Appears to be a bug with the Translate SSI extension - it doesn't work on subdirectories.

E.g.

<!--#include virtual="/foo.html"-->

works, but

<!--#include virtual="/includes/foo.html"-->

doesn't. And it's strange because it doesn't give you the "SSI - Could not find file" message, it just doesn't display it. Nice.

Ugh.

Rob
     
rslifka  (op)
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 03:38 PM
 
Weird... I can get it to work in simple cases. Not sure what's happening under the hood. Anyway, just an FYI to others who might find this later.

Echo.... echooooo

Rob
     
rslifka  (op)
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 03:41 PM
 
Ahhhhh HA! It doesn't like hyphens or underscores in the filenames... at least on OS X. When I changed /includes/header-post_title.html to /includes/header2.html, it worked.

Rob
     
rslifka  (op)
Forum Regular
Join Date: Dec 2004
Status: Offline
Reply With Quote
Nov 12, 2005, 03:47 PM
 
OK OK that last one was my fault.

The one caveat appears to be that filenames must consist of alphanumeric characters (apart from '.' that is). There may also be an issue of length, but since everything is working now, I'm not going to pause to investigate.

Good luck everyone,

Rob
(Last edited by rslifka; Nov 12, 2005 at 03:54 PM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2