Page 1 of 1

Exclude Category from Catalog

Posted: Tue Apr 11, 2017 3:47 pm
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

Re: Exclude Category from Catalog

Posted: Tue Apr 11, 2017 3:55 pm
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.

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 2:34 pm
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

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 3:15 pm
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.

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 4:16 pm
by marius
Thank you Max - much appreciated...

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 4:23 pm
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

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 4:30 pm
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.

Re: Exclude Category from Catalog

Posted: Wed Apr 12, 2017 4:33 pm
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.

Re: Exclude Category from Catalog

Posted: Thu Apr 13, 2017 12:37 pm
by marius
Thanks for the guidance - much appreciated...