1
hrac
I need a hack for wfsection
  • 2003/10/22 9:05

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I need a hack for wfsection that enables to use WYSIWYG editor from ordinary submit article (not from admin panel) procedure.

I modified submit.php to enable to edit pages, but this hack cannot save pages to database :(

here is the hack:

case 'form':
default:

include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/class/wfscategory.php");
include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/class/wfsarticle.php");
include XOOPS_ROOT_PATH.'/header.php';

$article = new WfsArticle();
$article->editform();
include XOOPS_ROOT_PATH.'/footer.php';

Login

Who's Online

257 user(s) are online (200 user(s) are browsing Support Forums)


Members: 0


Guests: 257


more...

Donat-O-Meter

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

Latest GitHub Commits