Hello,
First, the link in the Addons section for s06e01 - Index Page Layout leads to yoursite.com.
I'm looking for something that will show the categories I choose on the index page. Something similar to Category Images which I couldn't get to work. Perhaps a module for s06e01 - Index Page Layout.
Thanks for your time and help.
Show certain categories on the index page
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Show certain categories on the index page
We used the Advert Manager to create some 'adverts' for the categories and assigned them to a 'group'. Then used one of the PI addons included in the package as a starting point to make another addon that displayed the group. Just DIY that works for us but Certified Developers could do a proper job.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Show certain categories on the index page
So we made 2 Index Layout addons that display what we configured in The Advert Manager. One shows Categories. Set up adverts for each category URL you want and assign them to a 'Categories' Group and configure the addon to show that group. The addon will show the Title, Image and HTML Text entered in the advert all linking to the URL.
We made the second one for adverts to show whatever URLs we want that are assigned to a different group. Attached the whole package here for Supporters only - tested on 1.0.8.0 but might work on some earlier versions.
You do not have the required permissions to view the files attached to this post.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: Show certain categories on the index page
@heatherbell Thank you. I'll give it a try.heatherbell wrote: ↑Mon May 10, 2021 6:00 amSo we made 2 Index Layout addons that display what we configured in The Advert Manager.
advert.jpg
One shows Categories. Set up adverts for each category URL you want and assign them to a 'Categories' Group and configure the addon to show that group. The addon will show the Title, Image and HTML Text entered in the advert all linking to the URL.
We made the second one for adverts to show whatever URLs we want that are assigned to a different group.
index.jpg
Attached the whole package here for Supporters only - tested on 1.0.8.0 but might work on some earlier versions.
sHBe01 - Index Layout Categories Adverts.zip
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Show certain categories on the index page
A better example for the second 'Adverts' addon would be use of the Keyword Search Engine.
Make sure Modules>Header Tags>Product SEO is installed and Enable Keyword Search Engine is set to True.
Then add a random keyword to Product Keywords (Categories/Products>Edit>Language specific) to products required to be shown together.
By random, that is a 'word' not used elsewhere in your store e.g. advert12345
Then set up an advert in Advert Manager with URL advanced_search_result.php and keywords=advert12345 which will show a page with that unique grouping of products.
Of course, the advert URLs could also show Info Pages or create a new page that shows all Info Pages assigned to a 'Folder' and link to that.
Clone the addons in the package and play with the addon template files to create any display on index required - fun with Phoenix!