logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Category question

Version: 3.02


Category question
wizardofchips
Member

Usergroup: Customer
Joined: Oct 15, 2004
Total Topics: 10
Total Posts: 23
Posted 11/01/04 - 01:48 PM:
quote post
#1
I would like to have categories that have custom fields that arent going to be relevant to other categories, the display of the category will be completely differnt, adding/editing links will be different and searching will be differnt. So here is my problem. I need to know how would I get the script to use say...

Category 1 uses:
advancedsearch.tpl
edit.tpl
displaylinks.tpl

Category 2 uses:
advancedsearch2.tpl
edit2.tpl
displaylinks2.tpl

and so on.... there are probably other templates too that would need to be modified but I think you get the picture.

how feasible is this? some of my categories are going to have a completely different set of custom fields

WIll this have to all be done in the same templates with a bunch of statements? I think templates that correspond with categories would be easiest.

Please advise



Rik
Forum Regular
Avatar

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 32
Total Posts: 160
Posted 11/03/04 - 03:52 AM:
quote post
#2
I believe you can use IF statements.


_____________________
Rik Rasmussen
Two Way Radio Directory
din
Experienced
Avatar

Usergroup: Customer
Joined: May 12, 2003
Total Topics: 7
Total Posts: 56
Posted 11/03/04 - 04:01 AM:
quote post
#3
I f you have a bumch of them it may be easier to make custom templates for each combination. You can make and define a custom template for a category. Then in that custom template call other custom templates like the different versions of the other templates ie custom category template displaylinks2.tpl would include advancedsearch2.tpl the template section of the manaul covers easy ways to do both.

_____________________
Those who say do not know
Those who know do not say
NewsArray News Directory
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.