Friday, 10 January 2014
  1 Replies
  1.2K Visits
0
Votes
Undo
Hello !! We are tryping to implement alphabetical pagination in list-view of locations and people. So if you goto the People List, you would have a clickable alphabet on top, and if you would click on "G" you would get all People who have a surname starting with "G" !!

do you have an approch to realize this feature??

best regards, Michael Strasser
Friday, 10 January 2014 09:38
·
#116539
0
Votes
Undo
Not sure how advanced your PHP coding skills are but if you look in the file administrator/components/com_jevpeople/model/people.php at the _buildPublicContentWhere method you'll see there is some code that allows you to filter the list of people based on the value of a custom field and it already has the filter to search for people with a title containing specific text (more general than starting with)
It would be possible (though not trivial) to create a new dummy custom field type whose sole purpose is to filter the list based on the first letter of the name of the person/resource. Doing it this way would mean you would not have to customise the model file.

Does this sound like the sort of coding you would be able to tackle. If not then your could change the model file and keep a careful note of your changes to maintain them as you upgrade the addon

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.