- [How To] Create a component in Joomla β Part II
In my last blog post I wrote about How To Create a component in Joomla. The output text was hardcoded into the view. This doesn’t follow the MVC pattern exactly because the view is intended to only display the data, and not contain it. In this second part of the tutorial we will demonstrate how […]
- [CakePHP] Back port Helper aliasing to CakePHP 1.2 and 1.3
One of the enticing new features of CakePHP 2 is Aliasing. What do you do if you need aliasing in CakePHP 1.2 or 1.3? Here is a guide to back port aliasing for helpers. For this guide we will overwrite HTML helper’s link method to always avoid escaping of the title. To start with you […]
- [CakePHP] Saving HABTM data with tables in different databases
One of the powerful features of CakePHP is the model relationships. It handles relationships seamlessly and saves/finds data of related models on its own. The most complex among the relationship is the Has And Belongs To Many, often shortened as HABTM Recently I faced a problem in saving data for a HABTM model. The problem […]
A different bee-eater – Southern Carmine
Show me a bird photographer who has not been fascinated by Bee-eaters and I will point out a liar π The sheer grace in flight and resplendent colors coupled with their boldness and tolerance to camera makes them a photographers delight.
River Lapwing a first record at Bor Lake
This is the first record of River Lapwing so close to Nagpur
Photographing birds in flight – A mini HowTo
Capturing birds in flight is a vexing subject for many newbie bird photographers. Well instead of just randomly trying to get a shot if you think and plan consciously the subject is not at all difficult to master and the results are indeed very satisfying. Am writing down here a few points which can get
Last month @ SANIsoft blog April 1, 2011
Announcing the release of Sphinx Search book Many of you must be following my posts on Sphinx Search Engine over the past one year or so. Well, today I am happy to announce the release of my book Sphinx Search – Beginner’s Guide published by Packt Publishing. The book was released earlier this month, that
Last month @ SANIsoft blog March 1, 2011
[CakePHP] How to show βallβ records options while still using paginate Admittedly this is a marginal case but recently a client wanted to show “All” records along with a list of ‘per page’ options for paginated records, for example, something like ‘2, 5, 10, 25, 50, 100, All’ or you need to use ‘field sort’
Kindle 3 keyboard shortcuts that I frequently use and some more
This is more of note to self but at the same time I feel it will benefit someone some day alt + shift + G takes a screenshot which gets stored in the document folder as a png file alt + G will refresh the screen, this is useful to remove the ghosting which may
Last month @ SANIsoft blog February 1, 2011
[How to] Optgroups in select for Drupal CCK module Many times we have taxonomy terms with parent/child relation with requirement that only the child taxonomy should be selected while adding a new content. One such case is Category/Albums in a photo gallery where one must select an album while adding a photo but category plays
Osprey – A legendary bird
There are some species of birds which are common, almost everyone and their aunts have a great picture of them but I somehow do not have any decent pictures. The Osprey (Pandion haliaetus) till very recently was one such species.
Indian Muntjac
All my previous sighting s of this animal have been fleeting glimpses as it disappeared into the bushes. Indian Muntjac commonly known as the Indian barking deer is a small, very alert and shy member of the deer family.