Comments Daniel started the conversationAugust 11, 2018 at 12:24pmHi,I have created multiple calendar. I can't find a way to re-order them. [stachethemes_ec cal=1,2,3] Re-ordering the iDs doesn't work. Is it possible to re-order the calendar?Thanks in advance. 94Valentin repliedAugust 13, 2018 at 4:40amGood Morning Daniel, I'm sorry for the delay we are usually away at the weekends.The numbers 1, 2 and 3 in that shortcode are the calendar IDs. Did you try to use the actual calendar IDs in that order? You can see the calendar IDs in the Calendar List.Stachethemes Support My Time Zone is GMT+3 Envato Profile | Facebook | Twitter | Newsletter | Rate & ReviewDaniel repliedAugust 16, 2018 at 7:44pmHi Valentin,Sure I selected the right IDs. It is like this:[stachethemes_ec cal=269,270,271,272,273,50,274,266,267,268,265]But in the front end it is like this [..._ec cal=272, 271, 269....]I really can't see any connection between the order in the front end and the IDs order in the backend. Thanks for your help. Daniel 877Zhivko repliedAugust 17, 2018 at 1:45pmThe calendars order is not affected by the cal shortcode attribute. I'll take a look at this and will try to fix it in the next update.Meanwhile you could do something like this:Open file stachethemes_event_calendar\front\js\adds\top.calfilter.js and on line 160 insert this code: master.calData.calendarsPool.sort(function (a, b) { return a.id - b.id; }); This will order the calendars by id number. Stachethemes DeveloperDaniel repliedAugust 18, 2018 at 8:17pmHi Zhivko,Thanks for your reply.I tried your suggestion. It works, but the order is still not what I wanted. The issue is, that the ID order is like this: 3, 2, 1, 6, 3.... It is ok for now. So I will wait for your fix in the next update :-)Thanks in advance. Sign in to reply ...
Hi,
I have created multiple calendar. I can't find a way to re-order them.
Re-ordering the iDs doesn't work. Is it possible to re-order the calendar?
Thanks in advance.
Stachethemes Support
My Time Zone is GMT+3
Envato Profile | Facebook | Twitter | Newsletter | Rate & Review
Hi Valentin,
Sure I selected the right IDs. It is like this:
[stachethemes_ec cal=269,270,271,272,273,50,274,266,267,268,265]
But in the front end it is like this [..._ec cal=272, 271, 269....]
I really can't see any connection between the order in the front end and the IDs order in the backend.
Thanks for your help.
Daniel
The calendars order is not affected by the cal shortcode attribute. I'll take a look at this and will try to fix it in the next update.
Meanwhile you could do something like this:
Open file stachethemes_event_calendar\front\js\adds\top.calfilter.js and on line 160 insert this code:
This will order the calendars by id number.
Stachethemes Developer
Hi Zhivko,
Thanks for your reply.
I tried your suggestion. It works, but the order is still not what I wanted. The issue is, that the ID order is like this: 3, 2, 1, 6, 3....
It is ok for now. So I will wait for your fix in the next update :-)
Thanks in advance.