[TYPO3-dev] Advises needed about tt_content TCA

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Jan 13 22:59:23 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre Rouwens schrieb:
> Well all works fine but the change in fonction of the page...
> 
> I can't see how i can access to $this->id inside the ext_tables.php ???
> 
> Any hint please ??
> 

I found out that db_list.php doesn't pass the id to alt_doc.php.

That means that alt_doc.php has no idea in which directory it is used, if you
come from db_list.php. So you have nearly no chance to to do something special
for a directory in ext_tables.php. In this case. Well, you could in fact do a
hack be extracting the last id out out of the return url.

typo3/alt_doc.php?returnUrl=db_list.php%3Fid%3D6%26

As far as you build your own list plugin you can simply pass the id to alt_doc.php.

Regards

Elmar


- --
Climate change 2006 is killing people: floods in California, drought and fires
in Australia, Texas, Sahel, Oklahoma, South Africa. The Bush administration is
responsible for corruption of the Kyoto Protocol. The US majority is responsible
to the world for reelection of a convictable [...censored by Echelon...].
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDyCK6O976RNoy/18RAkstAJ0a10pMIgp7Esu6bw/tNJaQ94FtWACfV9Pi
MzjLzHDuoqGVKEjIHIcZOt0=
=01ox
-----END PGP SIGNATURE-----




More information about the TYPO3-dev mailing list