Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4.1 Questions & Support

 
LinkBack Thread Tools Display Modes
Old 04-05-2009, 04:44 PM   #1
Junior Member
 
Join Date: Apr 2009
Posts: 2
Rep Power: 0
yahn44 is on a distinguished road
Default Modify fields displayed in the listings results (search, featured, new)

Hello,

I just acquired 68C developer edition yesterday. I'd like to customize the search results, featured and new listings pages for a real estate website purpose :
- Not show the City, Region and Country fields which are those of the owner and not necessarly those of the real estate product
- Add new fields such as the real estate product location (city), the square feets and the number of rooms

Is that possible and how ?

I did search and tried to modify toplistings.php without sucess.

Thanks for your help.

Yann - France
yahn44 is offline   Reply With Quote
Old 04-05-2009, 05:29 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,276
Rep Power: 37
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

There's a few of things that I would recommend in your situation.

First in the admin, I would change the "Settings"/"Search Settings" to disallow search on the following fields, City, State and Country.

Second, I would change the "Settings"/"User View Settings" and turn off the following fields, Sellers address, Sellers city, Sellers Postal Code, Sellers country, Display postal code.

Third, in the "Users"/"User Groups" (eg: Guest, Registered Users, etc.) turn off the display of those same items in the search results and the viewlistings.

To add the items that you describe would be done in the admin in the "Categories"/"Extra Fields".

*** Solicitation ***
Lastly, you might consider purchasing my Postal Codes Module (France Data Set) so that your end users can search by postal code and radius (in KM) for listings that meet that criteria. This is NOT a requirement for your stated questions, however you may find that very beneficial for a site selling Real Estate.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out

Last edited by Mike-N-Tosh; 04-05-2009 at 05:31 PM.
Mike-N-Tosh is offline   Reply With Quote
Old 04-06-2009, 04:27 PM   #3
Junior Member
 
Join Date: Apr 2009
Posts: 2
Rep Power: 0
yahn44 is on a distinguished road
Default

Thanks for your answer.

Your solution is fine for deleting default fields from the showlistings page. But, if you want to show extra fields in the showlistings pages, you must not only create those extra fileds but also add some code to your chosen showlistings template as mentioned in the following links :
Display Extra Field in Showlistings.php
Get Extra Field - 68 Classifieds

To display extra fields in the showlistings pages, you should add the following line in your template :

{get_extra_field id=$entry.id fid=1}
yahn44 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
modify 'browse categories' search results centinel3 v4 Questions & Support 4 07-24-2008 04:53 PM
Search Results Page edit fields question go3matix v4 Questions & Support 1 07-04-2008 03:33 AM
Adding displayed fields to Featured getsmart v3.1 Questions & Support 4 07-14-2007 06:46 PM
Extrafields to be displayed on the search results and category listings page objelland v3.1 Questions & Support 1 01-13-2007 08:50 AM
Extra Fields Not Appearing In Search Results Dan Ashton v3.0 Questions & Support 4 05-02-2006 10:37 AM


All times are GMT -4. The time now is 04:47 AM.


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