You can handle that with conditionals on the details template: <IF {CATID} is 1 or {CATISBENEATH[1]}> stuff for the special category <ELSE> regular stuff </IF> (replace 1 with the applicable category id)
You could even conditionalize the whole template as <IF {CATID} is 1 or {CATISBENEATH[1]}> [INSERTFILE=yourspecialtemplate] <ELSE> regular stuff </IF>
I'll look at making the edit category option for details in the future.
Comments on Custom detail page per category
Member
Usergroup: Customer
Joined: Nov 11, 2011
Total Topics: 17
Total Comments: 27
Posted Jul 22, 2017 - 9:27 PM:
Sversion: 10.1.17
I see these in Edit Category:
Custom Templates:
Display Listings:
Wrapper:
Submit Listing:
Edit Listing:
No Detailed custom page selection.
How do I add a custom detailed page per category? I want the top category and sub categories to use the same custom detailed page.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can handle that with conditionals on the details template:
<IF {CATID} is 1 or {CATISBENEATH[1]}>
stuff for the special category
<ELSE>
regular stuff
</IF>
(replace 1 with the applicable category id)
You could even conditionalize the whole template as
<IF {CATID} is 1 or {CATISBENEATH[1]}>
[INSERTFILE=yourspecialtemplate]
<ELSE>
regular stuff
</IF>
I'll look at making the edit category option for details in the future.
Member
Usergroup: Customer
Joined: Nov 11, 2011
Total Topics: 17
Total Comments: 27
Thanks Paul. Exactly what we were looking for.
We had just found and for my future reference:
<IF {CATISBENEATH[3]}>
put display code exclusive to category id #2 and its subcategories here
</IF>