Ciao a tutti, sto cercando di modificare questo template:
http://www.joomla.it/template/elenco-template/4564-rynews.htmlHo 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]