Welcome to Geeklog Friday, December 15 2017 @ 04:56 am EST


Status: offline

MartinD

Forum User
Newbie
Registered: 15/01/2013
Posts: 12
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

Status: offline

suprsidr

Forum User
Full Member
Registered: 29/12/2004
Posts: 555
Location:Champaign, Illinois
in public_html/calendar/index.php look to the bottom of the file for :
PHP Formatted Code
$display = COM_createHTMLDocument($display, array('pagetitle' => $pagetitle));


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

Status: offline

MartinD

Forum User
Newbie
Registered: 15/01/2013
Posts: 12
happy
Many Tks suprsidr,

That worked perfectly.


Cheers

Marin

All times are EST. The time is now 04:56 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content