× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Front end Ordering

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

Please 登录注册一个帐号 to join the conversation.

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

Please 登录注册一个帐号 to join the conversation.

7 年 6 个月 前 - 7 年 6 个月 前 #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
Last edit: 7 年 6 个月 前 by Ciubas.

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.059秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.