Modx Hack
10 October 2008

I write this post mainly for my own benefit so I can have somewhere to go back and reference when I need to do this again one year from now after I have forgotten what it was I did.

At work we use Modx a lot for CMS projects. One cool but annoying feature is the "QuickEdit" bar that allows you to make page edits from the page instead of from the manager. The problem is that the quick edit bar uses a Javascript library that often breaks other Javascript on your site - but only if you're currently logged into the manager. Which means, you often won't be able to test while you're logged in and making changes, that you need to test.

Here is the hack to remove the bar.
Edit

assets/modules/quick_edit/output.class.inc.php

In the function, mergeLinks change $allowed=true; to $allowed=false;

Politics
03 October 2008

You know the media has next to nothing on you (Harper) when the press is running stories about how much public affection you show your kids.

http://cnews.canoe.ca/CNEWS/Canada/CanadaVotes/News/2008/09/30/6929886-cp.html

Laptop cooling
02 October 2008

I finished my DIY laptop cooling device. I added telescoping rods to keep everything together and provide an adjustable platform.

What do you think?

Pie Chart
26 September 2008

This is hilarious! Why is chart humor so funny?

Tags


Fatal error: Uncaught Error: Undefined constant "Math" in /home/sgreimer/stevenreimer.com/includes/classes/TagCloud.class.php:188 Stack trace: #0 /home/sgreimer/stevenreimer.com/templates/_includes/sidebar.php(52): TagCloud->showCloud() #1 /home/sgreimer/stevenreimer.com/templates/index.tpl.php(25): include('/home/sgreimer/...') #2 /home/sgreimer/stevenreimer.com/includes/Page.class.php(412): include('/home/sgreimer/...') #3 /home/sgreimer/stevenreimer.com/public_html/index.php(25): Page->show() #4 {main} thrown in /home/sgreimer/stevenreimer.com/includes/classes/TagCloud.class.php on line 188