[Typo3] Sort access selector box by title?
Joseph Mesterhazy
jmesterh at iastate.edu
Fri Oct 7 20:47:53 CEST 2005
I found the solution to this, and am replying for the benefits of the
mail archive. The solution was to add this to the $TCA:
$TCA['pages']['columns']['fe_group']['config']['foreign_table_where']
= 'ORDER BY title';
It was also helpful to increase the number of rows in the group
selector box:
$TCA['pages']['columns']['fe_group']['config']['size']=10;
Joe
On Jul 22, 2005, at 10:42 AM, Joseph Mesterhazy wrote:
> Hello,
>
> I have a test typo3 3.8.0 setup with over 1,300 fe_groups entries
> imported from LDAP. When I go to a page header or content element,
> and click on the access selector box, the groups are listed in order
> of uid, which is basically random, and makes it very difficult to
> find the exact group you want. I searched the list and found you can
> change the default sortby to title with this in an extension:
>
> $TCA['fe_groups']['ctrl']['default_sortby'] = 'ORDER BY title';
>
> This worked when listing the groups in the backend using the web-list
> module, however the access selector box is still not sorted.
> Is there somewhere else in the TCA I need to change to make the
> access selector sort by title?
>
> Thanks!
>
> Joe
> --
> Joe Mesterhazy
> ECpE UNIX Administrator
> 2101 Coover Hall, Iowa State University
> Ames, IA 50011. (515) 294-7359
> http://www.mesterhazy.net
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
--
Joe Mesterhazy
ECpE UNIX Administrator
2101 Coover Hall, Iowa State University
Ames, IA 50011. (515) 294-7359
http://www.mesterhazy.net
More information about the TYPO3-english
mailing list