1
mrphilong
wordbook hack uses koivi editor
  • 2007/5/7 11:55

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I searched but couldn't find any, please let me know if you can help.
www.UcChau.Net
www.XoopsViet.Org

2
tcnet
Re: wordbook hack uses koivi editor
  • 2007/5/7 12:44

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hack for Koivi WYSIWYG in Wordbook v1.16
Edit admin/entry.php around line 13:
// -- General Stuff -- //
include( "admin_header.php" );
// hack wysiwyg
include_once XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php";
// end hack


And around line 100:
//hack for wysiwyg
// $def_block = new XoopsFormDhtmlTextArea(_AM_WB_ENTRYDEF, 'definition', $definition, 15, 60 );
$def_block = new XoopsFormWysiwygTextArea(_AM_WB_ENTRYDEF'definition'$definition'100%''200px','');
//end hack


For WYSIWYG in frontside submit form edit include/storyform.inc.php around line 16:
include XOOPS_ROOT_PATH "/class/xoopsformloader.php";
// hack wysiwyg
include_once XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php";
// end hack


and around line 34
//$def_block = new XoopsFormDhtmlTextArea( _MD_WB_DEFINITION, 'definition', _MD_WB_WRITEHERE, 15, 50 );
//hack for wysiwyg   
$def_block = new XoopsFormWysiwygTextArea(_MD_WB_DEFINITION'definition'_MD_WB_WRITEHERE'100%''200px',''); 
// end hack

3
mrphilong
Re: wordbook hack uses koivi editor
  • 2007/5/7 13:17

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


This hack is for the admin's side, have you got one that is for the user's side? The admin's side works great with koivi, thanks for your help.
www.UcChau.Net
www.XoopsViet.Org

4
tcnet
Re: wordbook hack uses koivi editor
  • 2007/5/7 14:38

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The original post has been revised to include a hack for the front side submit form. See above.

5
mrphilong
Re: wordbook hack uses koivi editor
  • 2007/5/7 22:14

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

tcnet wrote:
The original post has been revised to include a hack for the front side submit form. See above.


You've made me a happy chap now, thankyou.
www.UcChau.Net
www.XoopsViet.Org

6
mrphilong
Re: koivi hack for lexikon?
  • 2007/7/13 11:49

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi tcnet,

I've upgraded wordbook to lexikon and wondering if you have a hack for the koivi for the admin side, the front side hack for wordbook can be use in lexikon but not the admin side.

many thanks.
www.UcChau.Net
www.XoopsViet.Org

Login

Who's Online

150 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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