Add New Category Template
Hi there,
I have created a category template copy and renamed it ready for me to edit, I try to select it in the back end and it defaults back to the standard.
Is this a bug?
On the latest version of Perch.
Regards
Hi there,
I have created a category template copy and renamed it ready for me to edit, I try to select it in the back end and it defaults back to the standard.
Is this a bug?
On the latest version of Perch.
Regards
'It' being the select field, or the template in use somewhere?
Hi Drew,
Set options select field in the back end.
Ok, I'll take a look.
Thank you, not sure if this is causing the issues with my items not displaying from category.php.
Could it?
Regards
I wouldn't have thought so.
Ok,
I have this placed in my category.php
My items have yet to show up on /category/work/brand/
After following the video tutorial to get to grips with how it all works.
Regards
Are you including the set name in the category path?
Hi Drew,
This is in portfolio_item.html
So the value of
perch_get('cat')
is a full category path?Hi,
Tried them all
category/work/web
work/web
Nothing is producing the items.
What does debug show you?
What does your route look like?
DEBUG
Route: domainame/category/work/web/
That looks like debug from the control panel.
This is from /category/work/web/
I can't see any filtering of categories there at all, and no evidence of any routes being used. Are you on Runway?
No sir, using standard Perch, your docs are very limited on categories and after following the videos I am struggling to show simple items from a cat.
Drew,
After looking at the debug in the category section in the admin it is only showing it is using one template from the set and not the category
Using template: /templates/categories/set.html
But not the category.html
On the frontend it is showing I'm using template: /templates/categories/category.html however I am calling category_single.html
Morning,
Any updates on this matter?
So do you have some rewrite rules in place for this page?
Hi Drew,
I have the following: