1
colossus
Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 11:51

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


The following does not aply, please read next posts

Hi:

I'm testing XOOPS 2.4, and URL, MAIL, IMG, CODE and QUOTE buttons are not working (nothing happens if you click on them), at least with DHTMLArea editor.

I faced this problem some years ago, and it turned out to be some missing definitions in our old theme.. but it seems the problem is another now, because using default or Zetagenesis theme that are included in XOOPS 2.4 doesn't fix the issue.

Anyone can confirm this behaviour? Any ideas?

---
Versión XOOPS - XOOPS 2.4.0
Versión PHP - 5.2.5
Versión MySQL - 4.1.22-standard
Versión Server API - cgi
Versión OS - Linux
---

Thanks in advance, and regards: Colossus

2
Mamba
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 12:27

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Cannot reproduce it on my system.

Do you get any error messages?

3
colossus
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 18:48

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Quote:
Do you get any error messages?


None at all. I'll try to look into it, but for now I haven't a clue. Any help will be welcome.

Thanks for your interest, an regards: Clossus

4
colossus
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 19:56

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


The following does not apply, please read next posts

Hi:

I think I've got it.

In the line 67 of the archive include/formdhtmltextarea.js:

/* var text3 = prompt(enterImgWidthPhrase, "300");
         if ( text3.length>0 ) {
             text3 = " width="+text3;
         }else { */
             
text3 "";
         }


The commented code leaves one orphan curly bracket that is causing the problem. Should be like this:

/* var text3 = prompt(enterImgWidthPhrase, "300");
         if ( text3.length>0 ) {
             text3 = " width="+text3;
         }else { */ 
            
text3 "";
         
// }


That has fixed the problem for us.

Regards: Colossus

5
frankblack
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 20:24

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


??? In my x240 there is no commented code ...

6
colossus
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 20:41

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Quote:
In my x240 there is no commented code ...


What? I've downloaded it again, and you are right! I've left the archive as it is, and now it works ???

So, I'm afraid I messed up something when copying the files to the test subdir leaving and old hacked version of that file.

My fault then, please excuse me. Nothing wrong with XOOPS 2.4 here!!!

May be it would be better to delete this whole thread to avoid confusion...

Thanks, and regards: Colossus

7
frankblack
Re: Url, Mail, etc. buttons not working in Xoops 2.4
  • 2009/10/28 20:47

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


No need for excuses! Bet how many times I made a small mistake and then was wondering why nothing worked?

Login

Who's Online

213 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 213


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