[TYPO3] Disable Layout Items for Bullets

Tyler Kraft tyler.kraft at netefficiency.co.uk
Fri Jul 11 12:21:22 CEST 2008


You don't have to be a core developer to read ts_config. In fact its not 
for core developers at all. Its a document that relates to setting up 
(AKA configuring) typo3 by web admins/ developers for the web users/editors

So any way, back to my question... did you read read ts_config. If you 
do read it you'll notice that you nede to put in the field name. So to 
me the easiest way to figure that out would be to look at the frame 
source code for bulleted lists. Doing that you'd have noticed that there 
is no field called bullets_layout (at least not on my versions of T3), 
which explains why your typoscrict doesn't work! It wont work because 
you can't simply make up field names.

So problem solved :-)

What you really want to use is
TCEFORM.tt_content.layout.removeItems = 2,3,4

But be careful as this will remove the layout field for all tt_content 
items, and you might not want to do that (as that field is used 
elsewhere as well)

hth


Ronald Renfro wrote:
> Yes, I have read the ts_config even though I must confess that I am not 
> a typo3 core developer.
> Back to the question:
> 
> why does the typoscript concerning the uploads work correctly e.g. the 
> Layout item are not displayed whereas following the same principle for 
> the bullets does not yield the correct result? Any insight?
> 
> # FileLinks disable some layout items (WORKS!)
> TCEFORM.tt_content.uploads_layout.removeItems = 1,2,3,4
> 
> # BulletList disable some layout items (DOES NOT WORK)
> TCEFORM.tt_content.bullets_layout.removeItems = 2,3,4
> 
> 
> On 11.07.2008, at 00:38, Tyler Kraft wrote:
> 
>> Hi have you read ts_config and looked to see if those fields/values will
>> do anything?
>>
>>
>>
>> Ronald Renfro wrote:
>>> Hi,
>>>
>>> I would like to disable some of the layouts available for bullet lists.
>>> I have tried adding this to the PAGE_TS but the layout options still
>>> appear.
>>> Where as the same principle works for uploads. Thanks for any help!
>>> Have a nice day!
>>> Ronald
>>> --- PAGE TS ---
>>> # FileLinks disable some layout items
>>> TCEFORM.tt_content.uploads_layout.removeItems = 1,2,3,4
>>>
>>> # BulletList disable some layout items
>>> TCEFORM.tt_content.bullets_layout.removeItems = 2,3,4
>>> ---
>>>
>>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 
> 


More information about the TYPO3-english mailing list