Support Forums

No "Search all" by default

This is a discussion on No "Search all" by default within the Technical Support forums, part of the Technical Support Forums category; Hi When I make a search on my 68classified website, there is a problem with my extra drop down fields ...


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 12-10-2009, 11:45 AM   #1
Junior Member
 
Join Date: Oct 2009
Posts: 11
Rep Power: 10
mirway7 is on a distinguished road
Default No "Search all" by default

Hi

When I make a search on my 68classified website, there is a problem with my extra drop down fields : it does not show "Search all" by default but a random value corresponding to an existing classified. It's not possible to correct this in the admin zone. If I delete the classified, the problem will persist with another classified.
This problem occurs also in localhost.

Do you know how to fix this bug ?

Thank you

---
Using Developer-v4.1.6
mirway7 is offline  
Old 12-10-2009, 03:26 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

I am sorry but I am not sure I am following. Can you give an example of the steps you are doing so I can duplicate it?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-10-2009, 06:26 PM   #3
Junior Member
 
Join Date: Oct 2009
Posts: 11
Rep Power: 10
mirway7 is on a distinguished road
Default

Quote:
Originally Posted by Eric Barnes View Post
I am sorry but I am not sure I am following. Can you give an example of the steps you are doing so I can duplicate it?
Ok, here is an example for my website :

Go to Chercher une voiture d'occasion

Select France in "Pays" (country)

Next it will show these values by default in my extra drop down fields :

Département : "75 Paris" instead of "tout sélectionner" (select all)
Carburant: "Essence" instead of "tout sélectionner" (select all)
Vendeur : "Particulier" instead of "tout sélectionner" (select all)

I don't know why, these values are connected to this classified :

Mini Cooper Paris

Thank you for your help !
mirway7 is offline  
Old 12-10-2009, 09:03 PM   #4
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 open ajax.php in a text editor and look at the comments at the top and see if it is the same as this?
Code:
<?php
/**
* @copyright 68 Classifieds
*
* @author 68 Designs, LLC
* @version $Revision: 386 $
* @package 68Classifieds
* @link http://www.68classifieds.com
*
* @Updated: $Date: 2009-08-05 12:06:06 -0400 (Wed, 05 Aug 2009) $
*/
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-10-2009, 11:54 PM   #5
Junior Member
 
Join Date: Oct 2009
Posts: 11
Rep Power: 10
mirway7 is on a distinguished road
Default

Hi

I have exactly the same.

PS: I look at the forum and maybe find someone who meets the same problem :

Quote:
I have a few extra drop down fields. One field for example, is named "Bedrooms".
When you initially go to the advanced search page, this field shows "3" by default in the drop down.
How can I change this by default to show "Search All" ?
http://www.68classifieds.com/forums/...ns-search.html

Thank
mirway7 is offline  
Old 12-11-2009, 12:02 AM   #6
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 open the ajax.php file and go to line 238 which should be:
PHP Code:
if($arow['sValue']==$opt['optValue']) $selected=" SELECTED"
Then change it to:
PHP Code:
if($action != 'search' && $arow['sValue']==$opt['optValue']) $selected=" SELECTED"
Save and upload and then run another test.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-11-2009, 12:42 AM   #7
Junior Member
 
Join Date: Oct 2009
Posts: 11
Rep Power: 10
mirway7 is on a distinguished road
Default

Quote:
Originally Posted by Eric Barnes View Post
Can you open the ajax.php file and go to line 238 which should be:
PHP Code:
if($arow['sValue']==$opt['optValue']) $selected=" SELECTED"
Then change it to:
PHP Code:
if($action != 'search' && $arow['sValue']==$opt['optValue']) $selected=" SELECTED"
Save and upload and then run another test.
I did it and it seems the bug has been fixed

Thank you very much for your support
mirway7 is offline  
Old 12-11-2009, 01:33 AM   #8
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

Thanks for reporting back. I just added this to the bug tracker so it will be fixed in the next release:
http://www.68classifieds.com/forums/issue-388/

I will go ahead and close this topic but if you see any issues later just open a new related one.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Search All" extra fields option brad33 Technical Support 5 04-30-2009 06:21 PM
Adding a "Product Directory" & "Find a Dealer" system spaceboy Technical Support 1 09-18-2008 07:16 PM
How to change title name "Place" to "post" on main page? YourPalAl Technical Support 4 04-28-2008 11:39 PM


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


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