[TYPO3] Customizing templates
JoH asenau
info at cybercraft.de
Mon Apr 16 12:31:51 CEST 2007
> But, while I like the most of typo3, I feel it misses some
> simply features, like the possibility to generate an internal FE
> Variable,
> that could be used both for display and conditions.
You should read a bit more about registers then.
You can create/set a register using PHP and/or TypoScript and you can use it
for both display _and_ conditions:
10 = TEXT
10.dataWrap = <h3>{register:myRegister}</h3>
[globalVar = TSFE:register|myRegister>0]
### place your special TypoScript here ###
[global]
Here you should read the getText part:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/2/2/
LOAD_REGISTER:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/8/18/
RESTORE_REGISTER:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/8/19/
This is for conditions:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/4/1/
Should be enough for a start ;-)
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-english
mailing list