Webmastersite.net
Register Log In

incat searches

Title incat searches
Message Text When searching within a single category, we use something like... <select class="searchdrops" name="incat" size="1"><option value="">All Services</option>{CATOPTIONS}</select> I need to be able to display the category name on the the search results page. Using {INCAT} in search.tpl displays the cat id, I need to be able to display the cat name. Currently I use a toplist to display the name... <!-- BEGIN TOPLIST 1969 --> <CONFIG>categories[,]id[,]1[,]ascending[,]id={INCAT}[,][,]0[,]0[,]0[,]0[,][,]0[,]0[,][,]0[,][,][,]</CONFIG> {CATNAME} <!-- END TOPLIST 1969 --> But this pruduces an error if there is no {INCAT} value. Can we have a new variable to display the cat name in the search templates when incat searches are done... or can you think of any other solution? Thanks
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership webflair
Views 371 views. Averaging 0 views per day.
Similar Topics
Submission Date May 08, 2011 - 2:29 PM