Click to See Complete Forum and Search --> : ssi


fuzz
02-05-2003, 12:51 PM
Im using ssi to load everything on the pages, all i got on the pages is the layout. Now im wondering if i somehow could use ssi for the layout aswell so changes of the layout would affect all pages, so all pages only has ssi commands? Would i be required to split up the layout between ssis?

To go beyond, would i be needing all these pages with ssi commands, or could i fill that in like in a links target field for instance, so i only got layout and content pages and the links choose what goes where?

Charles
02-05-2003, 12:54 PM
If you are controlling your layout with Cascading Style Sheets (CSS) the way God and the W3C intended then you simply put your layout in one external file and link all the other files to that one.

fuzz
02-05-2003, 04:01 PM
So all pages should have css and ssi commands?

Theres no way to have just 1 layout page that calls for content without a pages for css/ssi so the content could just be txt files for instence?

Any good resources where i can learn to convert my tabled layout to css?

Charles
02-05-2003, 04:09 PM
Oh, you want a content management system then. Use something like Cocoon (http://xml.apache.org/cocoon/index.html) or AxKit (http://axkit.org/). Both are from Apache and free, though both require your data to be in XML. But then XHTML counts as XML.