Welcome to Geeklog, Anonymous Wednesday, December 04 2024 @ 04:43 am EST
Geeklog Forums
States to Province Zipcode to Postal Code
kerrygarvey
Dirk
I assume you are referring to the names of the US states in config.php (or config.default)? As far as I can see, there are no state names and ZIP codes in (only the names of the time zones).
Anyway, the state names are only used in the Calendar and you can easily replace them with a list of the Canadian provinces. To replace the word "state" with "province" etc., you have to change that in language/english.php.
You can make both changes after you have installed Geeklog.
bye, Dirk
Anonymous
amckay
Dirk
Look closer. Only the line containing _CONF['default_state_code'] is commented out. The following array is in fact what you'll see in a popup in the calendar. So this is the place where to put the Canadian provinces.
bye, Dirk
Dirk
That is a problem, since zip codes are restricted to 5 characters in the database. You could probably change that in mysql_tableanddata.php but I have no idea what effects that might cause in other places ...
To enter more than five characters for the zip codes in the calendar, these are the files to modify:
layout/YourTheme/admin/event/eventeditor.thtml
layout/YourTheme/calendar/editpersonalevent.thtml
Search for "zip" and you'll find it.
bye, Dirk
kerrygarvey
amckay
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content