1
veggieryan
Koivi for Wiwimod?
  • 2004/12/25 15:43

  • veggieryan

  • Just popping in

  • Posts: 32

  • Since: 2004/6/19


Hey all..

I successfully have Koivi running for wf-channel, wf-sections, newbb2, and news 1.2...
its great for all the mac users to finally be able to use my site!
The last module I'd like to get converted to use this wonderful cross browser wysiwyg is the amazing wiwimod wiki.
I have tried to hack the index.php to no avail..
any ideas samuels?

thanks again!
ryan grace
www.realenergy.net
www.veggiecaravan.com
www.thefractal.org

2
veggieryan
Re: Koivi for Wiwimod?
  • 2004/12/27 4:35

  • veggieryan

  • Just popping in

  • Posts: 32

  • Since: 2004/6/19


i am replying since i cant edit my first post.. normal?
anyhow...
yeah!

got the wiwimod 0.6 wiki working with Koivi!

this is a dirty hack.. Xavier.. maybe you can clean it up.
noticed it sometimes doesent recognize camelcase if its on a seperate line with a space infront of the camelcase?(wierd)

other than that it seems pretty solid!

steps:
1.install the new Koivi class from the module dev forge.. follow all the steps.. replace the image_manager template and update the system module
2. select HTMLarea as your editor in the wiwi prefrences
3. edit your index.php in the wiwimod folder like this:
a. comment the whole check browser function lines 4-24(dont need it since wiwi is cross browser!!!)
b. around line 132 comment
Quote:

$t_area = new XoopsFormDhtmlTextArea('Content', 'body', $body, 37, 80);
$form->addElement($t_area);

and add this code
Quote:

include XOOPS_ROOT_PATH . "/class/xoopsformloader.php";
include XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php";
$t_area = new XoopsFormWysiwygTextArea('Content', 'body', $body, '100%', '400px','');
$form->addElement($t_area);


it works!
if someone can tell me how to do this cleaner that would be great...
i think its super important to have a cross browser wysiwyg wiki!
check mine out at
realenergy.net's wiki

i now have koivi working for wf-channel, wf-sections, news 1.2 and wiwimod! its the best!
thanks guys!
ryan.

ps.. why isnt an option on this forum?
pps.. why am i still getting the wierd failure to reload pages after submiting pages with koivi.. not a showstopper.. but would be nice to fix.. tried the hacks in the docs.. not cutting it...

3
samuels
Re: Koivi for Wiwimod?
  • 2004/12/27 13:26

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Sorry for not answering you before, i was out this days.
But congrats. You made it alone!!

Remember to tell me if you find some bug on koivi.
thx.

4
veggieryan
Re: Koivi for Wiwimod?
  • 2004/12/27 19:52

  • veggieryan

  • Just popping in

  • Posts: 32

  • Since: 2004/6/19


not sure if this is a koivi bug or just the way XOOPS is interpreting the code but look at how this numbered list appears as a bulleted list and has funky formating...
http://www.realenergy.net/modules/wiwimod/index.php?page=VaporizationConversionManual
now look at this one which was created with spaw and then some parts were added to the end by modifying with koivi.. its bulleted list appears correctly..
http://www.realenergy.net/modules/wiwimod/index.php?page=StraightVegetableOilDieselConversionManual

also,
i noticed that in IE explorer 6 sp2 i have to check the turn on/off paragraph mode so that i can center a title and not have it effect the paragraph below...
this is not the case in firefox 1.0... the check box isnt even there... this is kind of confusing for other people...

also, i still get the no page reload after submiting with firefox even after hacking as per the documentation...
any new solution to that? its affecting other pages as well... wierd...

thanks samuels!
koivi is making everyone very happy at
www.veggiecaravan.com..
all my mac users are using their site now!
thanks
ryan.

Login

Who's Online

162 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 162


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