Jump to content
xisto Community
Sign in to follow this  
soleimanian

Ssi Preview

Recommended Posts

Can 1st page preview window show a page that includes simple SSIs? To be more specific I'd like to use SSI to have a standard header and footer. The header includes <DOCTYPE>, <HTML>, <HEAD>, and <BODY> tages with a message, logo etc. and the footer contains the end of the </BODY> tage and a copywrite message. The SSIs do not contain any executable code, just file inclusion with parameter replacement (so you can define the page title for example).Currently I can get 1st page to display each of the files to be included even though they are not complete HTML files, but if I try to show the test.shtml file that includes them it displayes the SSI statements instead of what it contains.So should this work and I made a goof somewhere? Do 1st page need to see some HTML code before it tries to read it like an HTML page (the test.html only contains HTML comments in it (which contain the SSI statements). Or does 1st Page claim SSI support because it understands the tags for editing, but does not do anything with them for displaying?I'd also like to find some decent documentation on 1st Page usage. What I've found so far is pointers to technology reference documents (HTML, etc.), the tutorials are more like marketing bullet sheets, and a pointer to this forum (which is nice, but I'd hate to bother people for a question that should be answered in some basic documentation).Thanks,

Share this post


Link to post
Share on other sites

I think what you want to know is that can a SSI included page include other page with SSI. AFAIK it can't. I'm not too familiar with SSI, I used them few years ago and I think I attempted including another file from included file and it didn't work. However this could be done with server side scripting, like php or asp. Correct me if I'm wrong but they'd be a faster opinion too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.