1
bjbtexas
NewBB 2.0 Final release
  • 2004/12/7 23:11

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


From the readme file -
Quote:
Must dos step 5:
5. To make the Popup Menu work, make sure that the <{$xoops_module_header}> is included in your theme.html



When I add <{$xoops_module_header}> to my theme html page my site doesn't build any pages - all urls are blank except for the background color. However, the drop down menus seem to work on IE 6.0.29 without the <{$xoops_module_header}> on the theme html.

What do I need to do?

Also is there an easy way to control the width of the viewtipic page? It is wider than I would like for my format.
Page I want to make narrower:
http://www.advenquest.com/modules/newbb/viewtopic.php?topic_id=9&forum=11

Thanks,

2
jdseymour
Re: NewBB 2.0 Final release

I will answer the first question, and leave the second for others that know better than I.

Make sure that you put <{$xoops_module_header}> between <head > and </head >, and not inside any java script.

3
bjbtexas
Re: NewBB 2.0 Final release
  • 2004/12/7 23:28

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


<head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}>-<{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->
<{
xoops_module_header}>
<
style type="text/css">
<!--
.
style7dana {
    
font-size6pt;
    
color#384A76;
    
font-familyArialHelveticasans-serif;
}
-->
</
style>
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
<
script type="text/javascript" src="http://www.lodging.com/java/datebox.js"></script>
<
script type="text/javascript" src="http://www.lodging.com/java/calendar.js"></script>

</
head>

It is???

4
rider
Re: NewBB 2.0 Final release
  • 2004/12/8 1:05

  • rider

  • Just popping in

  • Posts: 56

  • Since: 2003/6/18


Quote:

bjbtexas wrote:
<{xoops_module_header}>

It is???


Nope not quite.

It should be:

<{$xoops_module_header}>

5
bjbtexas
Re: NewBB 2.0 Final release
  • 2004/12/8 1:27

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


Duh! Thanks

So much for cut and paste being full proof!

Any ideas on how to make the width narrower?

Page I want to make narrower:
http://www.advenquest.com/modules/newbb/viewtopic.php?topic_id=9&forum=11

6
m0nty
Re: NewBB 2.0 Final release
  • 2004/12/8 2:56

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


Quote:
bjbtexas wrote:

<!-- RMV: added module header -->
<{xoops_module_header}>
<style type="text/css">
<!--
.style7dana {
font-size: 6pt;
color: #384A76;
font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
<{$xoops_module_header}>
<script type="text/javascript">


when it says you need to make sure <{$xoops_module_header}> is included in your theme, it doesn't mean it NEEDS to be added, only that you need to check that it is, if it isn't then you need to add it..

see above quote..

now u have added it twice to your theme file.. as it's already included in the theme here >

<!-- RMVadded module header -->
<{
xoops_module_header}>


thats the reason it worked ok before u added it..

with regards to your second question, all the widths and layout are done from the theme & style.css files..

note: in the newbb folder there is also a css file too, these are what you need to look in to change the widths..

7
brash
Re: NewBB 2.0 Final release
  • 2004/12/8 4:08

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Quote:

bjbtexas wrote:

Any ideas on how to make the width narrower?

Page I want to make narrower:
http://www.advenquest.com/modules/newbb/viewtopic.php?topic_id=9&forum=11


Find this code in newbb.css and edit the highlighted section to set your dynamic menu width

ul.newbb_level3 {
    
display:block;
    
margin:0px;
    
padding:0px;
    
border:0px;
    [
b][size=large]width:100px;[/size][/b]
    
border:0px solid #9d9da1;
    
background:#206A8A; 
    
list-style:none;
}




You might also want to change your li.newbb_folder element as well to something like below to make it a little more IE friendly .

li.newbb_folder {
    
position:relative;
    
padding:0px;
    
background-color: <your colour here>;
    
border1px solid <your colour here>;
    list-
style-positionoutside;
    
z-index:9;
}

Login

Who's Online

234 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits