hello all,
can tell me meaning of "" , "" php commands?
i'm trying upgrade "madeyourweb" template main body content stretched on pagewidth when both left , right column empty. in way, excluding side modules, 1 can present mainbody content stretched on screen. characteristic great when presenting forums example.
i've managed change relevant index.php section got stuck dimensions.
thx, kd
can tell me meaning of "" , "" php commands?
i'm trying upgrade "madeyourweb" template main body content stretched on pagewidth when both left , right column empty. in way, excluding side modules, 1 can present mainbody content stretched on screen. characteristic great when presenting forums example.
i've managed change relevant index.php section got stuck dimensions.
thx, kd
the output value of $screen variable.
you can program template collapse left/right columns when empty it's hassle manage module assignments not show when forum or gallery or whatever being displayed.
the better way code template doesn't load left/right columns when forum displayed regardless if have modules in them.
before tag
# initialize variable ##########
$use_columns = 1;
# collapse left & right columns if in forum ##########
if ( $_request['option'] == 'com_joomlaboard' ) {
$use_columns = 0;
}
modify template:
you'll need duplicate stylesheet , modify width of main section. include conditional statement like:
# initialize variable ##########
$use_columns = 1;
# collapse left & right columns if in forum ##########
if ( $_request['option'] == 'com_joomlaboard' ) {
$use_columns = 0;
}
} else {
--added--
rats! hate when happens when i'm typing.
you can program template collapse left/right columns when empty it's hassle manage module assignments not show when forum or gallery or whatever being displayed.
the better way code template doesn't load left/right columns when forum displayed regardless if have modules in them.
before tag
# initialize variable ##########
$use_columns = 1;
# collapse left & right columns if in forum ##########
if ( $_request['option'] == 'com_joomlaboard' ) {
$use_columns = 0;
}
modify template:
you'll need duplicate stylesheet , modify width of main section. include conditional statement like:
# initialize variable ##########
$use_columns = 1;
# collapse left & right columns if in forum ##########
if ( $_request['option'] == 'com_joomlaboard' ) {
$use_columns = 0;
}
} else {
--added--
rats! hate when happens when i'm typing.
Comments
Post a Comment