1
Zorg44
Adding text editor and xmilies to a field
  • 2007/1/29 5:35

  • Zorg44

  • Just popping in

  • Posts: 16

  • Since: 2006/10/16


I am working on upgrading myreviews module.

Myreviews has no text editor implementd, but writing the XOOPS code works. SO what is missing is only the graphical part of it, as for the field message in this forum (URL, pic manager, buttons for bold, italic, ... and the smilies under it).

I looked in the mydownloads module to see how it is working :

I saw this :

Quote:
ob_start();
xoopsCodeTarea("message",37,8);
$xoopsTpl->assign('xoops_codes', ob_get_contents());
ob_end_clean();
ob_start();
xoopsSmilies("message");
$xoopsTpl->assign('xoops_smilies', ob_get_contents());
ob_end_clean();


I tried to add this in the module, but it does not work properly : nothing happens.

In the pmlite.php file, I saw this code :

Quote:
xoopsCodeTarea("message",37,8);
xoopsSmilies("message");


Could anyone help me out, and give me a short help, so that I can carry this out ?

Thanx

Zorg44
---
http://www.questionphoto.net

Login

Who's Online

439 user(s) are online (300 user(s) are browsing Support Forums)


Members: 0


Guests: 439


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits