[TYPO3-english] Hiding a tab from a content element in backend

Enrique Moreno Tent enriquemorenotent at gmail.com
Fri Apr 15 22:05:51 CEST 2011


Gorgeous. That's the tip I was needing. Thanks very much. Im keeping this
mail for the future ;)

On Fri, Apr 15, 2011 at 9:44 PM, Kay Strobach <typo3 at kay-strobach.de> wrote:

> Hello Enrique,
>
> easiest way to get table names and fieldnames is to install firebug in
> firefox (or use any other inspector your browser has)
>
> -> hover the field and rightclick -> inspect element
> -> each form field has an attribute called name e.g.:
>   data[pages][65][shortcut_mode]
>         ^^    ^^       ^^
>      <table> uid    <field>
>
> Open the first page in the rootline, where the fields should be hidden
> and write the following in the options field:
>
>   TCEFORM.<table>.<field>.disabled = 1
>
> Having this options the fields should disappear.
> Important, as mentioned before, you need to disable all fields of the
> tab you wanna hide.
>
> Additionally you may change the fieldorder directly in an extension via
> ext_tables.php in the tca.
>
>
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.0.0/view/4/1/
>
> Greetings
> Kay
>
> Am 15.04.2011 21:27, schrieb Enrique Moreno Tent:
> > But how? As you can see the only field it appears in the database is
> > "parentid" and this one is not even an option in the backend...
> >
> > On Fri, Apr 15, 2011 at 9:14 PM, Philipp Gampe <
> > typo3.lists at philippgampe.info> wrote:
> >
> >> Enrique Moreno Tent wrote:
> >>
> >>> The only table alteration I see in ext_tables.sql is this:
> >>> CREATE TABLE tt_content (
> >>> tx_multicolumn_parentid int(11) DEFAULT '0' NOT NULL
> >>> and I don't think this field will help me disable the tab I wish...
> >>
> >> Once again, if you wish to disable a tab, you have to disable _all_
> fields
> >> on this tab.
> >>
> >> Best regards
> >> --
> >> Philipp Gampe
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >>
>
>
> --
> http://www.kay-strobach.de - Open Source Rocks
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list