Subject: Calendar 'event_state'

Posted on: 15/05/04 01:12pm
By: Cybass

Hi!
I've modified the calendar for my needs but there is one small problem in the detail display wich makes me crazy.
I wana start an international site and changed the states in the config.php to countrys. The details show only the first 2 letters of the state. How can I show more letters?

Calendar 'event_state'

Posted on: 16/05/04 03:15pm
By: Dirk

I've just added that in CVS. See here for some inspiration

bye, Dirk

Calendar 'event_state'

Posted on: 23/05/04 08:14am
By: Cybass

I added the changes from the link you've posted but I can't see any changes. Do I have to change more?? Oh please, help this stupid guy!

Calendar 'event_state'

Posted on: 23/05/04 10:42am
By: Dirk

Well, are you using the new variables names, like {event_state_name}, in your template files? Or what exactly is the problem?

bye, Dirk

Editing lines in calendar 'add event'

Posted on: 06/01/05 11:29pm
By: Gojo

I would like to remove the lines from the Add Event screen which call for the user to input their city, state, zip... etc... when adding an event, but I'm not sure the easiest way to do it.

Those lines are not desired for my purposes, but if there is no easy way, then I would like to add the word (OPTIONAL) next to the lines when displayed. Some of my users are confused if they have too many options.

Can anyone shed some light on this?

Calendar 'event_state'

Posted on: 07/01/05 01:14am
By: enigmah

To get more than the first 2 letters, you have to change the size of the database field.

Calendar 'event_state'

Posted on: 07/01/05 03:29pm
By: Dirk

[QUOTE BY= Gojo] I would like to remove the lines from the Add Event screen which call for the user to input their city, state, zip... etc... when adding an event, but I'm not sure the easiest way to do it.

Those lines are not desired for my purposes, but if there is no easy way, then I would like to add the word (OPTIONAL) next to the lines when displayed.[/QUOTE]
Edit the submit/submitevent.thtml template file for your theme. Either add the word "optional" where you need it or make those input fields you don't need of type "hidden" and with a harmless default value.

bye, Dirk

Calendar 'event_state'

Posted on: 07/01/05 03:53pm
By: Gojo

Awesome! That was easy. Thank you!

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=34809