[Typo3] Repetitive Section throughout the site

michael karatepla at yahoo.fr
Wed May 11 09:18:52 CEST 2005


Hi Amir

I show you how i solve this problem

1) I create a page (hidden) in my tree and I call it  footer
2)On this page i create a regular text element wich is the content of 
the footer i want to show on my page : "powered my michael bla bla...."
3)The ID of this text element is 76 and in my template i put this code

#footer
temp.footer = RECORDS
temp.footer.tables = tt_content
temp.footer.source = 76

...............................................
marks.FOOTER < temp.footer
...............................................

Hope that help.

Michael.



Amir Mualem wrote:

> Hey,
>
> I have been wondering, and after looking around and reading over the 
> FTB I have not found a way to do the following.  I want to make a 
> section of the site, like a footer, which is repetitive throughout the 
> whole site and can be changed myself.  However I dont want this to 
> have to make me select a specific template on each page... that wont 
> work (and thats the only closest solution I have seen in FTB).
>
> For example, the footer, I want it to be seen throughout the whole 
> site, and I would like to update it from one part;... I dont want to 
> have to go to every page and edit the footer content (which rules out 
> the "2-column" tutorial in FTB).
>
> After searching the FTB I decided to post here because I dont know of 
> a better way to effectively describe what I am thinking here... any 
> thoughts on this?  My basic question is how can I make a section of 
> the site like a footer easily updated throughout the site and appear 
> throughout the site?
>
> A link to a tutorial or a relevent page in a document would definately 
> help tons.
>
> Thanks
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>





More information about the TYPO3-english mailing list