Support Forums

if extra category field in viewlisting

This is a discussion on if extra category field in viewlisting within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi, I created a checkbox for some categories. During the creation of the listing the seller has to check it ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 06-13-2009, 04:02 PM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default if extra category field in viewlisting

Hi,

I created a checkbox for some categories.
During the creation of the listing the seller has to check it if he is willing to send it.

How can i integrate this option in the viewlisting page as an if command (if its checked i want a extra line above the description)



Dominick
damiun is offline   Reply With Quote
Old 06-14-2009, 07:34 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

First of all you need to use debug to determine if this variable is available to you in your viewlistings.tpl. You then test on it using a smarty test. There are hundreds of examples of smarty 'if' tests on the forum and indeed in your code that you can copy and modify for your particular test. A little research and you can do what you wish to do.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
put category extra field in title skyblue Technical Support 15 11-09-2008 10:38 PM


All times are GMT -4. The time now is 12:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0