XOOPS Web Application System (https://xoops.org)
Powered by You!
How to make to appear the right menù with freecontent
Category : Hacks
| Published by DIABLO on 07-Aug-2002 19:17
In fact, this would be the result of one normal installation and creation of one page with this module:

As you see lacks the lateral menù of right, even if in the file index.php, present in the module, had been given the order to show all and the two menù: Quote:
if($xoopsConfig['startpage'] == "freecontent"){ $xoopsOption['show_rblock'] =1; include(XOOPS_ROOT_PATH."/header.php"); make_cblock(); $id = $fc_start_id; echo "
"; }else{ $xoopsOption['show_rblock'] =1; include(XOOPS_ROOT_PATH."/header.php"); }
A way instead in order to make to appear this menù, exists perhaps but it does not reside (or reside but i do not know) to the inside of the folder modules; you must go to try very more far away and exactly, to the inside of the file html/footer.php; In fact it will be enough to modify this line: Quote:
if ( !isset($xoopsOption['show_rblock']) ) { $xoopsOption['show_rblock'] = 0; }
with this other: Quote:
if ( !isset($xoopsOption['show_rblock']) ) { $xoopsOption['show_rblock'] = 1; }
And the result, will be what you hoped! To watch in order to believe:

I hope has been useful this explanation P.S.: Sorry for my English but i'm not English or American :) Byez DIABLO
http://www.xoops.6b6.net Italian Support of Xoops