HTTP/1.1 // 38.107.191.85 // // 53217 // // CCBot/1.0 (+http://www.commoncrawl.org/bot.html)

Wordtracker Keyword Research

Archive for the 'MODx' Category

Book Review: MODx Web Development from Packt Publishing

Dec
31
2009

I want to be honest with you, I’ve kind of been putting off writing my review of MODx Web Development from Packt Publishing. I actually finished the book about a week ago and just felt like I had to give it some distance so I didn’t totally bash this book. It’s not really [...]


More 3 Comments » 777 views
Posted in: MODx, Reviews

MODx Chunk Cache Plugin

Oct
22
2009

I needed to cache a chunk as a file so that another application (an ecommerce store) could include that file as well. I wrote this plugin that does that:

$chunks = array(‘StoreMenu’); // array of chunks that need to be cached
foreach($chunks as $v)
{
$res = $modx->db->select("snippet","modx_site_htmlsnippets","name = ‘$v’");
if($modx->db->getRecordCount($res))
{
[...]


More Comment Here » 815 views
Posted in: MODx

New Tool: MODx Snippet Call2PHP

Oct
13
2009

I added a new tool today for MODx users that turns a MODx snippet call into a snippet call using the MODx API function runSnippet(). It’s a pretty simple tool, but I made it because I hate doing this manually (it’s just too tedious). Enjoy.
MODx Snippet Call2PHP


More Comment Here » 1,207 views
Posted in: Announcements, MODx

MODx Sucks

Oct
12
2009

So I was looking at my Google Webmaster Tools this morning for devtrench.com and I throught it was pretty funny to see that this site ranks #1 for “modx sucks“.
Just for clarity I wanted to write this post to let everyone know that my opinion is that MODx doesn’t suck, but that there are few [...]


More 8 Comments » 1,354 views
Posted in: MODx

Things that Suck About MODx CMS

Feb
28
2008

This post started out titled Pros and Cons of MODx CMS, but today I’m rewriting it because I’m really not in the mood to give you a bunch of fluff about why MODx is great and then give you the bad stuff. Flat out, I think MODx is the best CMS for my projects [...]


More 21 Comments » 12,510 views
Posted in: MODx, Programming

How To Use a MODx Plugin to Cache Snippets

Jan
28
2008

I don’t want to take credit for this, but I definitely wanted to blog about it because I think it is a big deal. In a forum post I made on modxcms.com, ganeshXL came up with an awesome way to cache snippet output with a MODx plugin. Here is what ganeshXL wrote:

create a [...]


More 3 Comments » 3,481 views
Posted in: MODx, Programming

Automation Tip: How To Auto Set Copyright Years*

Jan
11
2008

Now that it’s January 2008 some of my clients are noticing that the year in their copyright statements don’t reflect 2008. Now, I always set this to drop in a dynamic value, but that wasn’t the case before I was hired. This is such an easy thing to set up when you are developing [...]


More 2 Comments » 2,100 views
Posted in: MODx, Programming

Never write an email form report from scratch again!

Sep
28
2007

If you’re a programmer you probably get the request to create a form that sends an email somewhere. Writing forms is probably the task I hate doing the most because it can be so tedious. There’s the initial form creation, the validation, and finally the email template to stick the data into and [...]


More Comment Here » 1,960 views
Posted in: Announcements, MODx

Auto Site Start MODx Resource Install Script

Sep
12
2007

A while back I posted an sql install script that I use for MODx that I called ResourceInstaller. My plans of creating a module based around this script haven’t materialized into anything yet, but the script has evolved a bit. I’ve renamed the sql script to AutoSiteStart because there was another project named [...]


More 2 Comments » 2,911 views
Posted in: MODx, Programming

MODx “Invalid XML response from connector” error

Jul
20
2007

This is an annoying error that you can get in MODx when uploading new files via the FCK Image Browser, and I’ve only ever seen it in the Internet Explorer browser. The fix for it is quite simple though…

Open manager/media/browser/mcpuk/connectors/php/Commands/GetFileUploadProgress.php
After //Progresshandler not specified, return generic response (mine is line 46) insert:
header (“content-type: text/xml”);
echo “< [...]


More 1 Comment » 3,486 views
Posted in: MODx, Programming

Page 1 of 212