Support Forums

Change State to Province

This is a discussion on Change State to Province within the Templates, HTML, CSS, and Design Help forums, part of the General category; .................................................. .............search engines dont follow...............................


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

Reply
 
Thread Tools Display Modes
Old 10-02-2010, 08:08 PM   #1
Junior Member
 
Join Date: Sep 2010
Location: Canada
Posts: 11
Rep Power: 5
supercan is on a distinguished road
Default Change State to Province

.................................................. .............search engines dont follow............................
__________________
++++++++++++++++++++++++++++++++++++
I must create a system or be enslaved by another mans; I will not reason and compare: my business is to create.

Last edited by supercan; 10-05-2010 at 02:22 PM.
supercan is offline   Reply With Quote
Old 10-02-2010, 08:13 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

In your template folder. "search.tpl" and one of the steps of the checkout folder.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 10-03-2010, 04:03 PM   #3
Junior Member
 
Join Date: Sep 2010
Location: Canada
Posts: 11
Rep Power: 5
supercan is on a distinguished road
Default Hmmm not sure..

I dont quite get what all to change.. I simply want to change the text on this page to read Provice no State

Businesses For Sale Canada - Buy and Sell a Canadian business

Regards,
Rodney
__________________
++++++++++++++++++++++++++++++++++++
I must create a system or be enslaved by another mans; I will not reason and compare: my business is to create.
supercan is offline   Reply With Quote
Old 10-03-2010, 04:15 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Have not checked but is this word not in languages/english.php . I think it is this {$smarty.const.LANG_STATE}. If this is not what you mean then you will need to hardcore the changes into your search.tpl file.
__________________
"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
seymourjames is offline   Reply With Quote
Old 10-03-2010, 04:37 PM   #5
Junior Member
 
Join Date: Sep 2010
Location: Canada
Posts: 11
Rep Power: 5
supercan is on a distinguished road
Default Can you be more specific

Is is not added in the languages/english.php file.. All i really want to do is just change the word on the .php page itself to say state.

WHat part of the search.tpl page would I need to edit??

{/if}

{if $sState=="Y"}
<p id="state">
<label for="state">{$smarty.const.LANG_PROVINCE}{$smarty. const.LANG_COLON}</label>
<select name="state" id="state">
<option value=''>{$smarty.const.LANG_SEARCH_ALLCAT}</option>
{section name=i loop=$states}
<option value="{$states[i].state}">{$states[i].state}</option>
{/section}
</select>
</p>
{/if}
__________________
++++++++++++++++++++++++++++++++++++
I must create a system or be enslaved by another mans; I will not reason and compare: my business is to create.

Last edited by supercan; 10-03-2010 at 05:30 PM.
supercan is offline   Reply With Quote
Old 10-03-2010, 05:34 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Change the word in english.php and it should change automatically in your template where ever it is used search, registration etc. - please follow the advice or there is no point giving it - there is no constant called $smarty.const.LANG_PROVINCE}. You do not need to add this. It is called {$smarty.const.LANG_STATE} in the search.tpl template as supplied in your download.
Attached Images
File Type: png Screen shot 2010-10-03 at 11.35.11 PM.png (26.5 KB, 1 views)
__________________
"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; 10-03-2010 at 05:36 PM.
seymourjames is offline   Reply With Quote
Old 10-03-2010, 05:52 PM   #7
Junior Member
 
Join Date: Sep 2010
Location: Canada
Posts: 11
Rep Power: 5
supercan is on a distinguished road
Default Thank you

Great it all worked!! what really through me off was the mixed advice from Mke-N-Tosh..

Thank you!
__________________
++++++++++++++++++++++++++++++++++++
I must create a system or be enslaved by another mans; I will not reason and compare: my business is to create.

Last edited by supercan; 10-03-2010 at 05:58 PM.
supercan is offline   Reply With Quote
Old 10-03-2010, 06:03 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Mike was trying to point you to the name of the variable and where it is used. Glad you got it resolved.
__________________
"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
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing State(None US) kerrynetwebservices Customizations 1 06-11-2010 11:58 AM
state abbreviation island1 Templates, HTML, CSS, and Design Help 10 10-06-2009 10:54 AM
State/Province field required? pipelin Technical Support 2 09-16-2009 07:55 AM


All times are GMT -4. The time now is 10:05 AM.


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