Announcement

Collapse
No announcement yet.

Removing The Wrap PHP Tags Option In The WYSIWYG?

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

  • RobbieZ
    replied
    Originally posted by Jake Bunce View Post

    Or you can remove the button from the templates by editing this template:

    Admin CP -> Styles & Templates -> Style Manager -> -> Editor Templates -> editor_toolbar_wysiwyg

    Find and remove this code:

    Code:
                <if condition="$show['code_bbcode']">
                <td><div class="imagebutton" id="cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" alt="$vbphrase[wrap_code_tags]" width="21" height="20" /></div></td>
                </if>
    Will this just remove the image? Or disable the use of the code too?

    Plus I would comment it out, but that just me
    Last edited by RobbieZ; Tue 4th May '10, 2:46pm.

    Leave a comment:


  • Jake Bunce
    replied
    Oh, I see what you meant. You can disable the CODE tag in your:

    Admin CP -> vBulletin Options -> BB Code Settings -> Enabled Built-in BB Codes

    Or you can remove the button from the templates by editing this template:

    Admin CP -> Styles & Templates -> Style Manager -> -> Editor Templates -> editor_toolbar_wysiwyg

    Find and remove this code:

    Code:
    			<if condition="$show['code_bbcode']">
    			<td><div class="imagebutton" id="cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" alt="$vbphrase[wrap_code_tags]" width="21" height="20" /></div></td>
    			</if>

    Leave a comment:


  • Jake Bunce
    replied
    The [PHP] tag already doesn't wrap its contents. For example:

    PHP Code:
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

    Leave a comment:


  • MARTYB2K
    started a topic Removing The Wrap PHP Tags Option In The WYSIWYG?

    Removing The Wrap PHP Tags Option In The WYSIWYG?

    How do i remove this option?

    Thx...Martin.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X