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: 17
Total Comments: 27
Custom detail page per category
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.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 23, 2017 - 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: 17
Total Comments: 27
Posted Jul 23, 2017 - 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 to post posts. Log in, or register if you haven't yet.