[Typo3-dev] Column where a content is
Christian Jul Jensen
christian at jul.net
Fri May 14 08:59:51 CEST 2004
Sergio Sánchez <sergio at corecanarias.com> writes:
> Hi!
>
> I'm developing an extension with a frontend plugin. Are there
> any way to know from the php code of the extension in which column is
> the plugin inserted?
the tslib_cObj class holds a property data which is loaded with the
current tt_content record as an associative array.
If your extension extends the pi_base, there's an instance of this
object in $this->cObj.
So you can get the column from:
$this->cObj['data']['colPos']
--
./mvh Christian Jul Jensen
Frelance webprogrammer
TYPO3 Typehead Denmark
More information about the TYPO3-dev
mailing list