SyntaxHighlighter Wrapper CSModule 1.1

by Administrator 10. March 2009 05:29

The SyntaxHighlighter CSModule 1.1 is release .

This version not only a small patch , also include syntaxhl tiny_mce plugins.

Original syntaxhl tiny_mce plugins is wrtten by Richard Grundy , this plugins can help insert code into editor.

 

Download it : SyntaxHighlighter CSModule 1.1

Tags:

CodeHighlight for CommunityServer | CommunityServer

Comments

3/17/2009 2:43:30 PM #

Love the code highlight module, particularly the tinymce plugin - thanks a lot.

Two things I noticed when installing your modules.

1. Instead of directly modifying communityserver.config, it's better to use an override file - below are the overrides I used

  <!-- Code Highlighting CSModule -->
  <Override xpath="/CommunityServer/CSModules" mode="add" where="end">
    <add name="SyntaxHighlighter" type="CommunityServer.SyntaxHighlighterWrapper.SyntaxHighlighterModule, CommunityServer.SyntaxHighlighterWrapper" />
  </Override>

  <!--Adding Highlight plugin & button to tinymce -->
  <Override xpath="/CommunityServer/Core/editors/editor[@name='Standard']/editorOption[@name='plugins']" mode="change" name="value" value="'insertmedia,paste,smilies,iespell,safari,insertpagelink,syntaxhl'" />
  <Override xpath="/CommunityServer/Core/editors/editor[@name='Standard']/editorOption[@name='theme_advanced_buttons1_add']" mode="change" name="value" value="'syntaxhl,iespell,separator,formatselect'" />

  <Override xpath="/CommunityServer/Core/editors/editor[@name='Enhanced']/editorOption[@name='plugins']" mode="change" name="value" value="'insertmedia,paste,smilies,iespell,safari,insertpagelink,syntaxhl'" />
  <Override xpath="/CommunityServer/Core/editors/editor[@name='Enhanced']/editorOption[@name='theme_advanced_buttons2']" mode="change" name="value" value="'bold,italic,underline,strikethrough,separator,indent,outdent,separator,bullist,numlist,table,separator,link,unlink,insertmedia,image,smilies,separator,syntaxhl'" />

for more details on _override.config files have a look at docswiki.communityserver.com/.../...ide-files.aspx


2. When installing the syntaxhl tinymce plugin, you say to copy the plugin to \bin\tiny_mce\plugins .  That is WRONG, you should instead copy to \tiny_mce\plugins .

Alex Crome United Kingdom

3/22/2009 5:37:26 AM #

Thanks Alex Crome , I add the CommunityServer_override.config in deploy package.

Admin

3/22/2009 7:20:39 AM #

Trackback from 技術論壇

SyntaxHighlighter Wrapper CSModule 1.1

技術論壇

3/22/2009 11:46:57 PM #

Trackback from 技術論壇

SyntaxHighlighter Wrapper CSModule 1.1

技術論壇

4/22/2009 11:39:40 PM #

Trackback from Community Server

SyntaxHighlighter Wrapper CSModule 1.1

Community Server

4/25/2009 8:48:59 AM #

great post
i like it

moving

5/16/2009 2:32:34 PM #

thats a prettey post
thank u

jammer

5/16/2009 2:33:01 PM #

We appriciate it
many good skiils seen here

moving company

6/4/2009 8:24:41 PM #

nice syntax.. thanks

King sulumits

6/19/2009 1:53:47 PM #

hmmmm i'm hungry.  Ooops, focus matthew focus matthew focus.   Just browsing, thinking of food and browsing.  Post some more Smile MunchMunch

franchises for sale

6/30/2009 5:45:17 AM #

Hello, this is my first time i visit here. keep up the good work.

cariaja

7/12/2009 4:57:07 AM #

Nice blog, just bookmarked it for later reference

cheap laptop sales

7/19/2009 8:25:08 AM #

Thanks a lot for this post

Hoodia Slankepiller

7/30/2009 7:01:17 PM #

thank you for useful information

stop dreaming start action

8/7/2009 9:23:20 PM #

One keyboard click often leads to another treasure. Great post, man - Thanks

Extended Stay San Diego

5/10/2010 2:57:37 PM #

Pingback from condosencinitas.com

san diego car insurance

condosencinitas.com

5/20/2010 8:53:33 PM #

Pingback from 316.jordanbrandallamerican.com

Order Sundance Plymouth Duster, 1992 Plymouth Sundance Miles Per Gallon

316.jordanbrandallamerican.com

Add comment




biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.6.1.0
Theme by Extensive SEO

About the site

Update.to is design by Ruri software.

 

This site support software information and download of Ruri software.

 

Most software are "Free" and you can direct download it ( no register and no sign anything )

ADBanner