[TYPO3] Adding dynamic footer

Christian Vetter Christian.Vetter at dragoner-design.de
Thu Apr 6 10:10:02 CEST 2006


Hi Seb,
1. You could use an extension for content inheritance, but as I gather  
your objective this solution would be quite unelegant - you'd have that  
content area all the time although you'd use only on your homepage, I  
guess.
2. To get a multilingual footer with an ancillary navigation you should  
use a TypoScript object, like so:
             <field_nav_x type="array">
                 <tx_templavoila type="array">
                     <title>Nav extra</title>
                     <sample_data type="array">
                         <numIndex index="0"></numIndex>
                     </sample_data>
                     <eType>TypoScriptObject</eType>
                     <TypoScriptObjPath>lib.nav.x</TypoScriptObjPath>
                 </tx_templavoila>
             </field_nav_x>
Now you need to define that object 'lib.nav.x' in a TypoScript template  
that is referenced (basis template) in your main template. To get the  
links you use simple TEXT objects with the typolink function - refer to  
TSref for those. For site wide multilingual text I use constants.

Hope that helps,
Christian


Am 05.04.2006, 20:38 Uhr, schrieb Sébastien Ioannitis-McColl""  
<Ioannitis at intracen.org>:

> Hello
> As a newbie to TYPO3 and being a bit lost in the complexity of this huge  
> CMS, I have been trying to do something simple for the last few days but  
> without success.
> 1. I am using TEMPLAVOILA and I want to have a dynamic footer. I first  
> tried to create a new field as "Content Elements" mapping type in the  
> DS/TO for the footer area which I mapped. Going to the "Page TV" area  
> for the root site page, I created my footer/copyright element. As a  
> result, this footer element only appears on the first page, and is not  
> repeated on all my website page. I am definitely doing something wrong.
> 2. Second, I thought that this may not be the right solution, so I  
> created a "Typoscript" mapping type in the DS/TO. I then created a  
> footer element. going to the SETUP of the site root, I thought I could  
> use the reference to my newly created element in the SETUP part  using a  
> cObject like CONTENT. And I got stuck at this point, not knowing what to  
> do next and if this is possible.
> Could you please help with either solution. If both solutions are  
> workable, I would be interested in knowing answers to both.
> I fact I want the same kind of footer as on Dassault Systemes site, with  
> is translated into all defined languages + links.
> Thanks in advance.
> Seb
>
> _______________________________________________
> 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