Back to top

Autore Topic: Modifiche template ry_news  (Letto 693 volte)

Offline giuseppe

  • Nuovo arrivato
  • *
  • Post: 6
    • Mostra profilo
Modifiche template ry_news
« il: 14 Gen 2011, 12:59:06 »
Ciao a tutti, sto cercando di modificare questo template: http://www.joomla.it/template/elenco-template/4564-rynews.html

Ho inserito un quarto box in basso, modificando così il codice php:

if ( $user3 && $user4 && $user5 && $user6 ) {



   $width_bots   = ( 100 / 4 ) - ( 1 / 4 );



   $bots_pos1   = 'left';



   $bots_pos2   = 'center';



   $bots_pos3   = 'right';

   

   $bots_pos4   = 'center';



} else if ( $user3 && $user4 ) {



   $width_bots = ( 100 / 2 ) - ( 1 / 2 );



   $bots_pos1   = 'left';



   $bots_pos2   = 'right';




} else if ( $user3 && $user5 ) {



   $width_bots = ( 100 / 2 ) - ( 1 / 2 );



   $bots_pos1   = 'left';



   $bots_pos3   = 'right';

   

} else if ( $user3 && $user6 ) {



   $width_bots = ( 100 / 2 ) - ( 1 / 2 );



   $bots_pos1   = 'left';




   $bots_pos4   = 'right';

   



} else if ( $user4 && $user5 ) {



   $width_bots = ( 100 / 2 ) - ( 1 / 2 );




   $bots_pos2   = 'left';



   $bots_pos3   = 'right';

   

} else if ( $user4 && $user6 ) {



   $width_bots = ( 100 / 2 ) - ( 1 / 2 );




   $bots_pos2   = 'left';



   $bots_pos4   = 'right';   



} else {



   $width_bots = 100;



   $bots_pos1   = 'single';



   $bots_pos2   = 'single';



   $bots_pos3   = 'single';

   

   $bots_pos4   = 'single';



}

Purtroppo non riesco ad avere dei margini uguali x tutti e 4 i box, allego una schermata x farvi capire meglio.

Grazie x l'aiuto

[allegato eliminato da un amministratore]

 



Web Design Bolzano Kreatif