[TYPO3] TS code differency [t3-newbie]

maaboo maaboo at gmail.com
Wed Sep 24 16:52:45 CEST 2008


Thank you, it works! :-)

2008/9/24 Xavier Perseguers <typo3 at perseguers.ch>

> Hi,
>
> maaboo wrote:
> > Why substituting {page:14}->http://mysite.name works in this case:
> >
> > lib.head = COA
> > lib.head.10 = TEXT
> > lib.head.10{
> >     value (
> >     <a href="{page:14}" name="pagetop" id="pagetop">
> >     <h1><span>Sitename.</span></h1></a>
> >     )
> >     insertData = 1
> > }
> >
> > but doesn't work here with {page:35}:
> >
> > lib.newsholder = COA
> > lib.newsholder {
> >     10 = TEXT
> >     10 {
> >     value (
> >         <div class="l1h">
> >         <a href="{page:35}">Page name</a>
> >         </div>
> >         )
> >         insertData = 1
> >     }
>
> insertData is badly placed in "value". Anyway, you should use the
> typolink property to create links and wrap to put the div tag:
>
> 10 = TEXT
> 10.value = Page name
> 10.typolink.parameter = 35
> 10.wrap = <div class="l1h">|</div>
>
> --
> Xavier Perseguers
> http://xavier.perseguers.ch/en/tutorials/typo3.html
>


-- 
with respect, MaaBoo
ICQ UIN: 22694713


More information about the TYPO3-english mailing list