1
csloh
GREEN TEA Theme has a missing JAVASCRIPT header!
  • 2004/12/10 6:25

  • csloh

  • Just popping in

  • Posts: 20

  • Since: 2003/12/17


I have downloaded the "Green Tea" Theme, but found that my FORUM (NewBB 2.0 Final) was broken... After some searching around, I found that the theme.html of GreenTea is missing the JAVASCRIPT Header, thus the PM, Smilies and dropdown menus in the NewBB 2.0 will not work!

It also does not have the
<{$xoops_module_header}>

section which is needed for NEWBB 2.0. Must be an old theme, no?

Any way, Here's how to fix it.

Look for the closing "head" tag: i.e. the one with the / slash before the word head (/head) in theme.html and add the following lines right above it. So that it reads like this:
<{$xoops_module_header}> 

<
script type="text/javascript" language="javascript">
<!--
<{
$xoops_js}>
//-->
</script>
</
head>


This solution should work with themes that are "misbehaving" under NEWBB2.0.

Hope this help.

Login

Who's Online

157 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits