cakephp/cakephp — pull request #292 by mdunham (2011-11-03 15:27:12+00:00)
Title: Adding the ability to change where Elements are stored

In some specific cases we may need an elements database table, and when that occurs it uses the View/Elements folder for its views. I would still like to use view elements, but I would not want them in the view folder for my elements controller. This commit simply gives the ability to specify where elements are located by adding $this->elementFolder = 'Snipets'; or whatever you'd like before your ->element() call. I think this adds more flexibility to cake by not hardcoding the folder name.