• User Attivo

    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 😉


  • Bannato User Attivo

    Ciao dovresti almeno farci un esempio o far vedere la pagina


  • User Attivo

    Il sito in questione è: http://www.gdr-online.it vorrei mettere il modulo di lettura RSS nella parte centrale anziché nella colonna di sinistra.


  • Super User

    Nella parte centrale dove ?

    sopra il mainbody...
    sotto il mainbody...
    nel mainbody...

    il template che usi, ha le posizioni disponibili dove vuoi inserire il modulo ?


  • User Attivo

    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 🙂


  • Super User

    h ttp://www.gdr-online.it/index.php?tp=1
    con questo link, vedi le posizioni disponibili.

    In alternativa, dal pannello amministrativo, fai sito > anteprima > sito nel pannello id controllo con posizione blocchi modulo


  • User Attivo

    Ah ecco non è disponibile nessun modulo se non right e left. Peccato!

    Grazie Globo 😉


  • User Attivo

    Potresti comunque moddare il template, se ci posti il codice del index.php posso aiutarti


  • Super User

    @GBZ said:

    Potresti comunque moddare il template, se ci posti il codice del index.php posso aiutarti
    Si esatto, le posizioni, possono essere aggiunte se proprio tieni a quel template, comunque ne esistono svariati, che contengono molte posizioni...
    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 😉


  • User Attivo

    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:

    
    <?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:       [email protected]                                                                   *** //
    // *************************************************************************************************************//
    // *** 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>
    
    

  • User Attivo

    @GloboGsm said:

    In questo contesto, vorrei ringraziare GBZ, per la sua disponibilità in questa sezione, che sta dimostrando in questo ultimo periodo.
    Grazie GBZ 😉
    Per me è un piacere condividere l'esperienza che ho su Joomla, anche perchè non sono l'unico da quando ho letto 😉

    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:

    <?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:       [email protected]                                                                   *** //
    // *************************************************************************************************************//
    // *** 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>
    

    Ho aggiunto semplicemente:

    <div><?php mosLoadModules('custom_centrale1', -1); ?></div>
    

    Dove "custom_centrale1" è il nome della posizione scelta per il modulo e -1 e la modalità vi visualizzazione, in questo caso verticale se non sbaglio. Varia con -1, -2, -3 secondo i tuoi bisogni.


  • User Attivo

    Perfetto! Grazie molte, ora ho imparato un poco anche a smanetta coi moduli.

    Gentilissimi come sempre 😉