HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Tiny mod to change "Menu" title from menus.

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#1195 (In Topic #292)
phT
Avatar

Fan in training

Tiny mod to change "Menu" title from menus.

Ok,
layout.php goes to: sources/
menu_left.php goes to: custom/

Make a backup from layout.php before copying!

Open menu_left.php in text editor, you should see:

Code

<?php /*

 ocPortal (Online Community Portal)
 Copyright (c) Chris Graham et al, 2004

 You may not distribute a modified version of this file.
 See text/license.txt for full licensing information.

*/
if (!function_exists("get_db_forums"))
   die ("This file may only be included/required from others");
?>

<?php

make_expand_menu("sidebar", "Navigation");

?>

By changing the Navigation text, you can change the menubar title.
If the title is not given, it will use "Menu" title as default.

You can change the title to different title for all menus you have.
Back to the top
 
Posted
Rating:
#1197

Fan in action

Finally!! Someone other than me trying php :)

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
Posted
Rating:
#1199
phT
Avatar

Fan in training

Yea, it's a small one, but it still written with php  :rolleyes:
Back to the top
 
Posted
Rating:
#1200

Fan in action

You gotta start somewhere, right? :)

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: