Re: isMultiRecord?

2007-11-23 Thread releod
Thanks Jon, I guess my real question is, can I use the FormHelper::input method to generate these fields properly, or do I need to manually write the html for them? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Bake modules for XOOPS with CakePHP

2007-11-23 Thread kiang
I've tried to post this article in Bakery. But it returned blank page... Have a look here: http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=582 :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP

Re: isMultiRecord?

2007-11-23 Thread Jon Bennett
> I know this has been brought up many times in the past, but am I still > not clear on what to do a this point. > > I am still getting into CakePHP, started converting a fairly big > project on Tuesday this week. > I am using 1.2.0.5875pre-beta. I found a entry in the trac about > isMultiRecord,

isMultiRecord?

2007-11-23 Thread releod
I know this has been brought up many times in the past, but am I still not clear on what to do a this point. I am still getting into CakePHP, started converting a fairly big project on Tuesday this week. I am using 1.2.0.5875pre-beta. I found a entry in the trac about isMultiRecord, but was not c

Re: cakephp-fr

2007-11-23 Thread foxmask
cakephp-fr.org is not free. cakephp-france.org is free or better cakephp.fr is free too (at the same price of .org) On Nov 24, 12:49 am, pluriels <[EMAIL PROTECTED]> wrote: > thanx for the answers. > > I started to use cake about one year ago and at that time every one > was speaking about the wi

Re: Everyone's Favourite... Auth

2007-11-23 Thread MrTufty
Thanks Chris - I've been trying that, and so far not having any luck, but perhaps I'm just being slow. Will give it another crack in the morning, it's past midnight here now... and I need beauty sleep! On Nov 23, 11:57 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Nov 23, 2007 6:50 PM, MrTu

Re: Everyone's Favourite... Auth

2007-11-23 Thread Chris Hartjes
On Nov 23, 2007 6:50 PM, MrTufty <[EMAIL PROTECTED]> wrote: > > I'm trying to implement a remember me function - I initially thought > Chris' most recent post on the subject would help me out, but perhaps > I'm just not understanding how the pieces fit together. MrTufty, Well, all you really nee

Everyone's Favourite... Auth

2007-11-23 Thread MrTufty
Hi everyone, I'm having problems... and I'm hoping that with the meeting of minds we have going on here, someone can point out where I'm going wrong. I'm using 1.2 to build several sites at the moment - it's definitely my framework of choice, for pretty much every site I build, personal and for

Re: cakephp-fr

2007-11-23 Thread pluriels
thanx for the answers. I started to use cake about one year ago and at that time every one was speaking about the wiki. It seems that the french community lost a lot of things with the arrival of the bakery. I would like to take http://www.cakephp-fr.org because its owner gave it up sometime ago.

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread designvoid
I have full debug on and all the queries seem to be correct. If I change: $this->set('products', $this->Product->findAll()); to $this->set('products', $this->Variations->findAll()); it it comes back with the variations and associated options fine! So it seems the join between 'groups' the 2 i

Re: Thoughts for a cake "application boilerplate"

2007-11-23 Thread gobblez
I've been working on something similar, though not as featured (by default) as yours. I was calling it skeletor, because it is bare bones, yet has everything that 90% of my sites will need, and from there I can add on the differences. Nearly every site worthy of a framework will probably have us

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread bingo
hi designvoid I am 100% confident it has something to do with how setup HABTM (belongsTo, etc) relationships. CakePHP is pretty good in dealing with recursive queries. One way to figure out what's happing is to use debug mode = 2 . That will print out all the SQL queries and will allow to see wh

Re: Thoughts for a cake "application boilerplate"

2007-11-23 Thread villas
I think it's a great idea. However, with the number of plugins that you are listing, it's beginning to sound more like Joomla/Drupal which you can already integrate Cake code using the projects Jake/Drake. Mambo are rewriting their project in Cake so maybe you'll be getting the kitchen sink vers

Re: cakephp-fr

2007-11-23 Thread FoxMaSk
Hi, i was looking for a french community too and found also "cake pour tous " (means "cake fo all") but it seems it's not maintaining (8months old, the most recent post). and cakephp-fr google group is not so active too. @ Lionel : i can try to > - helping me to keep some kind of french community

Re: Unable to post a comment on Bakery ..

2007-11-23 Thread francky06l
I have just retried Mariano, and get same result ... This the content of my "comment" : Looks very powerful, I am going to try it soon ..After expects (1.1), containable (great stuff) .. I think we might get the maximum features with this behavior. There is always one thing I miss in all "bind/ex

RE: Unable to post a comment on Bakery ..

2007-11-23 Thread Mariano Iglesias
Try now, a little while ago I realized that I didn't uncheck the "Draft" setting. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON!

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread designvoid
Hi Bingo, Cheers for the heads up on that - I'll definately give it a shot! I'm still wondering tho, is it my code that is the problem or a limitation of Cake? I'd like to fully understand why this issue is occuring before moving on to other scripts etc... d. On Nov 23, 8:00 pm, bingo <[EMAIL

Unable to post a comment on Bakery ..

