Dec 16
I was working on a web site which uses Mura CMS. I needed to publish some videos on the site and instead of using my bandwidth, I decided to stream them from YouTube. I didn't see any way to do this with Mura out of the box, so I decided to code up a little plugin which I think others might find useful. This plugin enables you to embed videos from YouTube, Yahoo, Vimeo, or MetaCafe using a simple tag syntax which you can place right into Mura's WYSIWYG content editor.
Read more...
Nov 2
A little while ago, I released a SyntaxHighlighter Plugin for Mango Blog. Although I was fairly happy with my first Mango plugin, I still thought there was room for improvement. Certain things about it bugged me, so I finally dug in and did a complete rewrite. So I am very pleased to release version 2.0 of the plugin! Here is a list of the improvements introduced in this version:
- It uses the latest version (2.1.364) of Alex Gorbatchev's SyntaxHighlighter script. The previous version of the plugin used the deprecated version 1.5.1.
- I eliminated the dependency on the syntaxhl TinyMCE plugin (which added a syntaxhiglighter button to the WYSIWYG editor) to do the syntax highlighting. I found that using syntaxhl was kind of clunky and now you can simply insert code by pasting it directly into the editor between a pair of [code][/code] tags (without disabling TinyMCE or going into "source view"). Therefore, this new version won't add a syntaxhighlighter button to the editor. Please read the README file (included in the download) for more details on how to use the plugin.
- Along with the latest version of the SyntaxHighlighter script comes configurable themes to change the look of the syntax highlighting as well as several new syntax "brushes" (including Groovy, Scala, Erlang, and a few others).
- "Legacy Mode" can be enabled for those who used the previous version of my plugin (or just SyntaxHighlighter 1.5.1 directly) and have a lot of existing posts. This setting will make the plugin backward-compatible.
- The plugin itself was refactored to take advantage of the enhancements to Mango's plugin architecture that were introduced with version 1.3 of Mango.
I hope people find this useful. There are more details in the README file included with the plugin, so make sure to read that so you can take advantage of the new features. People upgrading from version 1 of my plugin should especially read it.
Please note: this plugin was made so that authors wouldn't have to switch back and forth between WYSIWYG mode and HTML mode to add code blocks in their posts. This plugin will ONLY work properly if the code blocks are entered in WYSIWIG mode (you should see a tool bar at the top of the content editor). If the top of your content editor looks like this:

Click on the little pencil-and-paper icon to get back into WYSIWIG mode for it to look like this:

And you should be good to go!
Get the SyntaxHighLighter Plugin
- Plugin version:
- 2.0.2
- Last Updated:
- 2011-01-31
- Requires:
- Mango Blog 1.3+
- Auto-install URL:
- https://github.com/downloads/tony-garcia/SyntaxHighlighter-Mango-Plugin/syntaxhighlighter-mango-plugin.zip
Aug 26
From all the blog posts on the subject, it seems like CFUnited was an awesome conference this year. Unfortunately I was unable to go. However, all is not lost. Brian Rinaldi has put together what is looking to be an amazing one-day conference on November 13 -- RIA Unleashed: Boston!
Read more...
Aug 21
One of Mura CMS's nifty features is the Class Extension Manager. From the Mura docs, this tool "allows you to create 'attribute sets' of strictly-typed data which extend the base types (users, pages, portals, etc.)." Basically, with it you can create subtypes of content (or user) types and "extend" them with custom attributes if the need arises. For an example of how to use this tool, check out this post in the Mura forums.
While working with Mura, one of the things I discovered is that Mura's built-in search component only searches in the default fields of content objects.
Read more...
Aug 4
Note: This version of the SyntaxHighlighter plugin has been
deprecated. I've left this post up for purely historical documentation.
The new version works in a COMPLETELY different manner so disregard
this entire post. For info on the latest version and the download, go
to this post.
I've been using SyntaxHighlighter JavaScript code formatter for my blog posts. They way I integrated it into my blog was by basically hacking my Mango installation. I hard-coded the script calls in my Mango skin and I also added the syntaxhl TinyMCE plugin to my blog post editor in the admin (manually changing the TinyMCE configuration in the process). I recently upgraded my Mango installation to the latest version (1.3.1) which, of course, wiped out a lot of the hacks for the SyntaxHighlighter functionality (which, of course is the main downside to this way of doing things). I've been meaning to get more into Mango plugin development, so I saw this as an opportunity to write my first Mango plugin. So I present to you the SyntaxHighlighter Mango Plugin.
Read more...
10-8-2010
8-30-2010
6-1-2010
4-21-2010
4-1-2010