-
iCagenda
-
iCagenda - English
-
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
-
harish
-
Autore della discussione
-
New Member
-
Riduci
Di più
-
Messaggi: 2
-
Ringraziamenti ricevuti 0
-
-
11 Anni 2 Mesi fa - 11 Anni 2 Mesi fa #5371
da harish
Hi there,
I am developing front end filters for icagenda events component,i need to populate state in IcagendaModelList like this
protected function populateState($ordering = null, $direction = null)
{
// Initialise variables.
$app = JFactory::getApplication();
// Load the filter state.
$state = $app->getUserStateFromRequest($this->context.'.filter.city', 'filter_city', '', 'string');
$this->setState('filter.city', $state);
parent::populateState('e.title', 'asc');
}
please suggest me how to do this and where to do this.
Thanks in Advance.
Ultima Modifica 11 Anni 2 Mesi fa da Lyr!C. Motivo: [ROADMAP]
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Riduci
Di più
-
Messaggi: 6784
-
Ringraziamenti ricevuti 608
-
-
-
-
11 Anni 2 Mesi fa #5393
da Lyr!C
Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!
Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on
JED (Joomla Extensions Directory)
.
Si prega Accedi o Crea un account a partecipare alla conversazione.
-
iCagenda
-
iCagenda - English
-
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
Tempo creazione pagina: 0.150 secondi