Possible to set default for nation and regions?

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
rstoeber
Posts: 5
Joined: Sat Feb 14, 2009 11:41 pm
Location: Park City, UT USA

Possible to set default for nation and regions?

Post by rstoeber »

I am a new user and only found Php-Residence about 6 hours ago, and already it's up and running quite well for us. This is a great program and I'd like to thank the developers for making it available to us all.

I have a few simple questions:

1) Is it possible to specify a default nation on the form when entering a new client? We want to specify USA as the default and force the list of states to be displayed automatically so people can easily select a state without scrolling through all the countries first.

2) I want to modify the form for entering a new client. Where can I find that form? I have been looking all over and don't see it.
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Re: Possible to set default for nation and regions?

Post by marco »

You can only change the order of the list by edting the file includes/lang/en/lista_nazioni.php and then restoring the default nations. The form is at the bottom of the clienti.php file, but please be aware that if you modify the php code you'll have to port your changes eache time you want to upgrade. You can also send a feature request in the specific forum on this board.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply