Hi,
Is there a good reason for not making the Content Controller available to the
CMS content?
The parseThroughSmarty() function seems prepared for this. This function is
used in Content->getParsedContent() to parse the CMS content. The third
paramter could be used to make the Content Controller itself available to the
content:
oxRegistry::get("oxUtilsView")->parseThroughSmarty(
$this->getContent()->oxcontents__oxcontent->value,
$this->getContent()->getId(), $this );
Why is this ;) not used?
It would make this possible in your cmscontent:
[{oView->myContentExtendedFunction()}]
Which gives you an Error, since the memberfunction is not available in oxUBase.
And please notice that oxUBase is not Extendable!
Greetz,
Hendrik
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general