[TYPO3] exclude print pages in indexed search

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Jun 20 09:00:12 CEST 2006


Bas van der Togt wrote:
> Krystian, thank you very much for your very fast reply!
> Its working with this code:
> 
> [globalVar = GP:type = 98]
>   config.index_enable = 0
> [global]
> 

hi Bas

there is no real difference between [global] and [end]
so

[globalVar = GP:type = 98]
config.index_enable = 0
[global]

is equal to

[globalVar = GP:type = 98]
config.index_enable = 0
[end]


FROM TYPO SCRIPT SYNTAX
http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/current/view/1/2/

---cut-----------------------------------------------------
(Some TypoScript)

[ condition 1 ][ condition 2]

(Some TypoScript only parsed if cond. 1 or cond. 2 are met)

[GLOBAL]

(Some TypoScript)

So in this example the line “[GLOBAL]” is a condition (built-in, always 
returns true) and the line “[ condition 1 ][ condition 2]” is a 
condition. If “[ condition 1 ][ condition 2]” is true then the 
TypoScript in the middle would be parsed until [GLOBAL] (or [END]) 
resets the conditions and parses the TypoScript for any case again.
---cut-----------------------------------------------------

and look at this
http://lists.netfielders.de/pipermail/typo3-german/2005-November/006605.html


--
Krystian




More information about the TYPO3-english mailing list