Hacks

How to make to appear the right menù with freecontent

DIABLO  07-Aug-2002 19:17 4561 Reads   No comments 
In fact, this would be the result of one normal installation and creation of one page with this module: Resized Image 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: Resized Image 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
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

193 user(s) are online (44 user(s) are browsing Publisher)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories