1
deka87
Profile module - DHTML text area field editor
  • 2012/11/12 9:26

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi there,

I've created a new custom filed in the profile module and set it to DHTML text area. The default editor is set to TinyMCE in the System module preferences for All Modules. However, when users edit their profile they see default DHTML editor instead of tinymce. Any fix or maybe I am missing something?

Thanks in advance!

2
irmtfan
Re: Profile module - DHTML text area field editor
  • 2012/11/13 6:19

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


You can see many topics about issues in profile module in this forum.
Also it use too much resources (CPU + RAM)
As I and many others said in the past:
Profile module needs a complete rewrite.
It has the highest priority after the core content module.
It means core team should not do anything and should not commit any code to SVN before rewriting profile module.

IMO we should encourage module developers to work as a team on some orphaned modules.
Currently many xoops developers works individually on some personal projects/modules and many of them has the least priority for xoops community.

IMO some developers just want to gain some credits by creating new low features, low performance modules instead of debuging old full feature ones.
If we can work together as a team we can have some strong modules match with community needs.

There are many examples of orphaned modules like profile, publisher, xhelp, ...

Trabis did a fantastic job for debuging some of them. unfortunately it seems Trabis leave xoops forever so we need more developers like Trabis.


Edit:
Deka87:
editor DHTML is hardcoded in profile.
please try this.
change in profile/class/field.php line 123:
$element = new XoopsFormDhtmlTextArea($caption$name$value1030);

with this:
$element = new XoopsFormEditor($caption$name$value1030);


The above is just a 2 second start. maybe you should define $name = "tinymce"



Login

Who's Online

219 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 219


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