Ciao a tutti!!
Avrei il seguente quesito: una pagina html divisa in due frame tramite il seguente codice:
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
</head>
<frameset cols="200,*" rows="*" border="2" framespacing="0" frameborder="yes">
<frame src="../templates/admin/menuAdmin.tpl" name="menuAdmin" scrolling="auto"></frame>
<frame src="../templates/admin/adminIndex.tpl" name="frameConenuto" scrolling="auto"></frame>
</frameset>
<noframes><body>
Il broser che usi sembra non supportare i frame...
</body></noframes>
</html>
Il problema che però si presenta è questo: i file .tpl che vado a richiamare tramite src , anzichè venire interpretati, visualizzano il loro codice! Se invece cambio l'estensione a .html (o .htm) il problema non sussiste minimamente. Ora: come fare per risolvere il problema?
Premetto comunque che sto sviluppando un sito in php su apache, usando anche smarty e MySQL come DB.
Ringrazio in anticipo!
Ciao