dear marco, I have a small question about the usage of php residence:
I saw the table "relutenti" which (as far as I understand) link a user with the list of nation, region, city documentid it can see,
ie each user (user=employee I suppose) have its own list of city, region, nation.
I do not undrestand why this is usefull, it is quite complicated and I cannot see the advantages (furthermore because all of this data cannot be dynamicaly inserted, you have to configure it by yourself).
There is also a nice option which enable the admin to import cities from other users but I don't see the other option which permit a user to import the nation table of the admin.
So my question: did I miss something ???
best regards
Vincent
question about nazione,regione,citta and documentoid
Moderator: marco
Hello Vincent,
it is useful if you have users with different languages (and in a future version also for internet templates). Administator, besides importing them, can also change them at once for all users or for a group of users (as all other customizations). Other users can restore the default values, which in English are availble only for nations, but you can set them in the translation files (/includes/lang/en) that begin with "lista_", you find some commented examples in each file.
Marco
it is useful if you have users with different languages (and in a future version also for internet templates). Administator, besides importing them, can also change them at once for all users or for a group of users (as all other customizations). Other users can restore the default values, which in English are availble only for nations, but you can set them in the translation files (/includes/lang/en) that begin with "lista_", you find some commented examples in each file.
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
I want to set the default states for the USA. I see that I must modify the file lista_regioni.php which needs the following variables:
$lista_regioni = "";
$cod_regioni = "";
$cod_nazione_regioni = "";
I'm not sure exactly what to do with that, but it looks like I can make it work like this:
$lista_regioni[0] = "Alaska";
$lista_regioni[1] = "Alabama";
$lista_regioni[2] = "Colorado";
$cod_nazione_regioni[0] = "United States Of America";
$cod_nazione_regioni[1] = "United States Of America";
$cod_nazione_regioni[2] = "United States Of America";
But I don't know what to do with $cod_regioni = "";
Can someone explain that variable?
$lista_regioni = "";
$cod_regioni = "";
$cod_nazione_regioni = "";
I'm not sure exactly what to do with that, but it looks like I can make it work like this:
$lista_regioni[0] = "Alaska";
$lista_regioni[1] = "Alabama";
$lista_regioni[2] = "Colorado";
$cod_nazione_regioni[0] = "United States Of America";
$cod_nazione_regioni[1] = "United States Of America";
$cod_nazione_regioni[2] = "United States Of America";
But I don't know what to do with $cod_regioni = "";
Can someone explain that variable?
Re: question about nazione,regione,citta and documentoid
That should be $cod_regioni[0] = ""; and is useful when you want to assign a code (like AL for Alaska) to be used in documents.rstoeber wrote: But I don't know what to do with $cod_regioni = "";
Can someone explain that variable?
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php