Searching on Extended Attributes in Mura CMS Using the Feed API

CFML , ColdFusion , Mura CMS 14 Comments »

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...

SyntaxHighlighter Mango Plugin

CFML , ColdFusion , Mango Blog 37 Comments »

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...

The Quest for OO Knowledege

CFML , ColdFusion , OOP 3 Comments »

Wow. It's really been a while since I've posted anything here. What has finally jolted me out of my blogging inactivity was Ray Camden's latest blog post. Therein, Ray shares an email from a beleaguered CF developer ("Keith") who seems to be wondering if he's missing out by not being up to date on all the latest CF frameworks when he seems to be doing fine with "relatively simple CF code and CFCs."
The gist of Ray's sage advice is to basically do what works for you.

Read more...

Upgrading from Sava 5.0 to Mura 5.1

CFML , ColdFusion , Mura CMS No Comments »

Due to a trademark challenge, Blue River Interactive recently changed the name of their open source ColdFusion CMS from Sava to Mura. It seems like the name change was reflected in the codebase with the 5.1 release (for example, the "sava5" directory was renamed "mura"). I recently upgraded a couple of my sites from Sava V5.0 to Mura 5.1. I went through the steps I'd always taken to upgrade the CMS code but then quickly realized that a few extra steps were needed because of the name change. If anyone is having trouble, I just wanted to point out that the folks at Blue River updated their upgrade instructions on the Mura site to include these extra steps. Just go down to the bottom of the page you'll see an "Upgrading from Sava" section.

 

Dynamic Model Mappings in ColdBox

CFML , ColdBox , ColdFusion 13 Comments »

Model Integration is one of the latest features in the ColdBox framework. What this provides is, essentially, an DI container where you can define dependencies in your model objects by cfpropery annotations or setter methods and then just calling getModel("mymodelobject") in your controller gives you a fully initialized object. It also provides metadata-driven caching functionality. For more details, check out the ColdBox docs.

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds