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

Re: How to change PiCal Editor

List posts in the topic

report Re: How to change PiCal Editor

msg# 1.1.1.2.1.2
depth:
5
Previous post - Next post | Parent - Children.1 .2 | Posted on 2005/3/12 4:29
Rhomal  Private   Posts: 4
Well since were not apparently going to get any help here I went to the man himself. Sam who wrote Koivi, he informed me how to hack Pical to insert his editor. Here are the directions:

This is the steps for adding koivi editor to the ÅÂdd and ÅÆdit Calendar event:

Open modules/pical/class/pical.php

About line 1938 youÃÍl find this line:

xoopsCodeTarea("description_text",50,6);

Replace by:

include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";

include_once XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php";

$wysiwyg_text_area= new XoopsFormWysiwygTextArea( '', 'description_text', $description, '100%', '400px');

echo $wysiwyg_text_area->render();
Votes:33 Average:7.58

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!