1
jmass
Looking for a JavaScript Guru for colab
  • 2004/9/1 2:41

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


I have adapted what I think is a real nice spellchecker to Xoops. I have it up and working fine. The problem is that I can't seem to contain it in the module directory, but have to put it in a specific directory off the root of the web server.

I know this is due to the JavaScript and PHP code containing some hard coded links. I lack the skill to fix this, and after 12 hours I give up. It works for me.

I would like to release it, but want to resolve this first.

Anyone want to help?

JMass

2
DobePhat
Re: Looking for a JavaScript Guru for colab
  • 2004/9/1 3:45

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


wow, someone help this guy! That sounds like a great feature! Does it affect speed at all though?

3
Bassman
Re: Looking for a JavaScript Guru for colab
  • 2004/9/1 4:33

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


if you take a look at the Xoopstools module, all the "tools" are done with javascript - it may help you do what you want.

Each js script is called like this:
Quote:

include(XOOPS_ROOT_PATH."/modules/xoopstools/js/exPOPUP.js");

4
jmass
Re: Looking for a JavaScript Guru for colab
  • 2004/9/1 16:54

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


I will take a look at the Xoopstool...

As regards speed, excepting a little extra code to load where the block is shown, there should be no degradation. There is definetly no DB impact. The only thing I can think of is aspells processor usage, which should not be much.

BTW - This module requires aspell and php compiled with aspell support. This was no issue for me, on my Gentoo Linux box. But your mileage may vary.

JMass

Login

Who's Online

337 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 337


more...

Donat-O-Meter

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

Latest GitHub Commits