🎉 Unmissable Deals Await! 🎊
🌟 Massive Black Friday & Cyber Monday Sale: 50% Off Membership 🌟. Coupon code: 50%OFF
Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

exclamation-circle Schedule in mobile view lists classes by ID and not time

More
2 months 2 weeks ago #42373 by Dirtee
Hi there, I love the extension and have been setting it up for the last 4 weeks.
although ive hit a snag.

when using the Schedule timetable for classes and viewing on mobile (or browser that is thin or small resolution) the class schedule turns to LIST view which is great and what i want, but it orders the classes by ID instead of by time so i get results like this:

TUESDAY
12:00 - 14:00 class 1
16:00 - 18:00 class 3
14:00 - 16:00 class 2
18:00 - 20:00 class 4

instead of this

TUESDAY
12:00 - 14:00 class 1
14:00 - 16:00 class 2
16:00 - 18:00 class 3
18:00 - 20:00 class 4


as you can see its NOT in order of time, i found that the order is by ID ascending.
there is no option to order by time in the backend.

IF i set the schedule to LIST view the list IS in time correctly on desktop but not in mobile view (as i assume its a completely different element as i found when editing the php/css in desktop view it has no effect on mobile view.

i found that i can edit elements (for instance i added rooms) to the mobile list view in the components\com_jux_timetable\src\Helper\TimetableClasseHelper.php file and there is indeed an order code there.

it is currently set to $query->order('id ASC'); which is ID ascending.

can we get an order by time? as the classes showing up in wrong orders is confusing the public (yes people are not clever lol)

id like to add that I am using the schedule showing classes on modules in main content area as I am aware that the COMPONENT?MENU schedule does not work at all in mobile view (as i read somewhere here) it just shows a blank white screen.

please can someone help me with this issue, as i will have to use an alternative if it cannot be resolved, as I cannot have my moderators accessing the SQL database to change the class ID's just to make them show in order.

thank you for reading the novel lol


Daniel

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #42374 by Jackie
Hi.
Thank you for contacting us.
With the blank white screen on the mobile with the component menu, we will release a new version to fix it soon.
We will check and change the list order on the mobile view.
Please send us your site admin and FTP account. We will help you change the order when we find the solution.
Regards.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #42375 by Dirtee
Hi Jackie, thsnks fir replying.

Im sorry but i really do not feel comfortable giving out my admin and ftp details .

Plus ive customised my files to remove certain fields that Wasn't needed and changed texts and css.

I have not touched anything to do with ordering.

So you not have an installation you can test yourself? Then tell me the changes i need to make?

My site currently does not show the issue as i changed all my classes to the correct order via ID but when more classes are added it will be messed up again.

I can make a separate demo site, if want me to?

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #42376 by Jackie
Hi.
To change the order by starttime, please go to the file components/com_jux_timetable/src/Helper/TimetableClasseHelper.php line 45
and change the source code:
$query->order('id ASC'); to $query->order('starttime ASC');
Please recheck it.
Regards.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #42377 by Dirtee
Fantastic!! That did the trick i think.

There are so e other bugs i found also that dont effect me but i thought id let you know.

If i set a start date for a class on certain days, it does show.

Example, august of last year, 27th, 28th, 29th, 30th work.
25th 26th doesn't.

Ira half and half days if the month lol.

Also the schedule on module in mobile tool bar doesnt change daily if using day schedule, it changes weekly, and on weekly schedule doesn't change at all lol.

anyways Thanks for the Jackie!! Saved me untold hours

Happy happy 😊

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #42378 by Jackie
Hi.
Please check the module/ menu config to show the weekends, that will help you display the Sat and Sun days in the calendar.
prnt.sc/KLy4kJXVDT0P
For the mobile layout, I have checked and found the issue when you select the default view is Daily View. We will check and fix it soon.
Regards.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago - 2 months 2 weeks ago #42379 by Dirtee
Hi Jackie thank you for all your help!

I have 1 last issue (hopefully lol)

I have noticed on my main site that the category filter is not working as intended, when clicking on a category only some will filter but the others will just reload the page. (same issue in both module and component)

i set up a free demo site with schedule as module and component with a few classes with trainers and categories.

none of them work when clicking. it seems that any category that is poulated will not work, categories that have no classes work

I have added the admin login and ftp details to this thread!

thanks again!

Daniel
Last edit: 2 months 2 weeks ago by Dirtee.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #42381 by Jackie
Hi.
I have installed the last version 1.1.8 on your site to fix some issue.
I have checked the category filter on the top, it still works fine. prnt.sc/1YYCHXF4En7z
Please recheck it.
Regards.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #42383 by Dirtee
Hi Jackie, yes it all seems to be fixed in 1.1.8

however. i have found a game breaking bug.

we are now NOT able to save any new classes or trainers! the save button doesn't work.

tested on 2 different sites !!!

shame.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #42385 by Jackie
Sorry, this is our mistake. Please recheck it. Now you can save the data.
Regards.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

Moderators: Jackie
Time to create page: 0.054 seconds
Powered by Kunena Forum