Holà!
i was thinking to change the rewritten seopro path.
http://www.petbooking.it/reservations/vicenza/von-casa-falco-a-vicenza.htmli'd like to change /reservations/ into > what is defined into "accomodation type" after > translation.
I was thinking that the solution was changing on seopro.com_reservations.php
line 31-45
if (!defined('IOSRESBASE')) {
global $_VERSION;
if ($_VERSION->RELEASE > '2008') {
define('IOSRESBASE', 'reservations');
} else {
define('IOSRESBASE', 'com_reservations');
}
}
where is written reservation, I initially put only $accid but this is only a category without an unique id accomodation type defined in the database and is not mentioned that before has to be translated.
Next i was thinking to use something similar to:
$resmaster->lng->ACCOMMTYPES.'/'.$resmaster->lng->accid;
defining it first into "any_language.php" with
public $ACCOMMTYPES = 'Pensione%20Per%20Cani%20e/o%20Gatti';
and finally using
if (!defined('IOSRESBASE')) {
global $_VERSION;
if ($_VERSION->RELEASE > '2008') {
define('IOSRESBASE', 'ACCOMMTYPES');
} else {
define('IOSRESBASE', 'com_reservations');
}
}
yes... is not working... any suggestion?