![]() ![]() |
SiteLite Documentation
|
![]() |
Templates
![]() |
Templates[ No-frame sites ] [ Frame sites ] [ Common templates ]The heart of the matter is the template files. The templates determine the structure on the pages and they supply SiteLite with tags for inserting blocks (content), tables of contents and all the other things that should be put in place. You are free to introduce any other templates or edit those listed below. If you define templates of types A,B,C,F,I,L,P,T,W,X you override the templates below. SiteLite will accept only one page of types I in a no-frame site and only one page of types I,F,L,T in a frame-based site. SiteLite, as it is distributed, uses all together 14 template files. The best thing is inspect the templates directly. You will find a short introduction to the structure below. No-frame sitesThe templates:
is built to realise the same page structure:
They differ only in detail. nf_c_template.html contains some tags to handle the sitemap or complete table of contents, and nf_ix_template.html handles a siteindex in more or less the same way. The division of blocks, by "normal blocks"(,) and "wide blocks" (,) may seem a little awkward. The reason is that it should be possible to have blocks that expands the whole width of the page, for instance wide images. If you have no ideas of doing this you can simply forget the concept of wide blocks.
This template is used internally by SiteLite to wrap blocks that ask for it with the WRAPME - tag. The purpose is to establish the same table structure in the wide blocks as you find in the templates above.
Frame sitesThe template:
and defines the frame structure:
The templates:
is built to realise variants of the frame marked Right above. The templates:
realises the frames marked Left and Top above. These templates are very simple and the best thing is to inspect them. Common templates
This template is used internally by SiteLite to collect the whole site into one long page. The idea of this is to make a "pretty" print of the page. See Odds and Ends page.
This template is used internally by SiteLite as a rudimentary block-template when SiteLite produce new blocks without content. It is presented to the user as a framework to fill content into. Actually any file of type .html or .txt may be used as a block. There are a few tags you may use in blocks that influence the structure of the page it is inserted into. These tags are: STUFF - ENDOFSTUFF, PUTME:xxx, WRAPME. They are explained in the Tagging-page.
![]() |
![]() |
![]() |