Support Forums

Extra Fields in Listing Preview Not Showing

This is a discussion on Extra Fields in Listing Preview Not Showing within the Technical Support forums, part of the Technical Support Forums category; Developer 4.1.1 I'm using the "new" style of retrieving the extra fields one at a time: {get_extra_field id=$view fid=21} when ...


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 05-28-2009, 08:44 PM   #1
Junior Member
 
Join Date: Mar 2009
Posts: 14
Rep Power: 8
rhound is on a distinguished road
Default Extra Fields in Listing Preview Not Showing

Developer 4.1.1

I'm using the "new" style of retrieving the extra fields one at a time: {get_extra_field id=$view fid=21} when displaying a listing (so I can mix the order of all fields - existing fields and the extra fields). For example, I want year first (an extra field) and then the other info and then a mileage extra field etc.

This works fine in the viewlistings2.tpl when a user looks at any ad.

However, I noticed that the field value is blank when a user looks at their listing in "listing preview" mode.

1. Member creates ad and fills out fields and after those fields, the extra fields appear (correct behavior).
2. Member previews ad in listing preview and the extra fields show no values (The preview listing page uses the viewlisting2.tpl and I have pulled those fields using the "new" style of getting individual fields)

3. Any user looking at the specific ad sees the values from the extra fields (which also come from the viewlisting2.tpl.

If I use the "old" style of retrieving the extra fields

{foreach from=$extrafields item=extras}
{if $extras.fID==21}
{foreach key=key item=item from=$extras.value}
{assign var="modelyear" value="$item"}
{/foreach}
{/if}
{/foreach}

It works in both the viewlistings2.tpl and the listing preview.

Any suggestions? Thanks so much.
rhound is offline  
Old 05-29-2009, 10:03 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I would have to recommend you upgrade to v4.1.3 and I believe it should fix it. I seem to remember a bug about this.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 05-29-2009, 10:05 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,003
Rep Power: 74
seymourjames is a jewel in the rough
Default

I can confirm that your memory is good Eric. I had this issue in 4.10 and 4.11. It works fine in 4.12 and 4.13.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline  
Closed Thread

Tags
extra field , listing preview

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing Specific Extra Fields to Guest in Listing View hotchops Technical Support 9 05-11-2009 12:14 AM
Extra Fields Showing Up On Search Page hotchops Technical Support 6 04-30-2009 10:34 PM
extra listing fields hel68c Technical Support 0 02-19-2009 10:05 PM
Extra checkbox field not showing in listing gysgysco Technical Support 9 12-06-2008 01:36 AM
How to add extra fields to the listing? GPM55 Pre Sales Questions 1 03-20-2007 12:46 PM


All times are GMT -4. The time now is 05:56 AM.


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