1
jdseymour
Newbb dynamic menu

I just installed Newbb2 final preview release. How do I get the menu like vote, topic view mode, to drop down like on this site?

On my forum it is static and expanded.

2
brash
Re: Newbb dynamic menu
  • 2004/11/18 3:05

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Just put the <{$xoops_module_header}> tag in your theme.html file before the tag. You may run into layout/colour scheme issues as well. Do a search in the forums and you find answers those.

3
Anonymous
Re: Newbb dynamic menu
  • 2004/11/18 3:05

  • Anonymous

  • Posts: 0

  • Since:


To make the Popup Menu work, make sure that the <{$xoops_module_header}> is included in your theme.html

And be sure not to enable cache for this module in the XOOPS General Preferences

4
Anonymous
Re: Newbb dynamic menu
  • 2004/11/18 3:06

  • Anonymous

  • Posts: 0

  • Since:


@brash

you where a little faster

5
jdseymour
Re: Newbb dynamic menu

Thanks for the replys.

By the way the Newbb looks great. I think my users will enjoy it very much. Thanks for developing such a great board.

6
brash
Re: Newbb dynamic menu
  • 2004/11/18 3:09

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


heehee, only just . Speaking of module level caching Predator, is there any word on a fix for that? Is it going to be a module level or core level fix?

7
brash
Re: Newbb dynamic menu
  • 2004/11/18 3:11

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hmmm....perhaps I should read my own threads before asking questions

8
jdseymour
Re: Newbb dynamic menu

That works fine, spreads that page to 100% but I can live with that until the weekend.

Colors look fine.

9
brash
Re: Newbb dynamic menu
  • 2004/11/18 3:29

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Looks like you'll need to play with font sizes and list-styles to get your display issues fixed, but otherwise it's all looking good.

10
Anonymous
Re: Newbb dynamic menu
  • 2004/11/18 3:40

  • Anonymous

  • Posts: 0

  • Since:


A small hack made by phppp is:

in xoops/header.php

at line 68

search for

} else {
    
$xoopsOption['theme_use_smarty'] = 1;
    
// include Smarty template engine and initialize it
    
require_once XOOPS_ROOT_PATH.'/class/template.php';
    
$xoopsTpl = new XoopsTpl();
    
$xoopsTpl->xoops_setCaching(2);
    if (
$xoopsConfig['debug_mode'] == 3) {
        
$xoopsTpl->xoops_setDebugging(true);
    }
    
$xoopsTpl->assign(array('xoops_theme' => $xoopsConfig['theme_set'], 'xoops_imageurl' => XOOPS_THEME_URL.'/'.$xoopsConfig['theme_set'].'/''xoops_themecss'=> xoops_getcss($xoopsConfig['theme_set']), 'xoops_requesturi' => htmlspecialchars($GLOBALS['xoopsRequestUri'], ENT_QUOTES), 'xoops_sitename' => htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES)));


add after this

if(!empty($xoops_module_header)) $xoopsTpl->assign('xoops_module_header'$xoops_module_header);


To use in your Module:

$xoopsTpl->assign('xoops_module_header',$xoops_module_header);


Use in your module header i.e.

$xoops_module_header .= '
    
    
    '
;

Login

Who's Online

297 user(s) are online (202 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits