Posts

Enforcing translation of message in Yii
Created by: boaz on: May 15, 2012

How to enforce message-translation in Yii when everything works in plain, default English

updating "AUTO_INCREMENT" value in a MySQL table
Created by: boaz on: May 10, 2012

Technical howto on how to either zero "AUTO_INCREMENT" or set it to specific value

The quickest guide for porting Yii CWidgets to CPortlets
Created by: boaz on: May 9, 2012

This will be the shortest guide on porting a Yii CWidget to CPortlet...

New kind of spam-comments
Created by: boaz on: April 23, 2012

This post is about an apparent new breed of spam-comments just started appearing in this blog, today.

A little venting
Created by: boaz on: April 16, 2012

Ranting about lacking documentation in OSS...

Moving to Yii - resurrecting this blog!
Created by: boaz on: March 19, 2012

This blog is now ported to Yii Framework. Possibly, you've got all the past articles back in your RSS reader. If so, please mark all as read - but not the future articles... :-)

Setting "maxlength" attribute on password_confirm field type in Drupal 6
Created by: boaz on: July 1, 2009
I recently needed to alter a standard password_confirm field type in a form that I maintain. Apparently, setting '#maxlength' property on password_confirm form field has no effect. No helpful at all also proved Drupal FAPI official reference (oddly) which has no mention of password_confirm element(!). Anybody who knows why is welcome to hint me.
...
Drupal 6 language selection algorithm in "Path prefix with language fallback" mode
Created by: boaz on: March 28, 2009
Are you in a need to alter Drupal 6 language selection algorithm?Do you just need to know what's going on under the hood? Well, you've landed on the right article. I've recently needed to do the first task, and of course you can't change something unless you know how it works in the first place. Its actually pretty simple.
...
Making PHP session expire (in Drupal and in general)
Created by: boaz on: January 6, 2009

As the Internet evolves, so do the black hats that abuse the net and its inhabitants to their needs. A very common requirement therefore these days is to limit the session lifetime in a PHP application. PHP provides several directives in php.ini to achieve the desired configuration.
...

Drupal FAPI tales - need a token?
Created by: boaz on: December 30, 2008
I'm implementing a site now with nice amount of self-crafted forms. Drupal of course. Drupal 6 of course.
Now, I had this problem with one of the forms when testing how it works (with the others I didn't reach that state yet)
...