[Typo3] condition for media field, simpler then [userFunc] ?
"Rafael Schär [beYou media]"
typo3 at goldkueste.ch
Wed Feb 2 18:47:08 CET 2005
Hi List,
May anybody could help me out? I don't have access on localconf.php.
Thats why I try to find another solution for checking the current page
and its media field.
I want to bind the random pic plugin, when nothing is set on the current
page.
THNX A LOT in advance
Rafael
the goal is a substitution for this kind of script:
[userFunc = user_checkPagemedia({$pageUid})]
lib.media = IMAGE
lib.media.file {
import.data = levelmedia: 4, slide
import = uploads/media/
import.listNum = 0
}
[else]
lib.media < plugin.tx_randompic
[end]
subparts.media < lib.media
More information about the TYPO3-english
mailing list