|
|
#1 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 702
Rep Power: 18 ![]() |
Hi,
I have a huge amount of extra fields, and when posting it can be confusing because they are so close together. I want to use this Code:
onMouseOver="this.bgColor = '#C0C0C0'"
onMouseOut ="this.bgColor = '#FFFFFF'"
Cheers, Nick
__________________
Nick Bowers 68c v4.09 Developer |
|
|
|
|
|
#2 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,137
Rep Power: 101 ![]() ![]() |
Quote:
add {$city} to viewlisting.tpl title tag you will see the script where checkout originates and if you take a second to look at that file it will show you the exact path to each of the checkout files. As luck would have it they have similar names to the steps in checkout...ie step3.php. Look in step3.php and you see the extra fields being returned from a function in the Lisings file.... $class_tpl->assign('extra_listing_fields', $Listings->extra_listing_fields($category)); Look in Listings.php for the function name extra_listing_fields and you will have the function that collects the extra field data from the database and builds the html to display 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 |
|
|
|
|
|
|
#3 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 702
Rep Power: 18 ![]() |
Hi,
Thanks for the reply. If i search in listings.php i can find function extra_listing_fields($section) is this where you are talkign about? if so there are different sections where it makes a table. 1. Code:
if($row['fType']=="P") Code:
if($row['fType']=="D" && $row['fRange']=="N") Code:
elseif($row['fType']=="D" && $row['fRange']=="Y") Code:
elseif($row['fType']=="C") Code:
elseif($row['fType']=="B") elseif($row['fType']=="S") elseif($row['fType']=="M") elseif($row['fType']=="F") Thanks for the help, Nick
__________________
Nick Bowers 68c v4.09 Developer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| extra_listing_fields in usermodifylisting.tpl - help | darek | v4 Questions & Support | 5 | 09-16-2008 05:40 PM |