Support Forums

link in just chosen category listings

This is a discussion on link in just chosen category listings within the Customizations forums, part of the Developer Forums category; What version of 68 Classifieds are you running? Example: V4.1.6 Designer What template are you using? default Please describe in ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 11-13-2009, 07:45 PM   #1
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 14
guillopuig is on a distinguished road
Default link in just chosen category listings

What version of 68 Classifieds are you running?
Example: V4.1.6 Designer

What template are you using?
default

Please describe in detail the issue you are having:


how can I display a link in some area of the listing page but JUST in a particular category?

for example;
Id like to display a link in all the real estate listings page under the real estate for sale category only. Or vehicles for sale, etc...

you may see an example of what I want in the following link, wight under the price.
Plaza Esmeralda, Guaynabo PR 00969 | Homes.com
__________________
4.1.6 Designer ----> soon to be Developer
guillopuig is offline   Reply With Quote
Old 11-13-2009, 09:27 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,527
Rep Power: 89
seymourjames is a jewel in the rough
Default

In your viewlisting file you would need to use Smarty to 'if 'test to see if you were in that category and if you were place the link appropriately. You should search the forum and 68 docs for info on the smarty debug fucntion which allows you to see what variables are available to a tempalte file (e.g I do not remember if the category ID is available to the viewlisting.tpl file). This will be good practice and set you up to know how to see what is and is not available in terms of doing logical tests on variables in different template files.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote

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