![]() |
![]() |
|
| Condividi questo contenuto nei Social Network: |
|
Tweet |
|
|
|
Ti stiamo aspettando: Registrati subito e gratis. Entra a far parte di una delle comunità più attive in Italia. Se hai dimenticato i tuoi dati li puoi recuperare subito. |
||||
|
|||||||||
|
|
LinkBack | Strumenti di discussione |
|
|
#1 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
Modulo nella parte centrale
Ciao a tutti.
Volevo sapere se esiste un modo per inserire un modulo nella parte centrale (la parte dove vengono inserite tutte le news della index). Ho provato a modificare la posizione del modulo in tutti quelli disponibili, ma non c'è verso di metterlo centralmente. Grazie a tutti ![]() |
|
__________________
Cerchi pronostici calcio |
|
|
|
|
|
|
|
|
#3 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
|
|
__________________
Cerchi pronostici calcio |
|
|
|
|
|
|
#5 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
Direi sotto le news. Come faccio a vedere se ho le posizioni disponibili per i moduli?
Scusate, ma sono ancora un mezzo novizio di Joomla ![]() |
|
__________________
Cerchi pronostici calcio |
|
|
|
|
|
|
#7 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
Ah ecco non è disponibile nessun modulo se non right e left. Peccato!
Grazie Globo ![]() |
|
__________________
Cerchi pronostici calcio |
|
|
|
|
|
|
#8 (permalink) |
|
User
Data di registrazione: Nov 2007
Messaggi: 303
|
Potresti comunque moddare il template, se ci posti il codice del index.php posso aiutarti
|
|
__________________
Forum Informatica |
|
|
|
|
|
|
#9 (permalink) | |
|
Moderatore
|
Quote:
Decidi cosa vuoi fare, o scegli un altro template, o come hai notato, qui trovi persone disponibili a modificare il codice del tuo. In questo contesto, vorrei ringraziare GBZ, per la sua disponibilità in questa sezione, che sta dimostrando in questo ultimo periodo. Grazie GBZ ![]() | |
|
|
|
|
|
#10 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
Grazie siete gentilissimi. Si mi farebbe piacere tenere quel template perché mi pare molto attinente alla tematica del sito.
Questo è il codice index.php ricavato dalla modifica HTML del template nel pannello di gestione: Codice:
<?php // *************************************************************************************************************// // *** Layout & Code wurde erstellt durch LayDev.de *** // // *************************************************************************************************************// // *** Copyright: 2005-2006 LayDev *** // // *** Author: Niels Korsilack *** // // *** Lizenz: Freetemplate *** // // *** ACHTUNG: Design by Text muss unveraendert so bleiben wie er ist! *** // // *************************************************************************************************************// // *** Internet: http://www.LayDev.de *** // // *** http://www.LayDev.net *** // // *** http://www.LayDev.com *** // // *** http://www.LayDev.eu *** // // *** http://www.joomla-templates.de *** // // *** http://www.templates4mambo.de *** // // *************************************************************************************************************// // *** Kontakt: korsilack@LayDev.de *** // // *************************************************************************************************************// // *** Dies ist ein kostenloses Template von LayDev.de *** // // *** Komplettes Layout als PSD mit allen Slice und allen Ebenen *** // // *** bekommst du kostenlos in unserem Diskussionsforum! *** // // *************************************************************************************************************// defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); // needed to seperate the ISO number from the language file constant _ISO $iso = split( '=', _ISO ); // xml prolog 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 if ( $my->id ) { initEditor(); } ?> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <?php mosShowHead(); ?> <link rel="shortcut icon" href="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/favicon.ico" /> <link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/css/template_css.css" /> <link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/modules/mod_smo_ajax_shoutbox_css.php" type="text/css" /> <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/modules/mod_smo_ajax_shoutbox_js.php"></script> </head> <body bgcolor="#2C3345" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="903" height="575" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="4"> <a href="index.php" title="Startseite"><img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_01.gif" width="276" height="84" border="0" alt=""></a></td> <td colspan="4" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_02.gif" width="627" height="84"> </td> </tr> <tr> <td rowspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_03.gif" width="26" height="45"> </td> <td colspan="6" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_04.gif" width="850" height="22"><?php mosPathWay(); ?> </td> <td rowspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_05.gif" width="27" height="45"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_06.gif" width="155" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_07.gif" width="16" height="23"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_08.gif" width="508" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_09.gif" width="17" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_10.gif" width="154" height="23"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_11.gif" width="26"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_12.gif" width="155" valign="top"><?php mosLoadModules ( 'left' ); ?> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_13.gif" width="16"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_14.gif" width="508" valign="top"><?php mosMainBody(); ?> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_15.gif" width="17"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_16.gif" width="154" valign="top"><?php mosLoadModules ( 'right' ); ?> <p style="text-align:center"> <!-- Histats.com START --> <script type="text/javascript" language="javascript"> var s_sid = 38209;var st_dominio = 4; var cimg = 504;var cwi =95;var che =18; </script> <script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script> <noscript><a href="http://www.histats.com/it/" target="_blank"> <img src="http://s4.histats.com/stats/0.gif?38209&1" alt="free tracking" border="0"></a> </noscript> <!-- Histats.com END --> </p> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_17.gif" width="27"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_18.gif" width="26" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_19.gif" width="155" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_20.gif" width="16" height="39"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_21.gif" width="508" height="39" valign="top"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_22.gif" width="17" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_23.gif" width="154" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_24.gif" width="27" height="39"> </td> </tr> <tr> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="26" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="155" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="16" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="79" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="429" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="17" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="154" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="27" height="1" alt=""></td> </tr> </table> </body> </html> |
|
__________________
Cerchi pronostici calcio |
|
|
|
|
|
|
#11 (permalink) | |
|
User
Data di registrazione: Nov 2007
Messaggi: 303
|
Quote:
![]() Tornando all'editing del template, ho aggiunto la variabile che carica il modulo custom_centrale1. Devi quindi andare nel Pannello amministrazione/Site/Template Manager/Module positions. Riempi una delle caselle "Position" con il nome: custom_centrale1 Modifica il modulo che vuoi mostrare nel template scegliendo come posizione "custom_centrale1" dopo di che modifica l'index.php selezionando tutto il codice e sostituendolo con questo: Codice:
<?php // *************************************************************************************************************// // *** Layout & Code wurde erstellt durch LayDev.de *** // // *************************************************************************************************************// // *** Copyright: 2005-2006 LayDev *** // // *** Author: Niels Korsilack *** // // *** Lizenz: Freetemplate *** // // *** ACHTUNG: Design by Text muss unveraendert so bleiben wie er ist! *** // // *************************************************************************************************************// // *** Internet: http://www.LayDev.de *** // // *** http://www.LayDev.net *** // // *** http://www.LayDev.com *** // // *** http://www.LayDev.eu *** // // *** http://www.joomla-templates.de *** // // *** http://www.templates4mambo.de *** // // *************************************************************************************************************// // *** Kontakt: korsilack@LayDev.de *** // // *************************************************************************************************************// // *** Dies ist ein kostenloses Template von LayDev.de *** // // *** Komplettes Layout als PSD mit allen Slice und allen Ebenen *** // // *** bekommst du kostenlos in unserem Diskussionsforum! *** // // *************************************************************************************************************// defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); // needed to seperate the ISO number from the language file constant _ISO $iso = split( '=', _ISO ); // xml prolog 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 if ( $my->id ) { initEditor(); } ?> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <?php mosShowHead(); ?> <link rel="shortcut icon" href="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/favicon.ico" /> <link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/css/template_css.css" /> <link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/modules/mod_smo_ajax_shoutbox_css.php" type="text/css" /> <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/modules/mod_smo_ajax_shoutbox_js.php"></script> </head> <body bgcolor="#2C3345" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="903" height="575" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="4"> <a href="index.php" title="Startseite"><img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_01.gif" width="276" height="84" border="0" alt=""></a></td> <td colspan="4" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_02.gif" width="627" height="84"> </td> </tr> <tr> <td rowspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_03.gif" width="26" height="45"> </td> <td colspan="6" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_04.gif" width="850" height="22"><?php mosPathWay(); ?> </td> <td rowspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_05.gif" width="27" height="45"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_06.gif" width="155" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_07.gif" width="16" height="23"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_08.gif" width="508" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_09.gif" width="17" height="23"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_10.gif" width="154" height="23"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_11.gif" width="26"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_12.gif" width="155" valign="top"><?php mosLoadModules ( 'left' ); ?> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_13.gif" width="16"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_14.gif" width="508" valign="top"><div><?php mosLoadModules('custom_centrale1', -1); ?></div><?php mosMainBody(); ?> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_15.gif" width="17"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_16.gif" width="154" valign="top"><?php mosLoadModules ( 'right' ); ?> <p style="text-align:center"> <!-- Histats.com START --> <script type="text/javascript" language="javascript"> var s_sid = 38209;var st_dominio = 4; var cimg = 504;var cwi =95;var che =18; </script> <script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script> <noscript><a href="http://www.histats.com/it/" target="_blank"> <img src="http://s4.histats.com/stats/0.gif?38209&1" alt="free tracking" border="0"></a> </noscript> <!-- Histats.com END --> </p> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_17.gif" width="27"> </td> </tr> <tr> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_18.gif" width="26" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_19.gif" width="155" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_20.gif" width="16" height="39"> </td> <td colspan="2" background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_21.gif" width="508" height="39" valign="top"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_22.gif" width="17" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_23.gif" width="154" height="39"> </td> <td background="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/LD-Plosive-C_24.gif" width="27" height="39"> </td> </tr> <tr> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="26" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="155" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="16" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="79" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="429" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="17" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="154" height="1" alt=""></td> <td> <img src="<?php echo $mosConfig_live_site; ?>/templates/LD-Plosive-C/Bilder/Abstandhalter.gif" width="27" height="1" alt=""></td> </tr> </table> </body> </html> Codice:
<div><?php mosLoadModules('custom_centrale1', -1); ?></div>
| |
|
__________________
Forum Informatica Ultima modifica di GBZ : 03-12-07 17:10. |
||
|
|
|
|
|
#12 (permalink) |
|
Data di registrazione: Dec 2005
Messaggi: 665
|
Perfetto! Grazie molte, ora ho imparato un poco anche a smanetta coi moduli.
Gentilissimi come sempre ![]() |
|
__________________
Cerchi pronostici calcio |
|
|
|
|