[TYPO3] Typoscript inside HTML part of a template?
"Jesús Hormigo."
cy at ya.com
Tue Jan 3 23:32:48 CET 2006
Hello Nige,
But why don't you just wrap it as you was wrapping the content?
c.10 < styles.content.get
c.10.wrap = <div id="content"><!-- TYPO3SEARCH_begin -->|<!--
TYPO3SEARCH_end --></div>
Regards,
Jesús Hormigo
Nige wrote:
> Hi all,
>
> I have a template that has a mixture of TS & HTML elements. It is an
> old-style TS template, that uses CTABLE for much of the layout...and I
> don't use the ###xxx### markers for content, menus etc. (call me
> old-fashioned if you like!).
>
> For the content area of my template I am using...
>
> c.10 < styles.content.get
> c.10.wrap = <!--TYPO3SEARCH_begin-->|<!--TYPO3SEARCH_end-->
>
> I want to put this TS into an HTML element <div>...</div>, so I can use
> CSS to make nice rounded corners. I've tried every combination of TS
> that I know but just cannot it to work.
>
> To illustrate what I ideally want to do...
>
> c.10 = HTML
> c.10.value (
> <div id="content">
> <b class="roundedtop"></b>
> c.20 < styles.content.get
> c.20.wrap = <!--TYPO3SEARCH_begin-->|<!--TYPO3SEARCH_end-->
> <b class="roundedbottom"></b>
> </div>
> )
>
> ...but obviously this won't work with the c.20 inside the HTML
> container...and the rounded CSS stuff doesn't work if I split the div
> like this...
>
> c.10 = HTML
> c.10.value (
> <div id="content">
> <b class="roundedtop"></b>
> )
> c.20 < styles.content.get
> c.20.wrap = <!--TYPO3SEARCH_begin-->|<!--TYPO3SEARCH_end-->
> c.30 = HTML
> c.30.value (
> <b class="roundedbottom"></b>
> </div>
> )
>
> Any help would be appreciated.
>
> Cheers
>
> Nige
>
More information about the TYPO3-english
mailing list