Support Forums

Display Extra Fields on Show Listings Template

This is a discussion on Display Extra Fields on Show Listings Template within the Customizations forums, part of the Developer Forums category; I'm trying to get the extra fields I setup in the Categories section to appear when the showlistings.tpl is displayed. ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 11-20-2009, 04:23 PM   #1
Junior Member
 
Join Date: Nov 2009
Posts: 7
Rep Power: 0
mattbyrnes is on a distinguished road
Default Display Extra Fields on Show Listings Template

I'm trying to get the extra fields I setup in the Categories section to appear when the showlistings.tpl is displayed.

I tried the solution on this page but it did not work�

Get Extra Field - 68 Classifieds[]=extra&s[]=fields&s[]=view&s[]=listing
mattbyrnes is offline   Reply With Quote
Old 11-20-2009, 04:30 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Can you post the code you tried to add? Also be sure you are inside the foreach loop in the showlistings file.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 11-23-2009, 01:51 PM   #3
Junior Member
 
Join Date: Nov 2009
Posts: 7
Rep Power: 0
mattbyrnes is on a distinguished road
Default

<div style="padding:0px 0px 6px 0px">
<table class="tableborder" cellpadding="5">
<tr>
<td colspan="4" {if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}" title="{$entry.title}">{$entry.title}</a></td>
</tr>

<!-- Image -->
<tr>
<td width="100" rowspan="2"{if $entry.class<>""} class="{$entry.class}"{/if}>
{if $sDisPhoto == "Y"}
<a href="{$entry.link}" title="{$entry.title}">
{if $entry.image != ""}
<img src="thumbs/small_{$entry.image|escape:"url"}" border="0" />
{else}
<img src="images/nophoto.gif" border='0' />
{/if}
</a>
{/if}
</td>

<td {if $entry.class<>""} class="{$entry.class}"{/if}>

{if $sDisCity == "Y"}
{$entry.city}
{/if}
{if $sDisState == "Y"}
{$entry.state}
{/if}

</td>

<td>

<!-- HERE IS WHERE I WANT EXTRA FIELDS TO DISPLAY -->

EXTRAS
{get_extra_field id=$entry.id fid=1}

</td>
</tr>
<tr>
<td colspan="3" width="100%"{if $entry.class<>""} class="{$entry.class}"{/if}>{$entry.shortDescription}   <a href="{$entry.link}" title="{$entry.title}">more</a></td>
</tr>
</table>
</div>
mattbyrnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
When user edits ad, extra fields show up as SELECTED teggen Technical Support 2 09-22-2009 06:36 PM
Extra Fields - where do they show? need help Technical Support 1 07-08-2008 11:53 AM
extra fields on show results page anna245 Technical Support 3 04-18-2008 02:31 PM
Display extra fields on showlistings.tpl cwp Technical Support 9 03-03-2008 09:52 AM
Display extra fields by themselves? cwp Technical Support 3 02-22-2008 04:34 AM


All times are GMT -4. The time now is 01:48 AM.


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