Page 1 of 1

Get Category elements and display in sp page builder

Posted: Mon May 13, 2024 8:40 am
by mostafaafrouzi
Hello
I want to receive the following items and display them in the sp page builder page
The title of the current Category
Category collection image + alt
Description of the current Category
What is the best and easiest way?
Articles Anywhere by regularlabs is great but only works for articles
Thank you.

Re: Get Category elements and display in sp page builder

Posted: Tue May 14, 2024 7:43 am
by Pavel-ww
Hi.
mostafaafrouzi wrote: Mon May 13, 2024 8:40 am The title of the current Category

Description of the current Category
This is not clear. Through SPPB, you cannot create a category page type, so you cannot get its title and description.

mostafaafrouzi wrote: Mon May 13, 2024 8:40 am Category collection image + alt
You should make an override of the Joomla's Categories Module php template so that it displays the images of categories. By default, it cannot.

Then you can display this module on the SPPB page via Joomla Module Addon.

Or you should use Category Blog page type instead of SPPB page type. Then you will get all that you need by default from Joomla options