My first official MODX extra

09 Mar 2012

Feels good, more will follow!

 

 

http://modx.com/extras/package/formitlog

https://github.com/sofasurfer/MODX-FormItLog

Run MODX, WordPress and Redmine on NGINX EC2 micro AIM

12 Feb 2012

I’m using amazon web services now for a while and was wondering, if it’s really necessary to host my  sites on a Small Instance

So I came across NGINX web server which is famous for it’s performance and low resource usage.

So here how to run,  MODXWordPress and Redmine with NGINX on a amzn-ami-2011.09.2.i386-ebs (ami-b4b0cae6) micro AIM  instance.

Thanks to:

Read the rest of this entry »

MODX SuperBoxSelect For Dummies

21 Nov 2011

Dealing now more then one year with MODX revo and ExtJS, I thought it can’t be too hard to add a SuperBoxSelect component to a custom manager page. The fact that it’s now even  integrated in MODX  (thanks Ben), made me believe this will be a 5 min job (yeah i’m still an optimist and obviously there’s allot to learn).

Also there are plenty of information, forums and examples out there but it still took me almost half a night to puzzle them together and made it actually work.

So here, step by step what finally worked for me (not sure if this is the best solution so any input welcome).

Read the rest of this entry »

IE9 jQuery Radio checked issue

03 Oct 2011

I just spend 4 hours to read a simple radio selection via jQuery in IE9 from the following form.

1
2
3
4
5
6
<form name="myForm" id="myForm">
	<input type="radio" name="cTitle"  value="1" />Mr
	<input type="radio" name="cTitle"  value="2" />Miss
	<input type="radio" name="cTitle"  value="3" />Mrs
	<input type="radio" name="cTitle"  value="4" />Ms
</form>

How could this be a problem you think? Exactly a quick google search and as expected the following code worked just fine in almost all browser exept IE9 ggrrrrrr:

1
2
var cTitle = $('input:radio:checked', '#myForm').val();
var cTitle = $('input[name=cTitle]:checked', '#myForm').val();

Yes the second attempt was close but i was missing the  around the radio name and should have taken the  to get the objects :(

1
var cTitle = $("input[name='clientTitle']:checked").val();

I know a prime example of copy and paste and not really using my head.

So just in case you run into similar problems give it a try and hopefully save some time.