Support Forums

Remove details from listings

This is a discussion on Remove details from listings within the Technical Support forums, part of the Technical Support Forums category; Hi, I want to remove the Address, Country, Date Added and Expiration from the actual listing. I have attached a ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-11-2008, 06:00 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default Remove details from listings

Hi,
I want to remove the Address, Country, Date Added and Expiration from the actual listing. I have attached a pic of what the listings look like.
Cheers,
Nick
truckandmachinery.com.au
Attached Images
File Type: jpg prob.jpg (32.9 KB, 4 views)
bowers01 is offline  
Old 06-11-2008, 07:14 AM   #2
Customer
 
Join Date: May 2008
Location: Lanzarote/spain
Posts: 71
Rep Power: 15
canariasdata is on a distinguished road
Default

Hello Nick,

open viewlisting.tpl in your template folder, find the table rows you want to take out and delete them (make a backup of your template files before doing so)

The parts to delete look like this example "address":

HTML Code:
{if $viewaddress=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_ADDRESS}:</strong></td>
<td>{$address}</td>
</tr>
{/if}
__________________
4.0.3 Developer
canariasdata is offline  
Old 06-11-2008, 07:33 AM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default Thanks

Thanks, Works like a charm. You can also just change the Y to a N and you get the same result.
Cheers
bowers01 is offline  
Old 06-11-2008, 09:17 AM   #4
Customer
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 609
Rep Power: 35
civ will become famous soon enough
Default

Except then if you ever change the admincp options for those particular items to 'No', then they will start showing up on your listings again.
__________________
Civ's Modules:

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians and proxies!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort listings by... crystal Technical Support 4 06-02-2008 03:43 PM
V4 Changes Eric Barnes Technical Support 24 11-12-2007 01:35 AM


All times are GMT -4. The time now is 06:29 AM.


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