-
iCagenda
-
iCagenda - English
-
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
-
harish
-
Topic Author
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
11 years 2 months ago - 11 years 2 months ago #5371
by 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.
Last edit: 11 years 2 months ago by Lyr!C. Reason: [ROADMAP]
Please Log in or Create an account to join the conversation.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Less
More
-
Posts: 6784
-
Thank you received: 608
-
-
-
-
11 years 2 months ago #5393
by 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)
.
Please Log in or Create an account to join the conversation.
-
iCagenda
-
iCagenda - English
-
[ROADMAP] Populate State in icagenda Model List for FrontEnd Filters
Time to create page: 0.072 seconds