2007-11-23 Thread francky06l
Hello bakers, I wounder if it's only me, but I am trying to post a comment, on the Bakery (about Mariano Bindable behavior) ..I always get "correct error below" ..but I do not find any error ... Did someone noticed this ? Thanks --~--~-~--~~~---~--~~ You received t

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread bingo
hi designvoid, I would suggest you that you get that script. In my experience of using CakePHP, I found it very useful. But I started using that script before CakePHP 1.2 came into existence and continuing to still use it in 1.2. You might also want to see if 1.2 has any such functionality. Reg

Re: PHP/SWF with CakePHP

2007-11-23 Thread [EMAIL PROTECTED]
Ok. thanks Chris, this I do: 1º- I create the controller :: set('chart',$chart); } } ?> 2º I Create the view I put:: charts.swf into /app/webroot/img directory charts.php into /app/vendors directory directory charts_library into /app/webroot directory but when I call http://localhost/Pr

Re: Reserved names within fieldnames

2007-11-23 Thread villas
In my case, I should maybe have mentioned that I was using 1.2 and Firebird 2 database. The failure was a bit obscure and took me a while to figure out (I'm quite new to this). However, after I renamed my field from: followupdate to: followdate, everything was working. When I get chance, I'

Re: enforcing a parent

2007-11-23 Thread [EMAIL PROTECTED]
Totally agree with RichardAtHome. I only want to add that parent-child relation is often topic when creating large application. And it will really usefull to include bake scripts into cake core for this case. Really I create such scripts for childcontrollers and childviews that generate controlle

Re: PHP/SWF with CakePHP

2007-11-23 Thread Chris Hartjes
On Nov 23, 2007 1:27 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > in the view? or where?, the problem is that don't look the graph, in > the view I look data of array > Hi there, I'm the guy who wrote the tutorial you referenced above. That block of code you talked about goes into the vie

Re: PHP/SWF with CakePHP

2007-11-23 Thread trooney
Either the controller or the view. Or there's a slicker, Flash chart alternative at: http://www.amcharts.com/ On Nov 23, 1:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I need use PHP/SWF in my application, I read this > tutorial:http://www.littlehart.net/atthekeyboard/2006/09/26/tutor

Re: How to work with datagrid in ckephp using ajax

2007-11-23 Thread Gwoo
http://cake.insertdesignhere.com/posts/view/16 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send emai

Re: cakephp-fr

2007-11-23 Thread Gwoo
CrazyLegs started this : http://www.cakepourtous.org/ Not sure if he is still maintaining it, but it seems like a good start. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, se

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread designvoid
I'm not using that script, I'm relatively new to Cake, making good progress but this has stumped me... Is that script needed to do what I want? Or is there a way in vanilla Cake? t. On Nov 23, 6:19 pm, bingo <[EMAIL PROTECTED]> wrote: > I guess you need to set (assuming you are using unbindMod

Re: Moving configuration from .htaccess to httpd.conf

2007-11-23 Thread Gwoo
Yes, this is what I do on production sites. You need the rules from the /webroot/.htaccess and you need to be sure your DocumentRoot is pointing to your /app/webroot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

PHP/SWF with CakePHP

2007-11-23 Thread [EMAIL PROTECTED]
I need use PHP/SWF in my application, I read this tutorial: http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/ but I no Understand where put this code?: 9); $chart['chart_grid_h'] = array('thickness' => 1); $chart['chart_grid_v

Re: Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread bingo
I guess you need to set (assuming you are using unbindModel script http://bakery.cakephp.org/articles/view/an-improvement-to-unbindmodel-on-model-side) $this->Product->Variations->expects('Options); $this->Product->expects('Variations); $this->set('products', $this->Product->findAll()); bingo

Strange recursion problem (i think) - hopefully someone can shed some light (code inc.)

2007-11-23 Thread designvoid
Hi all, I'm having a wierd issue when trying to use 3 models together via 1 findAll()... I'll paste the code then, explain what's happening, fingers crossed one I you fine folk will be able to give a me a pointer as to what I'm missing... Basic overview: Products has multiple Variations and Var

Page_Title Bug in Flash()/Render()

2007-11-23 Thread Rob
Running through the Blog tutorial, I noticed that the HTML Title was not being output. I've tracked this down to this line in flash.thtml :- Although the other parameters for url, pause, etc are being created before calling this page, $page_title is not. I've tried to track the calling functi

Re: Undefined property: NewsMainsController::$modelClass [CORE\cake\libs\controller\controller.php, line 347]

2007-11-23 Thread FoxMaSk
class AppController extends Controller { public function __construct() { parent::__construct(); } } solve the issue On 23 nov, 17:36, FoxMaSk <[EMAIL PROTECTED]> wrote: > Hi, > > i'm using cakephp 1.2.x.x > > i did cake bake to build all my Model View and Contr

Re: enforcing a parent

2007-11-23 Thread RichardAtHome
Here's how I do it, I'm no cake guru, but it works... Create your "Add Child" link in the Parent view like this: $html->link("Add Child", array("controller"=>"ChildControllerName", "action"=>"add", "parent_id"=>id_of_the_parent)); (creates a link that passes the parent id to the child controll

Re: using cake to make a light database administration app

2007-11-23 Thread [EMAIL PROTECTED]
I think I understand what you want to do. You want to use Cake to create an equivalent of phpMyAdmin ? I wasn't able to find it quickly, but I'm sure u could find in the API http://api.cakephp.org/1.2/ the functions in Cake that would let get the list of tables in a database. You could then use

Re: using cake to make a light database administration app

2007-11-23 Thread trooney
Hi Alex, CakePHP can certainly do what you want. I'm toying with a report tool for web registrations on a few dozen websites. Since I'll add databases and tables on the fly, I have to determine what database, table, and fields to use at run-time. Ended up wading through the core and found that if

othAuth Login Problem

2007-11-23 Thread jm
After giving up on the new CakePHP Auth component, I found othAuth. I followed the documentation on the Bakery site: http://bakery.cakephp.org/articles/view/othauth-0-5-documentation And I have it working just like it should. The only problem, every time a user logs in, a new record is created

Undefined property: NewsMainsController::$modelClass [CORE\cake\libs\controller\controller.php, line 347]

2007-11-23 Thread FoxMaSk
Hi, i'm using cakephp 1.2.x.x i did cake bake to build all my Model View and Controller here is my model : VALID_NOT_EMPTY, 'url' => VALID_NOT_EMPTY, 'date' => VALID_NOT_EMPTY, 'status' => VALID_NOT_EMPTY, 'tid' => VALID_NOT_EMPTY

cakephp-fr

2007-11-23 Thread pluriels
i'm looking for french speaking developpers interested in : - translating CakePHP documentations and manual in french - posting articles in french about CakePHP... - helping me to keep some kind of french community around CakePHP The former wiki on cakephp.org was very useful, but it disappeared

Re: using cake to make a light database administration app

2007-11-23 Thread trooney
Hi Alex, CakePHP can certainly do what you want. I'm toying with a report tool for web registrations on a few dozen websites. Since I'll add databases and tables on the fly, I have to determine what database, table, and fields to use at run-time. Ended up wading through the core and found that if

Re: Multiselect dropdown controls

2007-11-23 Thread grigri
Not 100% what you want, but some pointers in the right direction: http://c82.net/samples/checklist-samples.html http://www.frequency-decoder.com/demo/alternative-selectlist-widgit/ On Nov 23, 11:57 am, Gorka <[EMAIL PROTECTED]> wrote: > Anybody knows of a multiselect dropdown form control? It m

Moving configuration from .htaccess to httpd.conf

2007-11-23 Thread Vladimir
I am trying to troubleshoot the adverse performance (due to seemingly high iowaits) of our web site and doing some file open auditing I discovered that nearly 30% of file open syscalls are for .htaccess files. Out of the 20% actually read the CakePHP .htaccess. Thus I have attempted to move conten

Re: enforcing a parent

2007-11-23 Thread WordPress Guru
I dont know if the group is moderated. My previous mail did not appear here so I am posting again. Here is my problem , which is very similar to yours Julian. I have a parent-child relationship , and as usual I have baked the controllers and views using scaffolding. Like you

Re: enforcing a parent

2007-11-23 Thread WordPress Guru
Julian, AD I have similar problem. I have a parent-child relationship and I have baked using scafolding as usual. I get the view of parent from where I want to add a a child. So I have placed a link like /child/addToParent/1 This link appears in the view of parent so that a user can click there

How to work with datagrid in ckephp using ajax

2007-11-23 Thread [EMAIL PROTECTED]
Hi, i just want to know , how can we create datagrind in cakephp using ajax helper --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To u

Re: using cake to make a light database administration app

2007-11-23 Thread alex.tomes
Don't get me wrong, I love cake, I just wanted to use it for this app also, but maybe I nead something with a lack of model. Thank you for your advice. :) On Nov 23, 1:16 pm, AD7six <[EMAIL PROTECTED]> wrote: > If you want to use CI, that's your choice. Perhaps the more fluid > (lack of) struct

Multiselect dropdown controls

2007-11-23 Thread Gorka
Anybody knows of a multiselect dropdown form control? It might be of great help when designing administration forms for things like assigning a user to multiple groups or products to multiple categories. The pure HTML multiple select control is absolutely horrible from a usability and graphical d

Re: using cake to make a light database administration app

2007-11-23 Thread AD7six
On Nov 23, 8:51 am, "alex.tomes" <[EMAIL PROTECTED]> wrote: > Maybe I wasn't clear enough: this is a database admin application, > what do I do, I choose a random table from the the random databases > and make a dynamic model? this isn't very good programming practice... > even so, I can't dynam

Re: Question son "Blog Tutorial" on CakePHP.org ?

2007-11-23 Thread Bertot Remy
If it is not a filename issue, e.g. if you prefer 'post' instead of 'posts' in your url, you should try keeping your controller name plural, and add one route to redirect "post" requests to the postscontroller. cheers, Rémy > When i trying to practice the blog tutorial, I got an issue that. > >