Support Forums

states in Designer or Developer?

This is a discussion on states in Designer or Developer? within the Templates, HTML, CSS, and Design Help forums, part of the General category; In the user registration form the state default text is: STATE (non U.S.). Is this in a location locked out ...


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

Reply
 
Thread Tools Display Modes
Old 01-12-2009, 02:41 PM   #1
Member
 
Join Date: Dec 2008
Posts: 55
Rep Power: 14
island1 is on a distinguished road
Default states in Designer or Developer?

In the user registration form the state default text is: STATE (non U.S.). Is this in a location locked out for designers? Because I can't find the code and I have Canadian Provinces too and it doesnt make sense.
__________________
v4.0.9 Designer
island1 is offline   Reply With Quote
Old 01-12-2009, 02:52 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

That would be in the language file. language/english.php
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-12-2009, 04:08 PM   #3
Member
 
Join Date: Dec 2008
Posts: 55
Rep Power: 14
island1 is on a distinguished road
Default

thanks eric
__________________
v4.0.9 Designer
island1 is offline   Reply With Quote
Old 01-22-2009, 02:41 AM   #4
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 12
petey is on a distinguished road
Default same problem here

I get the same issue. I don't understand the "solution" given above.

(v4.0.9 Developer)
petey is offline   Reply With Quote
Old 01-22-2009, 09:19 AM   #5
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,347
Rep Power: 71
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by petey
I get the same issue. I don't understand the "solution" given above.

(v4.0.9 Developer)
The text shown, "STATE (non U.S.)" comes from the language file. You can edit this by editing your language file.

yoursite/language/english.php (or whatever language you are using).

-Mike
__________________
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 01-22-2009, 09:21 AM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

all through the templates you will see smarty variables and constants. These are identifiable by the curly brackets surrounding them ie...{}

In the case of the term "STATE (non U.S.)" that is a constant that is defined in the language file and you can change the text you want displayed by locating it and altering it in the file /languages/english.php
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-22-2009, 12:46 PM   #7
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 12
petey is on a distinguished road
Default

How do I allow people from USA (95% visitors) AND Canada to register? The other countries are not as critical.

At the moment it's locked on provinces only.

I looked in admin/settings and just see a list of provinces. So do I need to manually edit the file you mentioned or go through the admin or both?

Thanks.
petey is offline   Reply With Quote
Old 01-22-2009, 12:52 PM   #8
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by petey
How do I allow people from USA (95% visitors) AND Canada to register? The other countries are not as critical.

At the moment it's locked on provinces only.

I looked in admin/settings and just see a list of provinces. So do I need to manually edit the file you mentioned or go through the admin or both?

Thanks.
Now you totally lost me.

If you log into admin, click on "settings" and then on the submenu "settings" again you hsould have a list of various settings you can change.

Down near the bottom you have an option to "edit states",

When you click on that you will have a default list of states. You can delete them, modify them or add to them but these are the options that will appear in your dropdown.

The exception to this is the default option "STATE (non U.S.)" which the text for is in the language file.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 01-22-2009, 01:03 PM   #9
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 12
petey is on a distinguished road
Default

I'm lost too.

I have a brand new installation and in admin/settings/states there's just a list of provinces.

Where are all the states? I did manage to change the default drop down for select state to "Select State..." in the template, but I'm still sitting here with just a list of provinces in the admin/settings/states which seems weird.

Thanks.
petey is offline   Reply With Quote
Old 01-22-2009, 01:47 PM   #10
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,413
Rep Power: 86
seymourjames is a jewel in the rough
Default

This was installed with location Canada as your registration details were in Canada.

It is a good point as well that this should perhaps be detailed on the install that the choice of locality is going to do this (if you want U.S states listed then choose U.S for the location). In addition, the question will now go into our installation process so assumptions are not made.

However not to worry, while you were finishing your second post here we just flicked a switch in your database so your system covers the U.S (all the states should now be showing fine).

We hope that was a fast enough service.
__________________
"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
Designer vs Developer Unregistered Pre Sales Questions 1 11-24-2008 03:50 PM
Designer vs Developer Clarifications Please :) domino Pre Sales Questions 2 08-10-2008 08:49 AM
Developer or Designer jadove Pre Sales Questions 1 04-02-2008 07:03 AM
Designer vs developer question joseph Pre Sales Questions 3 03-06-2008 05:15 PM


All times are GMT -4. The time now is 11:13 PM.


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