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.


Softcoded Devzone sidebar

Login / Search

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

Fan in training

Softcoded Devzone sidebar

If you wan't to customize devzone menu, you can do it at simple way with this mod.

menu_left.php goes to: /devzone/custom/
devzone_sidebar.txt goes to: /text/

Now, if you are using my "Menu" title changer mod you can edit menu_left.php

From this:

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("devzone_sidebar");
//make_expand_menu("devzone_sidebar", "Devzone");

?>

To this:

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("devzone_sidebar");
make_expand_menu("devzone_sidebar", "Devzone");

?>

From now on you can customize your Devzone menu from:
Admin Center -> Text/Menu files -> devzone_sidebar.txt -> Edit

Or Log in as Admin, and goto Devzone, then you should see at the end of that menu: "Edit this menu"
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: