[Typo3] TSConfig question

Yomo Guiamo yguiamo at gmail.com
Wed Jun 15 12:57:35 CEST 2005


Although, it's not completely what I want (I need it in the
UserTSConfig), your code does work, thanks. Maybe with the extension of
Berhard Kraft (conditional TS), I can make it work the way I want in the
PageTSConfig.


Daniel Doesburg wrote:
> Hi Yomo,
> 
> It was just a trigger, and it works.
> I've tried the code before I wrote the mail. And in my T3 3.8.0 it works.
> I've add it to the page TSconfig. And every new page has NO checkbox.
> I can prove it (a bit).
> Look at the screenshots on: http://www.ngk-assen.nl/index.php?id=269
> Three screenshots:
> 1 the root page with the line as comment, so the chechbox is visible
> 2 the root page with the line uncommented, and the checkbox is invisible
> 3 a new page and the checkbox also is invisable
> 
> I only tested as pageTSconfig!
> 
> Regards,
> 
> Daniel
> 
> Yomo Guiamo schreef:
> 
>> Daniel,
>>
>> First of all it's neither a radiobutton or a SELECTORbutton, it's a 
>> CHECKBOX. Try to create a new page via the Web->Page module and you'll 
>> see the hide-page checkbox on top of the form.
>>
>> It would be nice if you would have tested your code before you posted 
>> it, because it doesn't work. And... just in case you might think that 
>> my inital problem description isn't clear enough in your eyes, you 
>> could have looked at my previous postings about this issue 
>> ("Disable/enable any Access list field for a user with TSConfig").
>>
>> Thanks for your reply anyway.
>>
>> Yomo
>>
>>
>> Daniel Doesburg wrote:
>>
>>> Hi Yomo,
>>>
>>> In your first message you where so close to the right solution.
>>> It has to be: TCEFORM.pages.hidden.disabled = 1
>>> I hope this is what you want. Because you're talking about a 
>>> RADIOBUTTON, but this is a selectorbutton.
>>>
>>> regards,
>>>
>>> Daniel
>>>
>>>
>>>
>>>
>>> Yomo Guiamo schreef:
>>>
>>>> Rupi,
>>>>
>>>> You're absolutely right, I made a typo.
>>>>
>>>> Just to be clear: even so this doesn't remove the hide radio-button 
>>>> on the form at all.
>>>>
>>>>
>>>>
>>>> Rupert Germann wrote:
>>>>
>>>>> Yomo Guiamo wrote:
>>>>> [...]
>>>>>
>>>>>> TCEDefaults.tt_content.hidden.disabled = 1
>>>>>>
>>>>>> But, this doesn't remove the hide-radio button (unless I'm missing
>>>>>> something)!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> TCEDefaults is wrong. Should be TCAdefaults
>>>>>
>>>>> greets
>>>>> rupi




More information about the TYPO3-english mailing list