ciao.
sto cercando di adattare un sito web esistente al cms joomla.
ho una cartella dentro la cartella dei template.
all'interno ce un file index.php e una cartella dove ci ho messo i 2 css (template.css e general.css).
infine ho copiato qualche file da il template esistente :
templateDetails.xml e component.php
il file index.php è cosi:
codice:<?php // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); $tplurl = $this->baseurl . "/"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>4DMC :: Home</title> <jdoc:include type="head" /> <link href="<?php echo $this->baseurl ?>css/template.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $this->baseurl ?>css/general.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="contender" align="center"> <div id="header" align="center"> [img]<?php echo $this->baseurl ?>img/top.jpg[/img] </div> <div id="menu"> HOME | CHI SIAMO | SERVIZI | SOFTWARE | FORMAZIONE | CONTATTI</div> <div id="contenitore"> <div id="contenuto-pg"> </p> </p> <table width="0" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="padding-pg"> <jdoc:include type="modules" name="contenuto1" style="raw" /> </td> </tr> </table> </div> </div> <div id="contenuto-destra"><h3 class="titolo">CORSI ED EVENTI</h3>[img]<?php echo $this->baseurl ?>img/foto-barra-eventi.jpg[/img] <table width="250px" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="table-right"><jdoc:include type="modules" name="destra1" style="raw" /> </td> </tr> <tr> <td class="table-right"><jdoc:include type="modules" name="destra2" style="raw" /></td> </tr> <tr> <td class="table-right"><jdoc:include type="modules" name="destra3" style="raw" /></td> </tr> <tr> <td class="table-right"><jdoc:include type="modules" name="destra4" style="raw" /></td> </tr> </table> <div id="gallery"><h3 class="titolo">GALLERY</h3>[img]<?php echo $this->baseurl ?>img/foto-barra-gallery.jpg[/img] </div></div></div> <div id="footer">4DMC Official Site © 2009 All Rights Reserved - Odisseo S.n.C. WebDesign[img]<?php echo $this->baseurl ?>img/logo-pic.png[/img] </div> </div> </body> </html>
La mia domanda è : perche non mi legge il css e non incorpora le immagini?
ho provato anche a levare il riferimeto alla variabile "baseurl" (perche mi sa di sbagliato anche se ho letto che si fa cosi).
forse ce qualche altro file da modificare ?