Welcome to Geeklog Saturday, May 18 2013 @ 08:16 PM EDT
|
||||||||
![]() |
Forum Index > Development & Coding > Geeklog |
New Topic
|
Post Reply
|
Calendar no right block |
|||
| MartinD |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie ![]() Status: offline ![]() Registered: 01/15/13 Posts: 8 |
For all pages I want left and right blocks except (for viewing space reasons) I want the calendar plugin to use the right block space. How do I turn off he right block for the calendar only ?
Regards Martin |
||||||
|
|||||||
| suprsidr |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member Status: offline ![]() Registered: 12/29/04 Posts: 552 |
in public_html/calendar/index.php look to the bottom of the file for :
change it to : PHP Formatted Code $display = COM_createHTMLDocument($display, array('what' => 'none', 'rightblock' => -1, 'pagetitle' => $pagetitle)); 'what' => 'none' turns off the leftblocks and 'rightblock' => -1 turns off rightblocks You may also need to add: PHP Formatted Code $_CONF['show_right_blocks'] = false;just above the call to COM_createHTMLDocument depending on your settings. -s FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com |
||||||
|
|||||||
| MartinD |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie ![]() ![]() Status: offline ![]() Registered: 01/15/13 Posts: 8 |
Many Tks suprsidr,
That worked perfectly. Cheers Marin |
||||||
|
|||||||
| Content generated in: 0.59 seconds |
|
|
|