Love: CMSMS, No love: ASP .NET

Man, I can’t believe how little I’ve posted in the last two months. There is a lot going on, new things are being learned, so I have plenty to write. I should have posted it for the simple reason of having a backup of the information.

Love
CMS Made Simple is awesome. I’m trying to decide if I want to move my site over to it or staying with WordPress. It depends on if I want to change the way I present information.

I’m almost finished with the new site, based on CMSMS, for a local private school and they are loving it. I like how easy it is to make a template and set options for each page. I also like how easy it is to add modules and configure custom tags. The school admins like how easy it is to create content (pages, news, etc.).

No love
ASP .NET is a pain in the arse (King’s English). My brother set up a site using DotNetNuke (his host set it up for free) and he wanted to use Google Checkout. He’s only selling one item so he can use a Buy Now button. The Buy Now button code uses an HTML form. ASP .NET, and therefore DNN, wraps the entire page in a form. See anything wrong? If you said, “You can’t put a form inside a form!”, you nailed it.

Hours of Google searching turned up nothing useful. There is a hack for putting a PayPal button in DNN that involves removing the form tags and using javascript but it doesn’t work with Google Checkout. There are a couple of DNN modules available to integrate a Google Checkout button but all of them cost $20 or more.

I’m very ashamed of the way I found to make it work. I used an iframe. Yes, I know. There are those that think iframes are horrid little pieces of HTML code that should never have come into existence but that’s all I could do. I put the Google Checkout form inside an html page (e.g. googlecheckout.html) and used that page as the source for the iframe.

Even though it works perfectly, I feel so ashamed. Maybe I’ll find a better way to do it soon. Suggestions for making it work would be appreciated.

One can pay back the loan of gold, but one dies forever in debt to those who are kind. - Malayan Proverb

19.Apr.08 Web Apps


You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

Leave a Reply