Posted on: 03/23/04 11:34am
By: yburan
Is there a way to disable Calendar and Web resources from showing on all pages? I dont want these particular features at this time.
Thanks,
Yburan
Disable Calendar, Web Resiourses
Posted on: 03/23/04 12:44pm
By: Robin
For me the easiest (read safest ;-) way is to remove from header.thtml this entry {menu_elements}
This will remove everything and this way you will be able to define your own menu elements.
Disable Calendar, Web Resiourses
Posted on: 03/24/04 10:58am
By: Blaine
Your other choice is to edit the language file and replace the word "calendar" with "" -- but that will leave a extra | in the header.
The better option if you want to just remove a few of the links is to edit the COM_siteHeader function in lib-common.php and comment out a few lines.
Look for something like this and just comment out the lines by adding a double // in front of the line
// calendar link
$header->set_var( 'menuitem_url', $_CONF['site_url'] . '/calendar.php' );
$header->set_var( 'menuitem_text', $LANG01[74] );
$header->parse( 'menu_elements', 'menuitem', true );
Disable Calendar, Web Resiourses
Posted on: 05/05/04 12:58pm
By: Anonymous (corey)
So what happens when I delete those lines of code completely from lib-common and the calendar link still shows up?
Disable Calendar, Web Resiourses
Posted on: 05/07/04 11:00am
By: Anonymous (corey)
bump