Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Ssi Preview
soleimanian
post Apr 26 2005, 09:43 PM
Post #1


End Of Computer
Group Icon

Group: Members
Posts: 346
Joined: 1-September 04
From: .:: MARS ::.
Member No.: 28



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,
Go to the top of the page
 
+Quote Post
Hercco
post Apr 28 2005, 08:37 PM
Post #2


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Preview Your Website In Ie From Non-windows Os(3)


 



- Lo-Fi Version Time is now: 11th October 2008 - 08:50 PM