1
anderssk
How to disable javescript in adminmenu
  • 2007/9/10 6:49

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


Hi'

Is it possibel to disable the popup javescritp in the administration menu?

2
mcvegan
Re: How to disable javescript in adminmenu
  • 2007/9/10 13:27

  • mcvegan

  • Just popping in

  • Posts: 10

  • Since: 2007/8/15


Hello, in your include directory of XOOPS there is a file layersmenu.php . Edit this file with a /* in the beginnen of that file end at the end */ then the menu will be disabled. There will be better ways to do this, but this works fast and easy :)

3
mortuk
Re: How to disable javescript in adminmenu
  • 2007/9/10 13:31

  • mortuk

  • Not too shy to talk

  • Posts: 122

  • Since: 2005/12/13


iff you do this - some options wont work - as they only appear in this menu in some moddules!

4
DavidFarr
Re: How to disable javescript in adminmenu
  • 2007/9/10 15:20

  • DavidFarr

  • Just popping in

  • Posts: 3

  • Since: 2007/9/2 1


Being short of time, I did this quick hack to layersmenu.js:-

else {
if (DOM) {
document.getElementById(menuName).style.visibility = "hidden";
} else if (NS4) {
document.layers[menuName].visibility = "hide";
} else {
document.all[menuName].style.visibility = "hidden";
}
}
Effectively making it always hidden.

Login

Who's Online

203 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits