Support Forums

replacing "none" in search...

This is a discussion on replacing "none" in search... within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hey, I want to know how I can replace the selection "none" in my state search with another word such ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 08-09-2010, 06:16 PM   #1
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 285
Rep Power: 12
EnergyFreak is on a distinguished road
Default replacing "none" in search...

Hey,

I want to know how I can replace the selection "none" in my state search with another word such as the french translation "aucune." I can't find it anywhere because "none" is not wrote as "none" it has some other coding which I cannot identify. Can anyone help me identify it and tell me where I can add my smarty.const.

Thanks.
EnergyFreak is offline   Reply With Quote
Old 08-09-2010, 07:06 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Wink

I thought that in search.tpl, it picks up this value for the default option

{$smarty.const.LANG_SEARCH_ALLCAT}

as in

<option value=''>{$smarty.const.LANG_SEARCH_ALLCAT}</option>

If this is not what you want then you can either change the value, hardocde in the word you want or define another constant in your language file and replace it.

Just a tip but it is better to ask "Hi, je voudrais savoir s'il vous plait, comment ...".
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 08-09-2010 at 07:12 PM.
seymourjames is offline   Reply With Quote
Old 08-09-2010, 07:16 PM   #3
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 285
Rep Power: 12
EnergyFreak is on a distinguished road
Default

You know what is weird? Both are shown, aren't they both basically the same thing? One you choose to search in no states and one you choose to search in all states... Basically I only want the one where it lets me search in all states. I rephrase my question, How can I remove the "none" value from my search? I would write in French but if other people have the same quesiton as me, then they might just not understand

Thanks.

Last edited by EnergyFreak; 08-09-2010 at 07:36 PM.
EnergyFreak is offline   Reply With Quote
Old 08-09-2010, 07:38 PM   #4
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 285
Rep Power: 12
EnergyFreak is on a distinguished road
Default

I looked at your template codes search and you do not have the option none when selecting a state to search... How come I have it?
EnergyFreak is offline   Reply With Quote
Old 08-09-2010, 08:53 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Yes it is in my drop down. You did not look properly. I think it gets defined in userjoin.tpl and then put into the database.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 08-09-2010 at 09:03 PM.
seymourjames is offline   Reply With Quote
Reply

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 05:21 PM
Adding a "Product Directory" & "Find a Dealer" system spaceboy Technical Support 1 09-18-2008 06:16 PM
How to change title name "Place" to "post" on main page? YourPalAl Technical Support 4 04-28-2008 10:39 PM


All times are GMT -4. The time now is 09:52 AM.


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