×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Front end Ordering
Veronica
New Member
Posts: 9
8 年 1 个月 前 #1437
由 Veronica
Front end Ordering was created by Veronica
Hi I would like to display the list elements by the backend ordering, by default it's sort by Item ID.
I hope you can help me
Thanks
I hope you can help me
Thanks
Please 登录 或 注册一个帐号 to join the conversation.
Tomasci
New Member
Posts: 17
7 年 9 个月 前 #1500
由 Tomasci
Replied by Tomasci on topic Front end Ordering
Hi Veronica.
I have the same problem. Were you able to fix this?
Thanks
I have the same problem. Were you able to fix this?
Thanks
Please 登录 或 注册一个帐号 to join the conversation.
Ciubas
New Member
Posts: 2
7 年 6 个月 前 - 7 年 5 个月 前 #1588
由 Ciubas
Replied by Ciubas on topic Front end Ordering
$orderCol = $this->state->get('list.ordering', 'COLUMN_NAME');
$orderDirn = $this->state->get('list.direction', 'DESC');
info: docs.joomla.org/Adding_sortable_columns_...table_in_a_component
$orderDirn = $this->state->get('list.direction', 'DESC');
info: docs.joomla.org/Adding_sortable_columns_...table_in_a_component
Last edit: 7 年 5 个月 前 by Ciubas.
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.052秒