[TYPO3-ttnews] Extend t news with a new field in a specific tab

Sebastiaan de Jonge dejonge at redkiwi.nl
Fri Jan 8 13:04:43 CET 2010


Hello Jochem,

By default the new field is added at the end of the list of fields. This
is done with something like this if its generated by the kickstarter.

t3lib_div::loadTCA("tt_news");
t3lib_extMgm::addTCAcolumns("tt_news",$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes("tt_news",'field1,field2');

In this documentation you will find how you can change the position of
the new fields:
http://doc-typo3.ameos.com/4.1.0/classt3lib__extMgm.html#6fde82b03de635b
bf128462596036c12

Before, after etc..

Kind regards,

Sebastiaan de Jonge
http://sebastiaandejonge.com


-----Original Message-----
From: typo3-project-tt-news-bounces at srv02.typo3.org
[mailto:typo3-project-tt-news-bounces at srv02.typo3.org] On Behalf Of
Jochem Nabuurs | ROQUIN E-Solutions
Sent: Friday, January 08, 2010 12:57 PM
To: typo3-project-tt-news at srv02.typo3.org
Subject: [TYPO3-ttnews] Extend t news with a new field in a specific tab

Hi list,

I'd like to extend tt news with a new field and have managed to do this
with
the kickstarter.
The only problem is that the added field is shown on the "access" tab,
instead of the "General" tab.
Does anybody know if and how I can change this?

-- 
Kind regards,

Jochem Nabuurs
ROQUIN E-Solutions
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news


More information about the TYPO3-project-tt-news mailing list