[TYPO3-english] Backend Layout to TSCONFIG
Urs Bräm
info at ursbraem.ch
Tue Jun 14 23:58:20 CEST 2011
Well, there's a simple solution for that, I see now.
When using different column numbers all over the Site, you can address
each column separately, no need for another condition.
Just in case someone else needs this, I post the code (based on the
article from netz-haut.de) below
Urs
# disable cType switcher because that wouldnt work somehow
TCEFORM.tt_content.CType.disabled = 1
# adapt cType Wizard for text only elements
[globalVar = GP:colPos==0]||[globalVar = GP:colPos==3]||[globalVar =
GP:colPos==7]
mod.wizards.newContentElement.wizardItems.common.show = text
mod.wizards.newContentElement.wizardItems.special.show :=
removeFromList(multimedia,uploads,media,html,div,menu)
mod.wizards.newContentElement.wizardItems.forms.show =
mod.wizards.newContentElement.wizardItems.plugins.show =
[global]
Am 14.06.11 17:20, schrieb Urs Bräm:
> Hi
>
> does anyone know how it's possible to test for the selected Backend
> Layout (the great new Typo3 4.5 Core Feature) and then deliver different
> TSConfig for that Page?
>
> The thing is I would like to limit certain columns to certain Content
> Elements as proposed in
> http://wissen.netz-haut.de/typo3/typoscript/typo3-backend-inhaltselemente-fuer-spalten-beschraenken/
> - but just for certain pages.
>
> Cheers
> Urs
>
--
Urs Bräm
macht Websites
---
Certified Typo3 Integrator
CH-3011 Bern
www.ursbraem.ch
More information about the TYPO3-english
mailing list