<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Modified Muliple Checkbox Helper</title>
	<atom:link href="http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/</link>
	<description>Flipflops.org is about web development and fairly conceptual art</description>
	<lastBuildDate>Tue, 31 Jan 2012 00:19:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Flipflops</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7265</link>
		<dc:creator>Flipflops</dc:creator>
		<pubDate>Tue, 02 Oct 2007 07:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7265</guid>
		<description>Hi Spheroid

I know where you&#039;re coming from - I don&#039;t feel particularly like diving into Cake 1.2 at the moment. Right now I&#039;ve completed 3 Cake based CRM systems and I&#039;m currently working on a largeish (~ 400 pages at launch) website also Cake powered.

It&#039;s only now on the website that I feel like I really understand the way Cake works and can now start to get real benefits out of it. To tell the truth building the 3 CRMs was a bit of slog at times - and I&#039;m glad that they are private systems and are locked down tight. If you build something from scatch with your own code - bits might be badly written but at least you can hold an overview in your head - you know exactly how the security works for example...

With Cake - you have this potentailly powerful framework, but I felt I needed to do a suprising amount of work to get it to a position where I can really get going with it (security, uploads, assorted helpers etc.)

Anyway I&#039;ve never used CodeIgniter - I briefly looked at it - but decieded to go down the Cake root (because of the docs). I&#039;d be interested to know how you get on...</description>
		<content:encoded><![CDATA[<p>Hi Spheroid</p>
<p>I know where you&#8217;re coming from &#8211; I don&#8217;t feel particularly like diving into Cake 1.2 at the moment. Right now I&#8217;ve completed 3 Cake based CRM systems and I&#8217;m currently working on a largeish (~ 400 pages at launch) website also Cake powered.</p>
<p>It&#8217;s only now on the website that I feel like I really understand the way Cake works and can now start to get real benefits out of it. To tell the truth building the 3 CRMs was a bit of slog at times &#8211; and I&#8217;m glad that they are private systems and are locked down tight. If you build something from scatch with your own code &#8211; bits might be badly written but at least you can hold an overview in your head &#8211; you know exactly how the security works for example&#8230;</p>
<p>With Cake &#8211; you have this potentailly powerful framework, but I felt I needed to do a suprising amount of work to get it to a position where I can really get going with it (security, uploads, assorted helpers etc.)</p>
<p>Anyway I&#8217;ve never used CodeIgniter &#8211; I briefly looked at it &#8211; but decieded to go down the Cake root (because of the docs). I&#8217;d be interested to know how you get on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spheroid</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7203</link>
		<dc:creator>spheroid</dc:creator>
		<pubDate>Fri, 28 Sep 2007 00:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7203</guid>
		<description>For now I&#039;m scrapping learning Cake 1.2. Not enough documentation yet. I&#039;m working on learning CodeIgniter 1.5.4.</description>
		<content:encoded><![CDATA[<p>For now I&#8217;m scrapping learning Cake 1.2. Not enough documentation yet. I&#8217;m working on learning CodeIgniter 1.5.4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spheroid</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7154</link>
		<dc:creator>spheroid</dc:creator>
		<pubDate>Mon, 24 Sep 2007 12:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7154</guid>
		<description>I&#039;d like to do this in 1.2, I suppose it is a feature in 1.2, but without a bit of concrete examples, not sure how to do it.</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to do this in 1.2, I suppose it is a feature in 1.2, but without a bit of concrete examples, not sure how to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flipflops</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7151</link>
		<dc:creator>Flipflops</dc:creator>
		<pubDate>Mon, 24 Sep 2007 08:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7151</guid>
		<description>I&#039;ve been thinking about your problem some more - do you actually need to do this in 1.2 ? - I was under the impression (though could be wrong) that there was proper HABTM / checkbox support within it.

It certainly has the ability to use criteria in the join table for HABTM using WITH - the lack of which is really frustrating in 1.1</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been thinking about your problem some more &#8211; do you actually need to do this in 1.2 ? &#8211; I was under the impression (though could be wrong) that there was proper HABTM / checkbox support within it.</p>
<p>It certainly has the ability to use criteria in the join table for HABTM using WITH &#8211; the lack of which is really frustrating in 1.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flipflops</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7139</link>
		<dc:creator>Flipflops</dc:creator>
		<pubDate>Sun, 23 Sep 2007 08:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7139</guid>
		<description>I have to say I agree with you - I would like to see more stuff about 1.2 - there is a lot about (I think) but it is all buried in groups etc.

Whilst groups (etc.) are great, the trouble is you have to know what you are looking for - if you have a manual or a set of tutorials you can just scan through them and find things out you don&#039;t have to know what you are after... you can just stumble upon things.

To quote the un likely poet Donald Rumsfeld:
&lt;blockquote&gt;...because as we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns -- the ones we don&#039;t know we don&#039;t know.&lt;/blockquote&gt;

With regards to you error - I&#039;m not sure as I haven&#039;t done anything with 1.2 - but at some point I&#039;ll be making the move so would appreciate if you post somewhere what is going wrong.

Cheers</description>
		<content:encoded><![CDATA[<p>I have to say I agree with you &#8211; I would like to see more stuff about 1.2 &#8211; there is a lot about (I think) but it is all buried in groups etc.</p>
<p>Whilst groups (etc.) are great, the trouble is you have to know what you are looking for &#8211; if you have a manual or a set of tutorials you can just scan through them and find things out you don&#8217;t have to know what you are after&#8230; you can just stumble upon things.</p>
<p>To quote the un likely poet Donald Rumsfeld:</p>
<blockquote><p>&#8230;because as we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns &#8212; the ones we don&#8217;t know we don&#8217;t know.</p></blockquote>
<p>With regards to you error &#8211; I&#8217;m not sure as I haven&#8217;t done anything with 1.2 &#8211; but at some point I&#8217;ll be making the move so would appreciate if you post somewhere what is going wrong.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spheroid</title>
		<link>http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7120</link>
		<dc:creator>spheroid</dc:creator>
		<pubDate>Fri, 21 Sep 2007 23:51:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2007/04/12/modified-muliple-checkbox-helper/#comment-7120</guid>
		<description>I&#039;ve been looking all over the web...and am disappointed at a lack of CakePHP 1.2 tutorials. Many new items, including form helpers. I downloaded your .zip and modified the templates to .ctp extensions. Under app/views/posts, I modified the add.ctp file this way:

[code]
New Post
create(&#039;Post&#039;); ?&gt;

input(&#039;title&#039;, array(&#039;label&#039; =&gt; &#039;Title&#039;, &#039;size&#039; =&gt; &#039;20&#039;, &#039;class&#039; =&gt; &#039;required&#039;)); ?&gt;
error(&#039;Post.title&#039;, &#039;Please enter the Title.&#039;); ?&gt;

input(&#039;body&#039;, array(&#039;cols&#039; =&gt; &#039;60&#039;, &#039;rows&#039; =&gt; &#039;10&#039;, &#039;class&#039; =&gt; &#039;required&#039;)); ?&gt;
error(&#039;Post.body&#039;, &#039;Please enter the Body.&#039;); ?&gt;

input(&#039;status&#039;, null); ?&gt;
error(&#039;Post.status&#039;, &#039;Please check the Status.&#039;); ?&gt;

label(&#039;Tag.tag&#039;,&#039;Related Tags&#039;,null); ?&gt;
checkboxMultiple(&#039;Tag.Tag&#039;, $tags, $selectedTags, array(&#039;multiple&#039; =&gt; &#039;multiple&#039;, &#039;class&#039; =&gt; &#039;selectMultiple&#039;));?&gt;
error(&#039;Tag.tag&#039;, &#039;Please check the Related Tags.&#039;); ?&gt;
     
end(&#039;Add&#039;); ?&gt;


link(&#039;List Posts&#039;, &#039;/posts/index&#039;)?&gt;

[/code]

But i get these errors:

Notice (8): Undefined property:  HabtmHelper::$model [CORE\app\views\helpers\habtm.php, line 19]

Context &#124; Code

$fieldName	=	&quot;Tag.Tag&quot;
$options	=	false
$selected	=	null
$inbetween	=	array(&quot;multiple&quot; =&gt; &quot;multiple&quot;, &quot;class&quot; =&gt; &quot;selectMultiple&quot;)
$htmlAttributes	=	null
$return	=	false


        { 


 


               $this-&gt;setFormTag($fieldName); 


                if ($this-&gt;tagIsInvalid($this-&gt;model, $this-&gt;field)) 


                 { 

HabtmHelper::checkboxMultiple() - CORE\app\views\helpers\habtm.php, line 19
include - CORE\app\views\posts\add.ctp, line 14
View::_render() - CORE\cake\libs\view\view.php, line 772
View::render() - CORE\cake\libs\view\view.php, line 337
Controller::render() - CORE\cake\libs\controller\controller.php, line 663
PostsController::add() - CORE\app\controllers\posts_controller.php, line 24
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 353
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 333
[main] - CORE\app\webroot\index.php, line 83

Notice (8): Undefined property:  HabtmHelper::$field [CORE\app\views\helpers\habtm.php, line 19]</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been looking all over the web&#8230;and am disappointed at a lack of CakePHP 1.2 tutorials. Many new items, including form helpers. I downloaded your .zip and modified the templates to .ctp extensions. Under app/views/posts, I modified the add.ctp file this way:</p>
<p>[code]<br />
New Post<br />
create('Post'); ?&gt;</p>
<p>input('title', array('label' =&gt; 'Title', 'size' =&gt; '20', 'class' =&gt; 'required')); ?&gt;<br />
error('Post.title', 'Please enter the Title.'); ?&gt;</p>
<p>input('body', array('cols' =&gt; '60', 'rows' =&gt; '10', 'class' =&gt; 'required')); ?&gt;<br />
error('Post.body', 'Please enter the Body.'); ?&gt;</p>
<p>input('status', null); ?&gt;<br />
error('Post.status', 'Please check the Status.'); ?&gt;</p>
<p>label('Tag.tag','Related Tags',null); ?&gt;<br />
checkboxMultiple('Tag.Tag', $tags, $selectedTags, array('multiple' =&gt; 'multiple', 'class' =&gt; 'selectMultiple'));?&gt;<br />
error('Tag.tag', 'Please check the Related Tags.'); ?&gt;</p>
<p>end('Add'); ?&gt;</p>
<p>link('List Posts', '/posts/index')?&gt;</p>
<p>[/code]</p>
<p>But i get these errors:</p>
<p>Notice (8): Undefined property:  HabtmHelper::$model [CORE\app\views\helpers\habtm.php, line 19]</p>
<p>Context | Code</p>
<p>$fieldName	=	&#8220;Tag.Tag&#8221;<br />
$options	=	false<br />
$selected	=	null<br />
$inbetween	=	array(&#8220;multiple&#8221; =&gt; &#8220;multiple&#8221;, &#8220;class&#8221; =&gt; &#8220;selectMultiple&#8221;)<br />
$htmlAttributes	=	null<br />
$return	=	false</p>
<p>        { </p>
<p>               $this-&gt;setFormTag($fieldName); </p>
<p>                if ($this-&gt;tagIsInvalid($this-&gt;model, $this-&gt;field)) </p>
<p>                 { </p>
<p>HabtmHelper::checkboxMultiple() &#8211; CORE\app\views\helpers\habtm.php, line 19<br />
include &#8211; CORE\app\views\posts\add.ctp, line 14<br />
View::_render() &#8211; CORE\cake\libs\view\view.php, line 772<br />
View::render() &#8211; CORE\cake\libs\view\view.php, line 337<br />
Controller::render() &#8211; CORE\cake\libs\controller\controller.php, line 663<br />
PostsController::add() &#8211; CORE\app\controllers\posts_controller.php, line 24<br />
Dispatcher::_invoke() &#8211; CORE\cake\dispatcher.php, line 353<br />
Dispatcher::dispatch() &#8211; CORE\cake\dispatcher.php, line 333<br />
[main] &#8211; CORE\app\webroot\index.php, line 83</p>
<p>Notice (8): Undefined property:  HabtmHelper::$field [CORE\app\views\helpers\habtm.php, line 19]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

