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
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
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
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
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