[Typo3-dev] How to fill a $markerArray with an extension or with TS??
Mathias Schreiber [wmdb]
mathias.schreiber at wmdb.de
Sun Oct 23 15:33:43 CEST 2005
Andreas Wengrzik wrote:
> $markerArray["###BANNER###"] = (this part should fill the marker with
> the TS above to display the random banner);
$markerArray["###BANNER###"] =
$this->cObj->cObjGetSingle([COBJ_TYPE],[COBJ_CONFIGURATION]);
will execute ANY Typoscript you supply.
It follows the common way of typo3 that functions often have two parameters:
CONTENT and CONF
In this case, CONTENT defines the type of COBJ you want to use while
CONF is the pure TS you enter to render the Object.
--
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
$this->fresseHalten = 1;
}
More information about the TYPO3-dev
mailing list