Support Forums


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

Notices

 
LinkBack Thread Tools Display Modes
Old 08-26-2009, 06:08 AM   #1
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 185
Rep Power: 5
MrGForce is on a distinguished road
Default Extra Field Question

I have made several extra fields for different categories. Some are single line text fields, which are fine, but others are drop down lists.

The drop-down extra fields always show the first entry as the default selection when doing a search.

Does anyone know how to make them all show the "Search All" selection instead?

This would make searching a lot easier as you have to go in and change them all to "Search All" if you want to see all the listings in that category. Gets annoying having to do this every time you go to the search page and pick a category that has extra fields available.

Any suggestions?



.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 08-27-2009, 08:05 PM   #2
Member
 
Join Date: Jun 2009
Posts: 58
Rep Power: 3
pipelin is on a distinguished road
Default

I have the same problem.

In Chrome the extra fields drop down work fine, but not in Internet Explorer, FireFox, Safari, etc. Also can sorter the extra fields for WEIGHT like categories.

Example:

NOW

Years of experience :

1 to 2 years
10 to 15 years
2 to 5 years
5 to 7 years
7 to 10 years
Lest that 1 year
More that 15 years

WANTED

Years of experience :

Lest that 1 year
1 to 2 years
2 to 5 years
5 to 7 years
7 to 10 years
10 to 15 years
More that 15 years

Last edited by pipelin; 08-28-2009 at 01:32 PM.
pipelin is offline   Reply With Quote
Old 08-30-2009, 11:44 AM   #3
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 185
Rep Power: 5
MrGForce is on a distinguished road
Default

In a <form> if you just leave the first field blank in a drop-down list, it searches everything ( ie.. Search All ) and it leaves the fields unsorted as you put them in the list.

Is there a way to tell the smarty NOT TO SORT these extra drop-down fields?

Also, it looks like Smarty adds the "Select All" to the drop-down list. Is there a way to tell smarty to use this always as the default selection even if the .... "DO NOT SORT" .... function will not work. This is what my first post was asking.

Thanks
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 08-30-2009, 12:49 PM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,810
Rep Power: 117
Lhotch is a glorious beacon of lightLhotch is a glorious beacon of lightLhotch is a glorious beacon of light
Default

Quote:
Originally Posted by MrGForce View Post
In a <form> if you just leave the first field blank in a drop-down list, it searches everything ( ie.. Search All ) and it leaves the fields unsorted as you put them in the list.

Is there a way to tell the smarty NOT TO SORT these extra drop-down fields?

Also, it looks like Smarty adds the "Select All" to the drop-down list. Is there a way to tell smarty to use this always as the default selection even if the .... "DO NOT SORT" .... function will not work. This is what my first post was asking.

Thanks
smarty isnt sorting anything.

the dropdown are built in the file ajax.php file.
__________________
Larry

What I post here should be used only as a guide to point you in the right direction. If the code I post doesnt make any sense or work as posted then you should spend more time reading the various manuals and tutorials so it does make sense and you can tweak it to work. A sure fire way to get yourself in trouble is to implement changes you dont have an intimate understanding of. Im happy to help, but I am not here to teach you to code or create your site for you.
Lhotch is offline   Reply With Quote
Old 08-31-2009, 03:35 PM   #5
Senior Member
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 185
Rep Power: 5
MrGForce is on a distinguished road
Default

Thanks Larry;

I appreciate you telling me where to look.

I'll see if I can figure it out.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce 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
Extra Date Field Question .... MrGForce v4.1 Questions & Support 2 07-23-2009 11:19 AM
Extra field kocicart v4 Questions & Support 8 08-25-2008 06:19 PM
Change format in "date field" extra field topbidz v4 Questions & Support 2 05-01-2008 07:38 PM
Extra field louad v3.1 Questions & Support 3 02-06-2007 02:58 PM
Select field problem (extra field --> drop down list) pat01 v3.1 Questions & Support 1 08-10-2006 02:05 AM


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


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