[TYPO3-english] template conditional problem

Markus Klein klein.t3 at mfc-linz.at
Thu May 9 09:44:05 CEST 2013


Hi!

I guess because conditions are not allowed within a block.
They have to be on the top level.

[globalVar = TSFE:id = 168]
Page.10.50 < styles.sitemap.gs
[end]

Kind regards
Markus

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Francesc Juliana
> Sent: Thursday, May 09, 2013 9:21 AM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] template conditional problem
> 
> Hello everybody:
> I have a template in my website and I need to establish a certain condition in
> it.
> The condition that I have written in it need is not respected.
> The content of condition is always shown.
> Anyone knows why?
> 
> Thanks in advance.
> 
> Francesc
> 
> I use the following code:
> 
> page=PAGE
> page.stylesheet=EXT:css_styled_content/css/Intranet.css
> page.config.metaCharset=iso-8859-1
> ##page.config.index_enable = 1
> page.typeNum = 0
> page {
> 
>   headerData.10 = TEXT
>   headerData.10.value = <script type="text/javascript"
> src="fileadmin/js/menu_sup.js"></script>
> 
>   10 = COA
>   10.wrap=<div class="continent">|</div>
>   10 {
>          4=HMENU
>         4.1=TMENU
>         4.1.target=page
>         4.1.wrap=<table class="filAriadna"><tr><td>|</td></tr></table><br
>         4.1.NO.linkWrap=<b><a> ; </a> | </b>&nbsp;
>         4.1.forceTypeValue=1
>         4.special=rootline
>         4.special.range=1|-1
>         4.special.targets.3=_top
>         4.entryLevel=1
>     ...
>          [globalVar = TSFE:id = 168]
>                50 < styles.sitemap.gs
>          [end]
>     ...
>      }
> }
> 




More information about the TYPO3-english mailing list