PEAK XOOPS - Re: How to change PiCal Editor in englishin japanese

Re: How to change PiCal Editor

List posts in the topic

none Re: How to change PiCal Editor

msg# 1.1.1.2.1.2.1
depth:
6
Previous post - Next post | Parent - No child | Posted on 2009/2/17 20:48 | Last modified
zorro87  上等兵 From: France  Posts: 32
Hi!

Thank you!


In the same way, I’m trying to add Tiny Editor to Pical (Xoops 2.3.x)

Here is what I changed to piCal/class/piCal.php

Line 1557 & 1814
//		$description = $this->textarea_sanitizer_for_show( $event->description ) ;
      $description = $event->description;


line 2084:

//		xoopsCodeTarea("description_text",50,6);
 include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
 include_once XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php";
 $wysiwyg_text_area= new XoopsFormTinyeditorTextArea( '', 'description_text', $description, '100%', '400px');
 echo $wysiwyg_text_area->render();

It works: Description area appears now with Tiny Editor.
But the text is not saved.

What did I miss?

Thank you for your help!

@+
Z
Votes:15 Average:8.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!