Webmastersite.net
Register Log In

Custom detail page per category
Custom detail page per category

Comments on Custom detail page per category

kevinsan
Member

Usergroup: Customer
Joined: Nov 11, 2011

Total Topics: 16
Total Comments: 26
Posted 07/22/17 - 9:27 PM:
Subject: Custom detail page per category
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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 67
Total Comments: 7831
Paul
Posted 07/23/17 - 8:35 AM:

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.
kevinsan
Member

Usergroup: Customer
Joined: Nov 11, 2011

Total Topics: 16
Total Comments: 26
Posted 07/23/17 - 11:02 AM:

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>

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission . Log in, or register if you haven't yet.