Reply New Topic
2011/6/23 2:46:05
#1
Offline
Webmaster

Adding sourcecode styling to the Wiki theme

We've updated the Wiki site, and some work is being done to get more content in, and also to update the content that is there.

We need to have some extra functionalities in the theme at the moment. Some parts of the site include quit a bit of sourcecode. I've tried to integrate SyntaxHighlighter to take care of these, but I haven't been able to get it work.

also, many page contain images. I would like to have a zoomin functionality, so taht we can show the images in a way that doesn't break the layout, but still have the ability to show large images with enough detail to have value for the reader.

Would anyone be able to help us out on this please? I noticed that beautyOfCode is a jQuery plugin that is based on SyntaxHighlighter, making it XHTML compliant, so using that is preferred over plain syntaxHightlighter. I'd like to leverage jQuery more, and XHTML compliance should also be a goal for themes.

Other solutions using jQuery are of course also fine as well.

Looking forward to the new functionality!

_________________

Me on OpenHub


2011/10/19 10:05:26
#2
Offline
Home away from home

Re: Adding sourcecode styling to the Wiki theme



2011/10/19 22:20:24
#3
Offline
Webmaster

Re: Adding sourcecode styling to the Wiki theme

great, I saw your post and was planning on checking if it would work with the wiki.

Thanks!

_________________

Me on OpenHub


2011/10/21 9:20:32
#4
Offline
Home away from home

Re: Adding sourcecode styling to the Wiki theme

More info
Using 1.3, SyntaxHighlighter from http://alexgorbatchev.com/ is not working in blocks created with DHTML or TinyEditor. It works on HTML blocks created with EditArea
In content, I tested several modules and does not work....but yes with impression 1.1rc2 because that release has deleted DHTML editor support.
Thinking in iCMS 2.0 (as DHTML will be deleted) perhaps SyntaxHighlighter will work. In the meantime the solution would be hack SimplyWiki module.


2011/10/25 1:25:04
#5
Offline
Webmaster

Re: Adding sourcecode styling to the Wiki theme

That looks like a very good suggestion. Thanks!

_________________

Me on OpenHub


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.