Support Forums

Modify listings displayed

This is a discussion on Modify listings displayed within the Technical Support forums, part of the Technical Support Forums category; Hi all, I want to modify the way listings are displayed. For example I would like to get rid of ...


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 10-17-2009, 03:51 PM   #1
Customer
 
Join Date: Oct 2009
Posts: 79
Rep Power: 5
belvedere is on a distinguished road
Default Modify listings displayed

Hi all,
I want to modify the way listings are displayed. For example I would like to get rid of the columns "View Listing" and "Expiration Date". Instead I would like to put the short description field.
How can this br done.
Thanks
Mike
belvedere is offline  
Old 10-17-2009, 08:51 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,467
Rep Power: 130
Eric Barnes is just really nice Eric Barnes is just really nice
Default

This can be done from admin -> settings -> search settings:
Search Settings - 68 Classifieds

Search results template
This allows you to choose which search results you want to use. default uses showlistings.tpl and short description uses showlistings2.tpl. The option chosen here also applies to the category results.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-18-2009, 04:29 AM   #3
Customer
 
Join Date: Oct 2009
Posts: 79
Rep Power: 5
belvedere is on a distinguished road
Default

Thanks for that Eric.
I've tried it but it still shows the "Expiration Date". Can this be taken off?
Thanks
Mike
belvedere is offline  
Old 10-18-2009, 08:31 AM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,237
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

keep in mind that what you see varies based on if you view the site as a guest, admin etc.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 10-19-2009, 05:42 AM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,713
Rep Power: 66
seymourjames is a jewel in the rough
Default

As Larry is suggesting - in your 68C admin control panel, look in your users -> usergroups and make sure that for guests that the correct options are checked or unchecked as you wish them to display. I think you will find that you have the display expiration date set to 'yes'.

To eradicate the viewlisting link (column) then you will need to modify the showlistings.tpl file. Remove these lines:

about line 84
<th scope="col">{$smarty.const.LANG_VIEW_LISTING}</th>

about line 113

<td{if $entry.class<>""} class="{$entry.class}"{/if}>
<a href="{$entry.link}" title="{$entry.title}">{$smarty.const.LANG_VIEW_LI STING}</a>
</td>

To view the short descriptions then you need to go into your admin control panel and set it to show the second type of showlistings which is in settings - search settings. where it asks for the searchresults default template.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Active listings are displayed in red damiun Technical Support 13 10-26-2009 10:07 AM
Modify fields displayed in the listings results (search, featured, new) yahn44 Technical Support 2 04-06-2009 04:27 PM
Is it possible to display category for the ads displayed under "modify ad" link suresh Technical Support 4 08-28-2008 09:16 AM


All times are GMT -4. The time now is 05:23 PM.


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