CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #11339

Order fe_groups by title +++ Workaround

Added by Dirk Wildt over 2 years ago. Updated over 2 years ago.

Status:Accepted Start date:2010-12-08
Priority:Should have Due date:
Assignee:Martin Helmich % Done:

80%

Category:Frontend Administration
Target version:1.9.3 Estimated time:1.00 hour
Votes: 0

Description

Hy guys,
it would be wonderful, if fe_groups would be ordered by 'title' by default.

WORKAROUND

You have to change one line code only.

Version: 1.9.1
File: ./pi1/feadmin/class.tx_mmforum_frontendadministration.php
Method: aclGetGroupRow()
Line: 299 (near by)

Former code:
$res = $TYPO3_DB->exec_SELECTquery('*', 'fe_groups', 'deleted=0 '.$this->p->getUserPidQuery('fe_groups').$where);

New code:
$res = $TYPO3_DB->exec_SELECTquery('*', 'fe_groups', 'deleted=0 '.$this->p->getUserPidQuery('fe_groups').$where,
$groupBy='',$orderBy='title',$limit='');

Kind regards
Dirk Wildt http://wildt.at.die-netzmacher.de

History

Updated by Dirk Wildt over 2 years ago

The post above is for the frontend.

You have the same procedure for the backend - you have to change one line code only.

WORKAROUND¶

Version: 1.9.1
File: ./mod1/class.tx_mmforum_forumadmin.php
Method: getUserGroupAccess_field()
Line: 984 (near by)

Former code:
"foreign_table_where" => 'AND fe_groups.pid="'.$this->conf['userPID'].'"',

New code:
"foreign_table_where" => 'AND fe_groups.pid="'.$this->conf['userPID'].'" ORDER BY fe_groups.title',

Kind regards
Dirk

Updated by Martin Helmich over 2 years ago

  • Category set to Frontend Administration
  • Status changed from New to Accepted
  • Target version changed from 1.9.2 to 1.9.3

Also available in: Atom PDF