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.

BBCodes In Admin


Print Track
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>

1 reply

The display_bbcode function requires you to put the id of the form element.
author Grimloch
forumSuspected Bugs and Errors - 8
replies2 posts
viewed192 times
activeLast updated on 5 months ago

Hot Questions

Druid
Latest Comment Panel
Druid - 7 posts
Basti
N
Incorrect Validation Code
Nomak - 25 posts
B
Index.php always broken
bobesama - 19 posts
starefossen
PHP 5.3/6 Comparability Problems
starefossen - 8 posts
R
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.
Users who participated in discussion: Chan, Grimloch