Main menu

Forum


× Help Forum English

[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters

  • harish
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 13 ans 2 semaines - il y a 13 ans 2 semaines #5371 par 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.
Dernière édition: il y a 13 ans 2 semaines par Lyr!C. Raison: [ROADMAP]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 13 ans 2 semaines #5393 par Lyr!C
Hi,

This is something in the roadmap, but you can find documentation on how to procceed here: docs.joomla.org/J2.5:How_to_add_custom_filters_to_components

I've not yet having time to work on this...
B)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.053 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new