Something missed by a lot of people is now live: a forum for CakePHP. It is run by a CakePHP user named “kain”. At the moment it is still empty and needs to be filled with activity ;-)
Update 2007-11-03: Link removed as this forum no longer exists. An alternative is http://cakephpforum.net/.

Maybe I’m not understanding something :) but isn’t google group a forum ?:)
Yes, google group is somehow a forum, But it lacks one feature people associate with a forum: there are no categories
I don’t see how it’s a bad thing, there are no forums that can match google search and so google groups have no need for categories:)
I think it’s just about people not thinking out of the box. Like if there are no categories .. it’s ain’t a forum and we all know it’s so not true :)
Just my two cents
I don’t know if a forum will solve any problems… If it’s not actively moderated it could go the same way as the wiki. However I think at the very least, it’s good that someone took the initiative to do something for the community.
I do know that the same questions pop up on the google group all the time… There’s a couple of obvious reasons for this:
1) lack of official documentation for certain things (continually improving)
2) Searching, especially on the google group but even with the cakephp.org/search site, often returns a mountain of irrelavent or inacurate links before one that is actually useful.
The great thing about the wiki was that it was open for users to contribute. The problem is that not all contributions are useful (and some of mine may count among them) and can quickly become outdated. having another source of info, if it is only semi useful will not be a help overall – but that’s not to say that is definitely what’s going to happen with the unofficial forum.
The approach I am about to use is to restructure my site so that I can add/demonstrate code via plugins – in that way, if somebody downloads the code that they just tried and it worked (or didn’t!), it should at least eliminate the thought that the code is written incorrectly (or prove that it is!)- because you’ll be downloading code that is running on my site.
I for one am going to keep an eye on the new forum :)
Cake Baker’s Blog: Unofficial CakePHP forums…
…
Ah! good to see that it still survives after that awful “frown down upon” from the lead dev on IRC.
It is not about jumping to forgone conclusions that it is no good – if it is that it will die a natural death if people find it useful it will thrive – let the users decide and yes kain needs to be applauded for taking efforts for the community.
@cakebaker – thanks for mentioning the forum :)
@Pacifists: I think it is not that important whether google groups is a forum or not, more important is whether it fits the needs of the users. And there are people out there who do not like google groups for whatever reasons.
@AD7six: A good idea to provide example code as plug-ins.
@tariquesani: Yes, the users will decide if the forum will survive. I mentioned the forum as I want to support community initiatives.
I don’t like a forum that is seperate. I started research a time ago and haven’t had the chance to get back to it. Basically, a forum that would post to Google Group automatically and also automatically check an email account for Google Group activity. The difficult part comes when you want to keep things in categories. So, that it can be categorized on the Forum, but still posted to the Google Group. That is the ultimate goal. The forum should be an extension of the Google Group and not something seperate.
But one thing is that I can’t check GMAIL at work. So, I can’t do the group that way and must do thru groups.google.com. As for the searching, it isn’t anything special that a fulltext indexing on database couldn’t accomplish.
Hi all,
Perhaps we could see Google Groups like Gmail “Search, don’t sort” ? And forum or wiki could archive things “officialy”. However, I think we can trust Google for their innovation and use Groups the right way instead of a forum. In fact, I dont use Groups yet ^^ just a reflexion on the fly…
Looks like cakephpforum.com is already dead after not even a year..
So I setup a new “UnOfficial” CakePHP forum at http://cakephpforum.net … (I still believe a forum is necessary!)
I’ll try to make sure it won’t end up like its .com sister… so I’ll need everyone’s help to contribute..
[...] a comment I got notified that a new unofficial CakePHP forum has been started. It is, as far as I know, the [...]
I hve been trying to upload my cake application to my web host but when i view it online it keeps returning errors. please can someone check it up for me and tell what the problem really is…
http://www.smartsms.tk
I’m quite new in cakephp and I will apreciate if someone can help.
I want to list all my [B]products[/B] from DB once but if a [B]product[/B] have 2,3 or more [B]ingredients[/B] then in the list that product will apear 2,3,x times(like in the image)
[URL=http://img412.imageshack.us/i/53074479.jpg/][IMG]http://img412.imageshack.us/img412/6611/53074479.th.jpg[/IMG][/URL]
the [B]ingredients[/B] of a product are saved in a table called [B]product_retetas[/B] and the records of that table have the following fields:
id | [B]product_id[/B] | [B]ingredient_id[/B] | …|…
[B]products[/B] have [B]hasAndBelongsToMany[/B] relationship with [B]ingredients[/B]
[B]products[/B] have [B]hasOne[/B] relationship with [B]product_retetas[/B]
[B]ingredients[/B] have [B]hasAndBelongsToMany[/B] relationship with [B]products[/B]
[B]product_retetas[/B] have [B]belogsTo[/B] relationship with both [B]ingredients[/B] and [B]products[/B]
——————————————————–
class ProductsController extends AppController {
var $name = ‘Products’;
var $helpers = array(‘Html’, ‘Form’);
/* var $paginate = array(
‘fields’=>array($this->query(‘distinct Product.id’)),
‘recursive’=>0,
‘limit’=>10 );*/
function index() {
$this->Product->recursive = 0;
$this->set(‘products’, $this->paginate());
}
If I set recursive la -2 then I will receive error in the index at every button (from the picture) becouse every button link is related to a model who belongs to product
(link(‘alergeni’,
array(‘controller’=> ‘product_retetas’, ‘action’=>’alergeni’,$product['Product']['id']),
array(‘target’=>’_blank’,'class’=>’btn’), null, false
);?>)
@MariusD: Hm, I am not sure I understand what you try to accomplish… If you want to return only the Products, then you could add
to your $paginate array.
Hope that helps!
Hii, Can anybody add a link on this code ?
And when click on the link it should redirect to the view of the
search result.( ie.to array(‘controller’ => ‘members’, ‘action’ =>
‘view’))
code :
echo ”.$results['members']['name'].”;
I’m faild to add the link on it.
Plz help me.
Hii, Can anybody add a link on this code ?
And when click on the link it should redirect to the view of the
search result.( ie.to array(‘controller’ => ‘members’, ‘action’ =>
‘view’))
code :
I’m faild to add the link on it.
Plz help me.
@Jiran: Something like:
should do the trick.
Hope this helps.
After running it shows following errors on text box
Undefined variable: html [APP/controllers/members_controller.php, line 165]
Fatal error: Call to a member function link() on a non-object in /var/www/cakephp/app/controllers/members_controller.php on line 165
@Jiran: Ah, you are using this snippet in a controller ;-) I would consider to move this code into a view, as it is usually a bad idea to have html code in your controllers.
If you really have to use the link method in the controller, have a look at How to use a helper in a controller.
Hope this helps.