Edit Event Category

Please report here problems and bugs
tempuser
FormaLms Expert
Posts: 76
Joined: Wed Feb 28, 2018 8:26 am

Edit Event Category

Post by tempuser » Wed Apr 04, 2018 8:01 pm

Hello,

There is an issue in this page:

/appCore/index.php?modname=reservation&op=mod_category&id_category=1

First, the edit doesn't work when submitted, and secondly the button caption says 'Modify event', while it should be category.

May I ask where events calendar is shown in the user area? For classroom courses, there is no details page, just the course description is shown in the course catalogue, so the calendar of course dates is not shown or associated to the course in any way, and there is no separate tab for calendar.

Also why there is not a details page for the classroom courses? One could still add details to these courses as in elearning ones (information, documents, wiki, etc).

alfa24
FormaLms Expert
Posts: 118
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Edit Event Category

Post by alfa24 » Thu Apr 05, 2018 8:53 am

The edit works perfectly.
I'm Jasmines, the One

tempuser
FormaLms Expert
Posts: 76
Joined: Wed Feb 28, 2018 8:26 am

Re: Edit Event Category

Post by tempuser » Thu Apr 05, 2018 9:54 am

I'm using version 1.4.3.

I think you always reply based on a different version. You can't reproduce my issues.

The button caption is not subject to debate.

What about the events calendar and classroom courses?

alfa24
FormaLms Expert
Posts: 118
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Edit Event Category

Post by alfa24 » Thu Apr 05, 2018 1:07 pm

I've tested with a clean 1.4.3
for the other issue, I said it solved (it is a bug) and sent a PM. Never received a PM from you, instead.
I'm Jasmines, the One

tempuser
FormaLms Expert
Posts: 76
Joined: Wed Feb 28, 2018 8:26 am

Re: Edit Event Category

Post by tempuser » Thu Apr 05, 2018 1:10 pm

I didn't receive a PM from you as I replied to the other thread. Please resend.

Wouldn't it be helpful to others to share publicly in the the same thread?

tempuser
FormaLms Expert
Posts: 76
Joined: Wed Feb 28, 2018 8:26 am

Re: Edit Event Category

Post by tempuser » Thu Apr 05, 2018 1:14 pm

For the event category, I'm attaching a screenshot. As you can see, the button is referring to Event rather than Category, and it doesn't modify the category details after submission.
You do not have the required permissions to view the files attached to this post.

User avatar
alberto
FormaLms Guru
Posts: 848
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Edit Event Category

Post by alberto » Thu Apr 05, 2018 3:32 pm

Hi
tempuser wrote:
May I ask where events calendar is shown in the user area? For classroom courses, there is no details page, just the course description is shown in the course catalogue, so the calendar of course dates is not shown or associated to the course in any way, and there is no separate tab for calendar.
Events are shown in courses within the "reservation" module, maybe you need to add it to your course menu.
Hereis a tutorial on reservations

Hereis a tutorial on menu configuration
tempuser wrote:the button is referring to Event rather than Category, and it doesn't modify the category details after submission.
You should be able to change the button label from the language manager.
I can edit all the categories on my installation exept for the first one in list. Can you try to add a new one and see if it works? This won't fix the bug but at least you'll be able to use the feature.
tempuser wrote: Wouldn't it be helpful to others to share publicly in the the same thread?
Absolutely YES. Alfa24 would better share publicly his solutions, and start being more polite with you and other users. He has already been banned once, under another username.
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

tempuser
FormaLms Expert
Posts: 76
Joined: Wed Feb 28, 2018 8:26 am

Re: Edit Event Category

Post by tempuser » Thu Apr 05, 2018 4:24 pm

Thank you Alberto for the clarification.

Yes the category that can't be edited is the first one, it can't be deleted either.

I added the reservations module, but at the user side the course can't be ordered because it's missing editions. I didn't find where from the admin side can I specify editions of a course?

Thanks for your comment relating to the other thread. I agree with you. I hope others can share information openly.

alfa24
FormaLms Expert
Posts: 118
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Edit Event Category

Post by alfa24 » Thu Apr 05, 2018 5:03 pm

You can't modify category 0, as it is created hardcoded in /appLms/lib/lib.reservation.php
$re = array();
$re[0][CATEGORY_ID] = 0;
$re[0][CATEGORY_NAME] = $lang->def('_UNDEFINITED');
$re[0][CATEGORY_ID_COURSE] = 0;
$re[0][CATEGORY_MAX_SUBSCRIPTION] = 0;

So it's not in the db.

But in your first post, you're referring to

/appCore/index.php?modname=reservation&op=mod_category&id_category=1

and id_category = 1 is editable.
I'm Jasmines, the One

User avatar
alberto
FormaLms Guru
Posts: 848
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Edit Event Category

Post by alberto » Thu Apr 05, 2018 6:11 pm

tempuser wrote: I added the reservations module, but at the user side the course can't be ordered because it's missing editions. I didn't find where from the admin side can I specify editions of a course?
Hi, here a couple of tutorials:

Creating elearning courses with editions

Creating a classroom course with editions
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

Post Reply