Re: struggling with containable - containing the same model twice

2012-10-09 Thread Greg Skerman
Dave heres the exact OperationParticipant model: class OperationParticipant extends OperationAppModel { /** * Validation rules * * @var array */ public $validate = array( 'user_id' = array( 'numeric' = array( 'rule' = array('numeric'),

Google maps and CakePHP

2012-10-09 Thread ivnrmc
Hello, This is not strictly cakephp question, more off topic, but i could use a suggestion from you guys. I have a question about Google maps pricing. I have read and understood the service agreements for part where Google maps API is gree. But, we are building website project (based on

RESTFUL WEB APPLICATION USING CAKEPHP FRAMEWORK

2012-10-09 Thread Jack
Hi, I have a doubt using REST in cakephp framework The URL for the actions 'show','delete' and 'update' remains the same( http://www.mydomain.com/articles/5) for respective GET , DELETE and PUT methods. How do we submit the URL with HTtp methods and it gets mapped correspondingly? I had

Re: A website for cakephp beginners

2012-10-09 Thread Sriram S
he has some nice tutorials on the site .. not sure what your problem is ? On Monday, 8 October 2012 11:20:13 UTC+5:30, AD7six wrote: Stop spamming this group. Either ask questions, or provide answers but stop writing neither and just linking to your blog and odesk advert. I havent seen any

Sequence Behavior in CakePHP 2.x ?

2012-10-09 Thread Mark Kessler
Hi! Does anybody know of a good sequence (ordered list) behavior for cakePHP 2.x? I used Neil Crookes Seqence Behavior but this hasn't been updated to 2.x yet. Thx! Mark -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received

Re: struggling with containable - containing the same model twice

2012-10-09 Thread Greg Skerman
oddly, if i pr($this-Operation-User) I get the structure for the User model, but if I dump out $this-Operation-OperationParticipant I get the structure for AppModel.. its almost as though OperationParticipant is not initializing? On Tue, Oct 9, 2012 at 10:44 PM, Greg Skerman gsker...@gmail.com

Re: struggling with containable - containing the same model twice

2012-10-09 Thread Greg Skerman
solved it. RTFM basically :( If you need to reference a model within your plugin, you need to include the plugin name with the model name, separated with a dot. which seems to go for if you are referencing a model within the same plugin...even though the associations don't bake like that.

Re: Google maps and CakePHP

2012-10-09 Thread thatsgreat2345
I recommend using some sort of phone verification. Charging people as means of verification will deter a lot of people because you're making them get their credit card out for a free service which making them get their credit card out is a tough matter. I do not see what is wrong with just a

Re: Working In Iframe for long time - Session timeout problem

2012-10-09 Thread Steve Babs
Guys , Any solutions ... ? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To

Re: Google maps and CakePHP

2012-10-09 Thread Ivan Rimac
It gets little more complicated besides proving that someone is a real person, in fact we need to be certain that it is indeed this person that he is saying it is, it should be safer than regular emails, with that I cannot know who is that person, anyone can make email account. 2012/10/9

Re: struggling with containable - containing the same model twice

2012-10-09 Thread Dave M.
Ha. I was JUST going to ask about that! On Tuesday, October 9, 2012 9:31:29 AM UTC-4, Greg wrote: solved it. RTFM basically :( If you need to reference a model within your plugin, you need to include the plugin name with the model name, separated with a dot. which seems to go for if

Re: mod_rewrite problem

2012-10-09 Thread lowpass
See here: https://groups.google.com/forum/?fromgroups=#!topic/cake-php/vay5etTmo5w On Fri, Oct 5, 2012 at 8:29 PM, Lorenzo Mele lorenzo.m...@gmail.com wrote: Hi all, I'm having some trouble with mod_rewrite: my local site is showing me the message URL rewriting is not properly configured on

Re: Multi-client application

2012-10-09 Thread darkangel
Hey Heidy, did you make it work? I'm facing the same scenario here and I'm trying to connect to a database based on a user belonging to a company. How did you achieve it? I'm using cake 2.2.3 On Monday, May 24, 2010 1:22:55 AM UTC-6, Heidi Grab wrote: Hi Zaky, I'm sorry, I'm a bit lazy of

form value in cake 1.3

2012-10-09 Thread Chris
hi guys,... I'm in cake 1.3,... please help,... I can't read form value from inplace editor in a controller,... any other approch,...? $user['User']['short_status'] = $this-params['form']['value']; $this-User-save($user); echo $user['User']['short_status']; die();

Re: form value in cake 1.3

2012-10-09 Thread Ivan Rimac
$user['User']['short_status'] = $this-data['User']['value']; 2012/10/9 Chris chris...@yahoo.com hi guys,... I'm in cake 1.3,... please help,... I can't read form value from inplace editor in a controller,... any other approch,...? $user['User']['short_status'] =

Re: form value in cake 1.3

2012-10-09 Thread Chris
hi Ivan,... it didn't work,... I even tried $user['User']['short_status'] = $this-data['User']['short_status']; no luck,... On Tuesday, October 9, 2012 12:22:57 PM UTC-7, ivnrmc wrote: $user['User']['short_status'] = $this-data['User']['value']; 2012/10/9 Chris chri...@yahoo.com

Re: form value in cake 1.3

2012-10-09 Thread Ivan Rimac
inside your view you need to havesomething like this: ?php echo $this-Form-create('User'); echo $this-Form-input('User.short_status'); echo $this-Form-end(); ? and then inside your controller action: $user['User']['short_status'] = $this-data['User']['short_status']; also before save, you

Help, strange issue with controller

2012-10-09 Thread Newton Pasqualini
Hi folks, I need help here with a strange problem. I am a newbie in CakePHP sorry if this is some stupid mistake. So, my envirorment MySQL 5.1, PHP 5.3, CakePHP 2.2 Model/FinanceiroCategoria.php ?php class FinanceiroCategoria extends AppModel { public $useTable = 'financeiro_categoria';

Re: Error: Index.phpController could not be found

2012-10-09 Thread Thomas Smith
I'm not new to Cake (so I knew what it should look like), but just did a brand-new install of Apache 2.4, PHP 5.3.17, and Cake 2.2.3 on a Windows machine. In addition to the documented steps, I also had to do the following to get the Cake main page to display: - Uncomment the *LoadModule

Validation message from second model not being passed

2012-10-09 Thread Joel Howard
Hi all, Long time CodeIgniter user coming to CakePHP... I have been following the cake naming scheme and everything works awesome... except one thing. I have a RequestRecord model/table and a RequestHistoryStatus model/table. From in my RequestRecords controller I am trying to validate/save a

Re: form value in cake 1.3

2012-10-09 Thread Chris
thanks Ivan for your time,... this is inplace editor action using jquery,... and this is what I have inside my view: where do I put form input,...? p id=editme8 style=float: left; margin: 0 0 10px 10px; border: 1px solid #aaa; width: 735px; padding: 8px 5px 8px 5px; display:

Re: form value in cake 1.3

2012-10-09 Thread Ivan Rimac
I am using jEditable for this kind of things, i can send you piece of code for this. For this, i think there is a problem with the script, you should check is there form generated when you try to edit your short status. sent from my Samsung Galaxy S Ivan Rimac mail: ivn...@gmail.com mob: +385 95

Re: struggling with containable - containing the same model twice

2012-10-09 Thread Greg Skerman
thanks for your help On Wed, Oct 10, 2012 at 2:58 AM, Dave M. mil...@gmail.com wrote: Ha. I was JUST going to ask about that! On Tuesday, October 9, 2012 9:31:29 AM UTC-4, Greg wrote: solved it. RTFM basically :( If you need to reference a model within your plugin, you need to include

Re: Help, strange issue with controller

2012-10-09 Thread lowpass
Do you have a FinanceiroCategorium model? If not, it looks like a problem with Cake's pluralisation rules, though It's not quite clear to me why it would do that. Basically, models are named in the singular, and controllers use the plural version of the model name. In English, it would be (model)

Re: Error: Index.phpController could not be found

2012-10-09 Thread lowpass
It's actually a web server config, not PHP. But I agree it should probably be in the docs. On Tue, Oct 9, 2012 at 2:47 PM, Thomas Smith tharlinsm...@gmail.com wrote: I'm not new to Cake (so I knew what it should look like), but just did a brand-new install of Apache 2.4, PHP 5.3.17, and Cake

Re: form value in cake 1.3

2012-10-09 Thread Chris
is this the url? http://www.appelsiini.net/projects/jeditable On Tuesday, October 9, 2012 2:32:04 PM UTC-7, ivnrmc wrote: I am using jEditable for this kind of things, i can send you piece of code for this. For this, i think there is a problem with the script, you should check is there

Re: form value in cake 1.3

2012-10-09 Thread Ivan Rimac
Yes, that is the plugin. sent from my Samsung Galaxy S Ivan Rimac mail: ivn...@gmail.com mob: +385 95 555 9966 Dana 10.10.2012. 00:16 Chris chris...@yahoo.com je napisao/la: is this the url? http://www.appelsiini.net/projects/jeditable On Tuesday, October 9, 2012 2:32:04 PM UTC-7, ivnrmc

Re: form value in cake 1.3

2012-10-09 Thread Chris
can you show me veiw example please,... do you do $(.mouseover),... but there is still no plase to pass $user['User']['short_status'] thanks On Tuesday, October 9, 2012 3:22:00 PM UTC-7, ivnrmc wrote: Yes, that is the plugin. sent from my Samsung Galaxy S Ivan Rimac mail:

Change database dynamically

2012-10-09 Thread darkangel
What's the most MVC way to switch the database connection for some models depending on a configuration saved in a model in the main database. What I'm doing is like this http://dyutiman.wordpress.com/tag/cakephp-2/ guide, except for taking the settings from cookies. Thanks for your advices.

Re: A website for cakephp beginners

2012-10-09 Thread Dave M.
I think the problem is that instead of supplying an answer to a question ('Be sure to add $actsAs = array('Containable); to your appModel!'), you instead provide a link to a blog post on your site which says 'Be sure to add $actsAs = array('Containable); to your appModel!'. A post which was

Mark Story Asset Help

2012-10-09 Thread Advantage+
I am trying to get Mary Story's asset Compression plugin working but I get errors. My default layout.ctp I have: $this-AssetCompress-addCss('cake.generic', 'styles', '1080'); echo $this-AssetCompress-includeCss();

Re: CakeFest 2012' videos.

2012-10-09 Thread Milina Udara
Hi, We are very thank full if any one can uplode the 'CakeFest 2012' videos to CakeTV (http://tv.cakephp.org/events) On Saturday, September 8, 2012 11:30:26 PM UTC+5:30, Jean Traullé wrote: Hello everyone, Does anyone know if the CakeFest 2012' conferences were recorded? If this is the