1. SP Eventum
  2. Monday, 25 November 2019
hi, I created a menu item that refers to the list of speakers for events, I would like to see that they are displayed in alphabetical order and not in ascending or descending order of id .... can it be done?
Accepted Answer
Hi there,

Thanks for your query. Please follow the instructions.

Go to the file location and find out the code
components/com_speventum/models/speakers.php
https://prnt.sc/q287og

if ($ordering) {
$query->order($db->quoteName('a.ordering') . $ordering);
} else {
$query->order($db->quoteName('a.ordering') . ' DESC');
}


And replace with this code

if ($ordering) {
$query->order($db->quoteName('a.title') . $ordering);
} else {
$query->order($db->quoteName('a.title') . ' DESC');
}


And change the menu parameters
https://prnt.sc/q288fv

-Thanks
  1. more than a month ago
  2. SP Eventum
  3. # Permalink
Responses (6)
perfect, it works, thanks
  1. more than a month ago
  2. SP Eventum
  3. # 1
perfect, it works, thanks


Hi there, You are most Welcome & Thanks
  1. more than a month ago
  2. SP Eventum
  3. # 2
I have another problem with the alphabetical order, I don't know what I touched and the module no longer appears. i used sp page builder and called the addon event speaker, how can i sort this in alphabetical order?
  1. more than a month ago
  2. SP Eventum
  3. # 3
problem solved, just change ordering with title in the site.php file under this link /http://www.fresos.it/pimf/templates/shaper_eventum/sppagebuilder/addons/eventum_speakers
  1. more than a month ago
  2. SP Eventum
  3. # 4
problem solved, just change ordering with title in the site.php file under this link /http://www.fresos.it/pimf/templates/shaper_eventum/sppagebuilder/addons/eventum_speakers


Great :)
  1. more than a month ago
  2. SP Eventum
  3. # 5


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.