Hey – I’m liking the new calendar 1.7 features like the category legend and dropdown.
I’m wondering if anyone can point me to a way to force the order to output alphabetical instead of by ID? I’m specifically interested in the legend, but might use the dropdown if it’s alpha too.
Examples:
( now sorted by ID )
Classes – This
Theater
Classes – That
Classes – This 2
( Sorted Alpha… )
Classes – That
Classes – This
Classes – This 2
Theater
Personally I would modify the SQL string used to pull the categories.
espresso-calendar.php line 265
$c_sql = "SELECT * FROM " . EVENTS_CATEGORY_TABLE;
change it to
$c_sql = "SELECT * FROM " . EVENTS_CATEGORY_TABLE . " ORDER BY category_name ASC";
Unfortunately there is no update safe method of doing this so this will be lost after any Calendar updates.
Viewing 0 reply threads
The support post ‘Calendar 4’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.