Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:15 pm EDT

Geeklog Forums

Calendar no right block


Status: offline

MartinD

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

Status: offline

suprsidr

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


change it to :
Text 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:
Text 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
 Quote

Status: offline

MartinD

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

That worked perfectly.


Cheers

Marin
 Quote

All times are EDT. The time is now 04:15 pm.

  • 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