PEAK XOOPS - wysiwyg editor in englishin japanese

wysiwyg editor

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/22 3:46
cerbero  办霹始   Posts: 14
Anyones knows how can i implement the "inbetween editor" on tinyd module?

Thanks a lot
Votes:15 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/23 4:45
GIJOE  黎扦烦菱   Posts: 4110
see the document.

upload common/ inside the archive of TinyD into just under XOOPS_ROOT_PATH/ .
Votes:19 Average:6.84

question Re: wysiwyg editor

msg# 1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/23 17:52
cerbero  办霹始   Posts: 14
Dear gijoe, i think i haven't explained clear enough, my interest is to use the " inbetween editor", not the "spaw editor".

thanks for your attenttion
Votes:16 Average:3.13

question Re: wysiwyg editor

msg# 1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/24 3:15
GIJOE  黎扦烦菱   Posts: 4110
Which editor do you want?

At least, wysiwyg editors in xoops core 2.2.3 obviously have some vulnerabilities. (Though I don't check the codes of 2.2.4)

I won't apply such doubtful editors.
(Since this SPAW was fixed radically by nobunobu, I can believe it)
-------------------------------
(2006/3/10 appended)
This post was based on my misunderstanding that "inbetween" means wysiwyg editors in XOOPS2.2.3/class

Since I don't know "inbetween" editor at all, my post does not mension about "inbetween is vulnerable or not".
Votes:21 Average:6.19

question Re: wysiwyg editor

msg# 1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/24 3:19
cerbero  办霹始   Posts: 14
The wysiwyg editor i said is:

InbetweenInbetween

that…s a module adaptation from TinyMCE 2.0.3 wich offer the option to make differents toolsets by groups.
thanks for your help GIJOE
Votes:25 Average:5.20

question Re: wysiwyg editor

msg# 1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/2/24 3:23
GIJOE  黎扦烦菱   Posts: 4110
If you know the wysiwyg editor well, it is easy to implement it.

Just modify this (perhaps).
line 423 of admin/index.php
	// content body
	$spaw_flag = false ;
	if( ! empty( $_GET['usespaw'] ) ) {
		// SPAW Config
		include XOOPS_ROOT_PATH.'/common/spaw/spaw_control.class.php' ;
		if( check_browser_can_use_spaw() ) {
			ob_start() ;
			$sw = new SPAW_Wysiwyg( 'message' , $message ) ;
			$sw->show() ;
			$form->addElement( new XoopsFormLabel( _TC_CONTENT , ob_get_contents() ) ) ;
			ob_end_clean() ;
			$spaw_flag = true ;
		}
	}
Votes:22 Average:4.55

question Re: wysiwyg editor

msg# 1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/24 3:29
cerbero  办霹始   Posts: 14
Ok, i'll try this and give you report, thanks a lot
Votes:27 Average:5.19

question Re: wysiwyg editor

msg# 1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2006/3/2 2:35
cerbero  办霹始   Posts: 14
Sorry, i cant, i must surrender
Votes:8 Average:0.00

question Re: wysiwyg editor

msg# 1.1.1.1.1.1.2
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/3 4:06
domecc  企霹始   Posts: 3
//Original Code¨admin/index.php, line 423-435
	$spaw_flag = false ;
	if( ! empty( $_GET['usespaw'] ) ) {
		// SPAW Config
		include XOOPS_ROOT_PATH.'/common/spaw/spaw_control.class.php' ;
		if( check_browser_can_use_spaw() ) {
			ob_start() ;
			$sw = new SPAW_Wysiwyg( 'message' , $message ) ;
			$sw->show() ;
			$form->addElement( new XoopsFormLabel( _TC_CONTENT , ob_get_contents() ) ) ;
			ob_end_clean() ;
			$spaw_flag = true ;
		}
	}

// Modified Code¨replace the upper code with the following
	$spaw_flag = false ;
	if( ! empty( $_GET['usespaw'] ) ) {
		include_once XOOPS_ROOT_PATH."/class/xoopseditor/inbetween/forminbetweentextarea.php";
		$form->addElement(new XoopsFormInbetweenTextArea(array('caption'=> _TC_CONTENT, 'name'=>'message',  'value'=>htmlspecialchars( $message , ENT_QUOTES ), 'width'=>'100%', 'height'=>'450px')));
		$spaw_flag = true ;
	}
Votes:9 Average:8.89

question Re: wysiwyg editor

msg# 1.1.1.1.1.1.2.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/3 16:44
cerbero  办霹始   Posts: 14
thanks a lot domecc
Votes:7 Average:0.00

question Re: wysiwyg editor

msg# 1.1.1.1.1.1.2.1.1
Previous post - Next post | Parent - No child | Posted on 2006/7/2 14:30
amolas  企霹始   Posts: 1
Hi,

I am very new to Xoops. This solution looks not working for me. After changing index.php,
I go to tinyd add content
click on spaw
nothing happens. current small RTF editor is replaced by blank page

I was expecting it should start wysiwyg editor on screen but did not.
just to note. there is no folder called Xoopseditor under /class

What could be wrong.
Votes:7 Average:8.57

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!