1
novlang1984
BlocksAdmin module and formdhtmltextarea.php

I would like to use myBlocksadmin (GiJoe module). It works with Xoops 2.5.1 (except some defines to replace since System is 2.0)

But to display a rich text editor to edit my blocks, I have to hack /class/xoopsform/formdhtmltextarea.php like this
// HACK : var $htmlEditor = array();
    
var $htmlEditor = array( 'XoopsFormCkeditor''/class/xoopseditor/ckeditor/ckeditor.php' );


... is it safe ? No danger ?

Thanks

2
novlang1984
Re: BlocksAdmin module and formdhtmltextarea.php

hello,

Question is still there... if someone have the answer, he's welcome

---

About missing defines :

Step 01

> in /blocksadmin folder, search _MD_AM_ and replace by _I_WANNA_MORALIZE_CAPITALISM (or what you want)

Step 02

> in blocksadmin folder, search _AM_ and replace by _AM_SYSTEM_BLOCKS_

Step 03

> in blocksadmin folder, search _I_WANNA_MORALIZE_CAPITALISM and replace by _AM_SYSTEM_

Step 04

In blockadmin/language/english/modinfo.php, add these defines
Quote:
define( '_AM_SYSTEM_BLOCKS_BADMIN' , 'Blocks administration' );
define( '_AM_SYSTEM_BLOCKS_SIDE' , 'Side' );
define( '_AM_SYSTEM_BLOCKS_ACTION', 'Actions' );
define( '_AM_SYSTEM_BLOCKS_BLKTYPE', 'Position' );


... it seems to do the trick

Login

Username:
Password:

Lost Password? Register now!

Who's Online

63 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 63


more...

Donat-O-Meter

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

Latest GitHub Commits