Announcement

Collapse
No announcement yet.

Editor Buttons on New Row

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Editor Buttons on New Row

    I made a few new images for some custom BBC codes just added to the forum, but I need to add them to a separate row. I see the where the standard buttons are in the Editor Templates, but no I have no clue where to look for the custom buttons. Any ideas?
    sigpic

  • #2
    Wow. I'm a little surprised I didn't see this at first. My mind is jello. Here's what I ended up doing.

    I found the template editor_toolbar_wysiwyg and found $vBeditTemplate[extrabuttons]. I moved it down just a bit below the <!-- / second control row --> and created a third control row like so:

    <td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" /></td>
    <td><div class="imagebutton" id="cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" alt="$vbphrase[wrap_quote_tags]" width="21" height="20" /></div></td>


    </tr>
    </table>
    </div>
    <!-- / second control row -->


    <!-- third control row -->
    <div class="controlholder">
    <table cellpadding="0" cellspacing="0" border="0">
    <tr>

    $vBeditTemplate[extrabuttons]

    </tr>
    </table>
    </div>
    <!-- / third control row -->


    <!-- end control bar --></div><!-- / end control bar -->
    It seems to be working. Any reason anyone can think of why I shouldn't use this?
    sigpic

    Comment


    • #3
      There are no problems with doing that.
      Kerry-Anne :)

      Twitter Blog

      www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

      Comment


      • #4
        Thank you Kerry-Anne. I try to make educated guesses, but I never know what effect I'm going to have on things poking around in there.
        sigpic

        Comment

        Loading...
        Working...
        X