[TYPO3-core] RFC: Add icons and grouping to the page type selector
Ingo Renner
ingo at typo3.org
Sat Oct 13 11:24:36 CEST 2007
Ingmar Schlecht wrote:
> Just a sidenote: Has Jens responded to our comments regarding his new
> page type icons?
yes, he'll come up with a refined set during or after this weekend.
>> Index: t3lib/class.t3lib_tceforms.php
>> ===================================================================
>> --- t3lib/class.t3lib_tceforms.php (revision 2547)
>> +++ t3lib/class.t3lib_tceforms.php (working copy)
>> @@ -1546,7 +1546,7 @@
>> $item.= '</select>';
>>
>> // Create icon table:
>> - if (count($selicons)) {
>> + if (count($selicons) && !$config['noIconsBelowSelect']) {
>
> Remember to document the new TCA setting before the commit (!) in
> http://wiki.typo3.org/index.php/Pending_Documentation
sure! will do right after completing this message...
>> - 'default' => '1'
>> + 'default' => '1',
>> + 'iconsInOptionTags' => 1,
>> + 'noIconsBelowSelect' => 1
>
> By the way, I know this is a matter of taste vs. pragmatism, but I
> usually find it more handy to always add a comma in array definitions
> even after the last element. (Not important at all though.)
there was none, so I didn't add one, but will do so. I remember having
some new revision of the CGL flying around here... should go into that, too.
>> - <label index="pages.doktype.I.7">Spacer</label>
>> + <label index="pages.doktype.I.7">Visual Menu
>> Separator</label> >
>> + <label index="pages.doktype.I.8">Link to external
>> URL</label>
>
> I'd prefer "Visual menu separator" in lower case, as in "Link to
> external URL". Otherwise it would have to be called "Link to External
> URL" to be consistent.
will change to lowercase.
> +1 based on code review.
thanks!
all the best
Ingo
P.S. Even Thomas should be able to use this ;-)
More information about the TYPO3-team-core
mailing list