Exclude Category from Catalog

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Exclude Category from Catalog

Post by marius »

Hi everyone
Is it possible to exclude some of the categories within the Course Category section from the catalog when it is displayed on the Catalog pages before a user logs in?
I currently have a client that only wants to publish certain sections of the Course Category structure, but I am unable to find any functionality that will allow this.
Thanks
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Exclude Category from Catalog

Post by max »

Hi Marius,
no - there is no built-in functionality to do that via interface.

We've had similar requests before, we've always solved them by working directly on the php files to remove or hide unwanted categories, or to sort existing categories like the customer wanted.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Exclude Category from Catalog

Post by marius »

Thanks for the reply. Is there an existing API through which I can access the catalog? An alternative idea / option that I'm investigating is to display the relevant catalog folders and content to the client on an external website - like the client's own website.
Otherwise I'll have to look at the PHP code to change the necessary display options....
Regards
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Exclude Category from Catalog

Post by max »

ApiFunction_ENG-CoT.PDF
(170.53 KiB) Downloaded 262 times
Here you are. This document is already availabel on the forum, but for your convenience I re-uploaded it.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Exclude Category from Catalog

Post by marius »

Thank you Max - much appreciated...
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Exclude Category from Catalog

Post by marius »

Hi Max
I've gone through the API document. It does not include any methods / functions to access the Course Catalog however. Are there any other integration methods / API's available to look at?

Could you possibly point to the correct php pages where I can edit the SQL to filter the Catalog structure? This is the least favored option that I'd like to implement, as it has a global affect - but is better than displaying structure folders that do not contain anything...

Regards
Last edited by marius on Wed Apr 12, 2017 4:54 pm, edited 1 time in total.
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Exclude Category from Catalog

Post by max »

Every category has an idst
The idea is to replicate the catalogue page and remove by hand unnecessary categories from the list, identifying them via their id number

You can get the id from the URL of the category you are viewing.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Exclude Category from Catalog

Post by max »

Recently one of our customers was able, using our API's, to
- create a WP website
- get from the catalogue in Forma Lms the specific id's of the courses he wanted to show
- showing them inside his website, and putting the name of the catalogue as if it was a category

It's not exactly what you want to do, but it's an alternative idea.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
marius
FormaLms User
Posts: 74
Joined: Wed Oct 05, 2016 3:59 am
Version: forma.lms 1.4.2

Re: Exclude Category from Catalog

Post by marius »

Thanks for the guidance - much appreciated...
Post Reply