tikiwki > add the Code Sniffit (SyntaxHighlighter 2.0) in wysiwig editor (fckedtior) :: 2009/08/06 15:18

without the Code insertion plugin in tikiwiki wysiwyg editor(fckeditor), it's very hard to add the source code especially makefile (it was translated as wiki code) 1. download SyntaxHIghter 2.0 in here http://psykoptic.com/blog/post/2008/12/01/Code-Syntax-Highlight-Plugin-for-FCKeditor.aspx#download (I download this link : http://psykoptic.com/userfiles/files/FCKEditor-syntaxhighlight_2.1.0.zip) 2. extract on window and upload "syntaxhighlight2" folder on /tikiwiki/lib/fckeditor_tiki/plugins make sure the fckplugin.js file position : tikiwiki/lib/fckeditor_tiki/plugins/syntaxhighlight2/fckplugin.js 3. add the plugin add code in tiki fckeditor template - /tikiwiki/templates/setup_fckeditor.tpl - I added blow code at 65 line (no meaning just i want) FCKConfig.Plugins.Add( 'syntaxhighlight2', 'en', _TikiRoot + 'lib/fckeditor_tiki/plugins/') ; 4. add the toolbar code on Tikiwiki admin web : /tikiwiki/tiki-admin.php?page=wysiwyg - in my case JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,-,OrderedList,UnorderedList,Outdent,Indent,Blockquote Bold,Italic,Underline,StrikeThrough,-,Subscript,Superscript,-,tikilink,Link,Unlink,Anchor,-,SyntaxHighLight2,-,Image,Flash PLEASE DO DOUBLE CHECK UPPER AND LOWER CHARTER! "SyntaxHightLight2" 5. It works!

이올린에 북마크하기(0) 이올린에 추천하기(0)

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

Secret
< PREV |  1  |  ...  6  |  7  |  8  |  9  |  10  |  11  |  12  |  13  |  14  |  ...  38  |  NEXT >