11
jdhf99
Re: How to use wysiwyg editor in module
  • 2005/8/27 16:19

  • jdhf99

  • Just popping in

  • Posts: 6

  • Since: 2004/9/9 1


Hey, this thread helped me alot, I added wysiwyg to my news posting, as my site is a poetry site, but is there a way to also get it working in the EDIT NEWS section when it brings you into the ADMIN section for editing? Right now it still uses the html code display, so any news{poem} item with a lot of editing comes up with lots of code and is hard to edit.

I am using XOOPS 2.0.10

The file /news/admin/storyform.inc is what I think I need to edit, but its layout differs greatly form the /news/include/storyform.inc file.

www.trupoets.com/xoops

12
Vigor28
Re: How to use wysiwyg editor in module
  • 2005/8/27 18:27

  • Vigor28

  • Just popping in

  • Posts: 2

  • Since: 2005/2/28


Xoops 2.0.x SPAW 1.4 as module.

/news/admin/storyform.inc


if ( !preg_match("/index.php/", $HTTP_SERVER_VARS['PHP_SELF']) ) {
exit("Access Denied");
}
include XOOPS_ROOT_PATH."/include/xoopscodes.php";
$module_handler = &xoops_gethandler('module');$module = &$module_handler->getByDirname('spaw');if (is_object($module) && $module->getVar('isactive')){ include_once XOOPS_ROOT_PATH . "/modules/spaw/spaw_control.class.php";}
if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
}
?>
<table><tr><td>
<form action='<?php echo $submit_page;?>' method='post' name='coolsus'>

13
batevladi
Re: How to use wysiwyg editor in module
  • 2005/10/17 13:43

  • batevladi

  • Just popping in

  • Posts: 7

  • Since: 2005/8/16


Hi!

Can anyone tell me if it is possible to use any of the WYSIWYG editor in other browsers than Internet Explorer, I have not been able to do that so far...

Thank you!
Vladimir

Login

Who's Online

154 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 154


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