LOGO

SourceForge.net Logo

including

linking including

This white box is actually an included page. The page is just a div tag floated left.

To include a page, rather than link to it, use double-pipes instead of single pipes. (a single pipe in autolink mode).

That enables you to have one bit of content at several places on your site, and only to edit it in one place

The page on the right is a page just the same as this one, using a 'div style' declation telling it to float right , change the background colour etc. Then it is just included in this page.

||included advert||

Pictures should work in the includes, but use of tokens, such as <!--CHILDREN--> is ignored. 

This is just one way to use includes.

  • put a note at various relevent places on the site.
  • add footers to some pages only
  • duplicate a passage so it appears in two places, but is edited in one.
  • break down content into 'articles', and then put the latest articles on the front page etc.

Of course, this is a simple, lightweight tool. If you want to do a lot of this sort of thing you had better invest in a real content management system.

^ back to top

mail matthew