User Functions


There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, April 23 2014 @ 01:03 PM EDT

 Forum Index > Development & Coding > Geeklog New Topic Post Reply
 Calendar no right block
 01/18/13 06:49PM (Read 583 times)  

Status: offline

Registered: 01/15/13
Posts: 11
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 ?



Profile Email
 01/19/13 11:57AM  
Full Member

Status: offline

Registered: 12/29/04
Posts: 555
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.


FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 -
Profile Email Website
 01/20/13 06:54AM  

Status: offline

Registered: 01/15/13
Posts: 11
Many Tks suprsidr,

That worked perfectly.



Profile Email
Content generated in: 0.57 seconds
New Topic Post Reply

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