marco wrote:Puoi creare un nuovo tema e modificare totalmente il menu' principale, ma e' necessario conoscere l'html e un po' di php. Il procedimento per farlo e' spiegato in doc/README.themes nella cartella di php-residence.
Marco
ciao marco nel readme ho trovato questo
INSTRUCTIONS TO CREATE A NEW THEME
To create a new php-residence theme make a copy of the
includes/themes/sim directory and rename it to a new name of 3
letters, then change the names in "name.php" file inside the new
directory. Now you will be able to select the new theme from
"configure and customize".
You can modify the head and foot of all php-residence pages from
head.php and foot.php. In file menu.php you can set the variable
$hide_default_menu to true and insert there a new main menu
page. Lastly the dates lists are generated from the file
selectperiod.php.
================================
Sinceramente però non è tanto chiaro... voglio dire, partendo dal tema SIM, come si costruisce un tema iconografico?
Il file head.php è tutto in php!
Io ho creato un tema, ma non so come collegarlo ai vari menu... se collego facendo delle icone e richiamando le pagine "rozzamente" tipo prenota.php (per INSERISCI NUOVA PRENOTAZIONE) mi saltano fuori un bel pò di errori delle functions richiamate da mysql...
--------------------------------------
ERROR IN: select * from anni where idanni =
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/
www.miosito.com/includes/funzioni_mysql.php on line 54
-------------------------------------
Inoltre, l'utlizzo del menu settato di default a 0... come posso integrare un mio menu? Cosa ci devo mettere? Mi sto incasinando
H E L P