Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Grimloch

BBCodes In Admin

by Grimloch, Last updated on 2 months ago in Suspected Bugs and Errors - 8
I have a small problem with an edit script which runs in admin mode. The bbcode insertion will not work in the text area field. It simply reloads the page destroying all my previous input to the form. Here is the code line:
<td>".display_bbcodes("editform", "event_desc")."</td>

The form name is 'editform' and the text area field is 'event_desc' ... am I doing this wrong? This is version 8.00.00

Merged on 02/03/2019:
Nevermind guys; I figured out my mistake by looking at 'includes/bbcode_include' script.
<td>".display_bbcodes("98%", "event_desc", "editform")."</td>
Energy can neither be created nor destroyed; only transformed !
The display_bbcode function requires you to put the id of the form element.
Lead Developer of PHP-Fusion
Developer Tweet: https://twitter.com/phpfusion_tweet
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.