Tikiwiki - Apply the wysiwyg editor in Article editor :: 2009/08/04 15:52

In tikiwki 3.1, there is no wysisyg option anywhere. So i edit the arcile editor php code and apply the wysiwyg editor.

lib/tiki-editor_article.tpl : 239 ~ 257

From

   <td>
    {tr}Body{/tr}
    <br />
    {include file="textareasize.tpl" area_name='body' formId='editpageform'}
    {if $prefs.quicktags_over_textarea neq 'y'}
     <br />
     {include file=tiki-edit_help_tool.tpl area_name='body' qtnum='2'}
    {/if}
   </td>
   <td>
    {if $prefs.quicktags_over_textarea eq 'y'}
     {include file=tiki-edit_help_tool.tpl area_name='body'}
    {/if}
  <textarea class="wikiedit" id="body" name="body" rows="{$rows}" cols="{$cols}" wrap="virtual">{$body|escape}</textarea>
    <input type="hidden" name="rows" value="{$rows}"/>
    <input type="hidden" name="cols" value="{$cols}"/>

To

   <td>
    {tr}Body{/tr}
    <br />
    {#include file="textareasize.tpl" area_name='body' formId='editpageform'}
    {if false && $prefs.quicktags_over_textarea neq 'y'}
     <br />
     {include file=tiki-edit_help_tool.tpl area_name='body' qtnum='2'}
    {/if}
   </td>
   <td>
    {if false && $prefs.quicktags_over_textarea eq 'y'}
     {include file=tiki-edit_help_tool.tpl area_name='body'}
    {/if}
    {editform Meat=$body InstanceName='body' ToolbarSet="Tiki"}
    <input type="hidden" name="rows" value="{$rows}"/>
    <input type="hidden" name="cols" value="{$cols}"/>
<!--    <textarea class="wikiedit" id="body" name="body" rows="{$rows}" cols="{$cols}" wrap="virtual">{$body|escape}</textarea>
    <input type="hidden" name="rows" value="{$rows}"/>
    <input type="hidden" name="cols" value="{$cols}"/>
-->
이올린에 북마크하기(0) 이올린에 추천하기(0)

2009/08/04 15:52 2009/08/04 15:52
Trackback Address :: http://www.foxwolf.net/gihun/trackback/46
↓↓↓ 거침없이 의견 남겨 주세요! ↓↓↓
[로그인][오픈아이디란?]
Name
Password
Homepage

Secret
< PREV |  1  |  ...  8  |  9  |  10  |  11  |  12  |  13  |  14  |  15  |  16  |  ...  39  |  NEXT >