[Typo3-dev] FE plugin default/custom header types?

Thomas Murphy murphy at thepanemgroup.com
Wed May 12 13:00:22 CEST 2004


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

I figured something out, but it now works for all in tt_content not only
my extension. :(

But here it is so far (snippet from tables.php):

// Layouts
$TCA["tt_content"]["columns"]["header_layout"]["config"]["default"] = "0";
$TCA["tt_content"]["columns"]["header_layout"]["config"]["items"] =
array(0 => array(0 =>
"LLL:EXT:tpg_contentbox/locallang_db.php:tt_content.layout_fullbox", 1
=> "0"), 1 => array(0 =>
"LLL:EXT:tpg_contentbox/locallang_db.php:tt_content.layout_halfbox_left",
1 => "1"), 2 => array(0 =>
"LLL:EXT:tpg_contentbox/locallang_db.php:tt_content.layout_halfbox_right",
1 => "2"));


Notice you have to update locallang_db.php as well.

bye,
Murphy

Thomas Murphy wrote:
| Hello everyone,
|
| is there a possibility to hide certain header types in a FE-plugin and
| add custom ones, that are only available to that extension?
|
| bye,
| Murphy

_______________________________________________
Typo3-dev mailing list
Typo3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAogPFwO0pDATctOARAqLYAKDga7OmdcEoaRaw/aJEGTqlzSlUCQCg1XQj
4VCpGubGU1GqUB2rKig7M0U=
=/qSJ
-----END PGP SIGNATURE-----





More information about the TYPO3-dev mailing list