Back to top

Autore Topic: Ma questo template qui?  (Letto 1878 volte)

Offline Chiantese

  • Esploratore
  • **
  • Post: 57
    • Mostra profilo
Ma questo template qui?
« il: 28 Dic 2005, 11:33:27 »
Ragazzi nelle istruzioni per passare da mambo a joomla ho trovato un riferimento su come modificare un template ed adattarlo a joomla.
Ahimè nel template che voglio usare (attenzione...la mia non è una migrazione installo joomla da zero su un nuovo sito) non esiste la stringa di file da sostituire con la pach.

Cosa debbo fare? Vi posto il php del template se qualcuno di voi rintraccia qualcosa...

<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
<!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">
<head>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/templates/b_test/templates/healthtrust/templates/healthtrust/images/favicon.ico\" />" ; ?>
</head>

</head>
<body>



<div id="content">

 <div id="jbl_magic_leftmenu"><table width="165" border="0" cellspacing="0" cellpadding="0">
     <tr>
    <td width="160" height="385" valign="top"><div id="left_menu_photo"><?php mosLoadModules ( 'nav_photos' ); ?></div><div id="left_menu_space"><?php mosLoadModules ( 'left' ); ?></div>
     </td>
     </tr>
     </table>
     </div>

<div id="jbl_magic_maincontent"><table width="515" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="515" height="385" valign="top"><div id="content_space">
[font=Verdana]<?php mosMainBody(); ?>[/font]</div></td>
  </tr>
</table>
</div>
 <div id="searcharea"><form action="index.php" method="post">
  <div align="right">
    <input class="inputbox" type="text" name="searchword" size="15" value=""  onblur="if(this.value=='') this.value='';" onFocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
    <input type="hidden" name="option" value="search" />
            &nbsp;<input type="submit" name="Submit" value="Search" class="button" />
  </div>
</form>
</div>
<div align="center">design by mambosolutions.com 2004</div>
</html>


Io mi sono fatto l'idea di dover sostituire la parte che vi posto in rosso con la stringa <?php mosMainBody_Admin(); ?

It's possibile?
Ve lo chiedo qui, perchè altrimenti, non potendo cambiare il template (è legato ad uno spettacolo che promuovo fortemente) devo installare mambo e non joomla e mi spiacerebbe.

Grazie.

Fatemi sapere.

Offline giak

  • Team Joomla.it
  • Abituale
  • *******
  • Post: 1259
  • Sesso: Maschio
    • Mostra profilo
Re: Ma questo template qui?
« Risposta #1 il: 28 Dic 2005, 12:16:17 »
fai una prova, vedi come esce e se non va riporti tutto all'originale!
webmaster
www.egiakweb.net
 Developer pgDesigner - Datamodel designer for PostgreSQL pgdesigner.sourceforge.net  I belive! Free as in Freedom www.gnu.org

 



Web Design Bolzano Kreatif