PDA

View Full Version : $messagearea not displaying


reddyink
11-02-2007, 07:50 PM
Rightnow I have textarea for description field. I want to replace with $messagearea which has all font, size editor toolbar.
I tried using $messagearea in template
<div style="padding:$stylevar[formspacer]px">$messagearea</div>
but nothing is displayed.

I also tried putting
require_once(DIR . '/includes/functions_editor.php'); this line in my php page but no effect. Messagearea is not displaying in my page.

What else do I need to add to my php page to display.

Thanks in advance.

Analogpoint
11-02-2007, 08:17 PM
There's more to creating a vB editor than trying to display $messagearea. First include functions_editor.php, then use construct_edit_toolbar to create the editor, then you need to parse the correct editor template. There's a thread I think in the articles section about how to do this.

Edit: https://vborg.vbsupport.ru/showthread.php?t=135708