×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Front end Ordering
Veronica
New Member
Posts: 9
8 Anni 1 Mese fa #1437
da Veronica
Front end Ordering è stato creato da 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
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tomasci
New Member
Posts: 17
7 Anni 9 Mesi fa #1500
da Tomasci
Risposta da Tomasci al 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
Si prega Accedi o Crea un account a partecipare alla conversazione.
Ciubas
New Member
Posts: 2
7 Anni 6 Mesi fa - 7 Anni 6 Mesi fa #1588
da Ciubas
Risposta da Ciubas al 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
Ultima Modifica 7 Anni 6 Mesi fa da Ciubas.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.061 secondi