Model HABTM Model Referencing Original Model

2013-07-29 Thread Benjam Welker
This is a duplicate of my question asked on StackOverflow here: http://stackoverflow.com/questions/17875143/model-habtm-model-referencing-original-model If you could answer the question there, or let me know if it is a bug or not, it would be greatly appreciated. I have a Team model that is HABT

Re: Turning off Debugkit debug data in a specific instance

2012-11-09 Thread Benjam Welker
Replace the element method in /DebugKit/View/DebugView.php with the following: /** * Element method, adds comment injection to the features View offers. * * @return void */ public function element($name, $data = array(), $options = array()) { $out = ''; $isHtml = (!isset($this->request->param

Re: Javascript Helper modification. Opinions, please.

2011-12-08 Thread Benjam Welker
It also seems that scripts added in the default layout or through elements that are included in the default layout don't have their scripts added to the queue at all. I was going to try adding all the default scripts in via an element, but they just get ignored. -- Our newest site for the com

Re: Javascript Helper modification. Opinions, please.

2011-12-08 Thread Benjam Welker
One issue that I'm having, is that if a script is included in the default layout in the HEAD tag above the $scripts_for_layout, with the default 'inline' => true, and then again in a view (or element, or whatever) with 'inline' => false, The HtmlHelper does not recognize that the script in quest

How to get $settings data out of FormAuthenticate object (cake2.0)

2011-11-17 Thread Benjam Welker
I am building a RememberMe Component using the AuthComponent and would like to get the BaseAuthenticate::$settings data (userModel and fields) data out of the XxxxAuthenticate object so I can know what model and fields I should be dealing with, but I can't seem to figure out how to get that data