This is a discussion on Extra checkbox field not showing in listing within the v4 Questions & Support forums, part of the Help & Support category; Hi everyone, I've got a small problem: I configured a new field with checkbox options and in the admin it ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone,
I've got a small problem: I configured a new field with checkbox options and in the admin it is set as seen in listing. In my trial ad I checked some options, and they are saved alright. Yet in the viewlisting I only get the field's tag (eg: Equipment) but no values at all. All other extrafields show alright, and I've been looking at the .tpl file and it seems to be ok Code:
{* Extra Fields *}
{foreach from=$extrafields item=extras}
<tr>
<td><strong>{$extras.title}:</strong></td>
<td>
{if isset($extras.value)}
{foreach key=key item=item from=$extras.value}
{$item}<br />
{foreachelse}
{$extras.value}
{/foreach}
{/if}
</td>
</tr>
{/foreach}
{* End Extra Fields *}
|
|
#2
|
||||
|
||||
|
I just briefly set up a check box field on one of my test sites and I have the same problem. When I look at the debug output the extra (checkbox field) that I created has a value of NULL. This appears to be a bug.
I would post this in bug tracker. Please make sure to specify the vrsion of 68C you are using.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#3
|
||||
|
||||
|
I remember a bug like this before. What version are you running?
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#4
|
||||
|
||||
|
I checked it with 4.0.7 and had problems.
I also just tried 4.0.8 and get no data when viewing an ad either.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#5
|
||||
|
||||
|
Can you try this change and see if it fixes it:
Open Listings.php class and go to getListingFields method. Next find: 'value'=> html_entity_decode($rs['sValue']), Replace with: 'value'=> $rs['sValue'],
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#6
|
||||
|
||||
|
Just to note this is changed in subversion so I think it was reported after the v4.0.8 release.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#7
|
||||
|
||||
|
Yea, that seemed to fix it.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#8
|
|||
|
|||
|
Yes that chage seems to do it,
It works smoothly now Thank You Barnes |
|
#9
|
|||
|
|||
|
post deleted by the author
Last edited by SecondShoe; 12-06-2008 at 02:24 PM. |
|
#10
|
||||
|
||||
|
Extra fields are only for the view listing file. If it is showing on viewmember then you used it as an extra registration field which is a totally different settings.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extra field Child drop down list not showing | hel68c | v4 Questions & Support | 15 | 09-01-2008 12:21 PM |
| Listing extra field | cardenas | v4 Modules / Modifications | 6 | 08-26-2008 05:44 AM |
| Adding extra field to search.php... | abkeller | v3.1 Modules & Modifications | 4 | 06-05-2007 01:15 AM |
| listing extra field value when it is an array? | Mike-N-Tosh | v3.1 Modules & Modifications | 13 | 04-21-2007 10:31 AM |
| Extra Field numbers showing numerically | GSP | v3.0 Questions & Support | 1 | 05-01-2006 06:36 PM |