Re: Media Plugin - Set Up Many Custom Settings example

2011-01-15 Thread huoxito
I ended up creating a lot of attachments models, because each one of them had to have different settings, some would require only three images, other two, other images and pdf files ... and I put the Configure::write('Media.Filter' ... configuration array on the constructor of each one of those

Re: ACL Question

2011-01-15 Thread John Maxim
Hi Ed, You can customise your users permission using ACL plugin. I suggest finding one on your own, the current one I use has a drawback when I have over 10 groups with different permission settings. The role permission setting stops working. However, it's still effective if I view users roles or

ACL Question

2011-01-15 Thread Ed Propsner
I've been plugging away with Cake for some time now with extremely few issues. I recently decided that ACL was the right choice for my app ... now I have issues :) I've toyed with it long enough now that I understand the concept and mechanics of it but the issue I'm having is this: When granting a

Re: App:import not working on hosting providers

2011-01-15 Thread roman_coder
thanks for the quick response. I've cleared my cache a number of times but I have the same problem. The plugin isn't finding the file. Any tips on how to debug this? I've been adding debug echo statements in the cake/lib trying to find where the include is. I'm sure there is a better way of doin

Re: Retrieve specific Associated Models

2011-01-15 Thread alaxos
you're welcome :-) On 15 jan, 23:29, Santiago Basulto wrote: > This is exactly what i need!! > > Thank you very much brother! > > On Jan 15, 7:12 pm, alaxos wrote: > > > Have you looked at the Containable behavior ? It can call the > > unbindModel() for you. > > >http://book.cakephp.org/view/132

Re: Retrieve specific Associated Models

2011-01-15 Thread Santiago Basulto
This is exactly what i need!! Thank you very much brother! On Jan 15, 7:12 pm, alaxos wrote: > Have you looked at the Containable behavior ? It can call the > unbindModel() for you. > > http://book.cakephp.org/view/1323/Containable > > Regards, > nIcO > > On 15 jan, 20:56, Santiago Basulto wrot

Re: Retrieve specific Associated Models

2011-01-15 Thread alaxos
Have you looked at the Containable behavior ? It can call the unbindModel() for you. http://book.cakephp.org/view/1323/Containable Regards, nIcO On 15 jan, 20:56, Santiago Basulto wrote: > Hello people. I'm facing a little problem here. > > Supose i've my Car Model defined like this: > > class

Re: How would you solve this problem?

2011-01-15 Thread Ryan Schmidt
On Jan 14, 2011, at 23:23, Adam wrote: > Disclaimer: I can't program. > My ideal solution: > I write some code or have someone help me write the code that gets the info, > converts it to local time, and displays it on a webpage with dynamic > content. What programing language do I need to le

Retrieve specific Associated Models

2011-01-15 Thread Santiago Basulto
Hello people. I'm facing a little problem here. Supose i've my Car Model defined like this: class Car extends AppModel{ $name = 'Car'; // Associations $hasOne = array('engine'); $hasMany = array('Tyre','Color','OtherModel', . ); } I would like to read the data from my Car model

Re: error ??

2011-01-15 Thread Ryan Schmidt
On Jan 14, 2011, at 23:28, chris...@yahoo.com wrote: > getting error on first attempt to access the user page,... after > all,... refresh,... it getting thru and working... why...? Did anyone > know why...? > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 3112

Re: Plugins

2011-01-15 Thread Jeremy Burns | Class Outfit
I wrote an Authorize.net component a while back...I'll drag a copy out and post it. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 15 Jan 2011, at 14:09, Larry E. Masters wrote: > Write the plugin if you need it. Chances are if you have not found it using a

Re: More than 1 layout

2011-01-15 Thread John Maxim
Yes, I get it, Renato. Thanks. Regards, Maxim On Jan 15, 11:01 pm, Renato de Freitas Freire wrote: > Hi. > > If you want to change the layout for all actions of your controller, > you can add this line near var uses() > Var $layout = "default_news"; > > Otherwise you can change the layout for an

Re: App:import not working on hosting providers

2011-01-15 Thread WyriHaximus
Aye every time you push an update to a site, for your own sanity and your users user experience clear your cache. On Jan 15, 3:48 pm, euromark wrote: > you need to clear your cache > then it will find it again :) > > On 15 Jan., 08:56, roman_coder wrote: > > > > > > > > > I'm working on Cakephp

Re: More than 1 layout

2011-01-15 Thread Renato de Freitas Freire
Hi. If you want to change the layout for all actions of your controller, you can add this line near var uses() Var $layout = "default_news"; Otherwise you can change the layout for an especific action, adding the line INSIDE the action. $this->layout = "default_news"; Got it? On Saturday, Ja

Re: More than 1 layout

2011-01-15 Thread John Maxim
SOLVED. http://groups.google.com/group/cake-php/browse_thread/thread/b05e1b7d24d89f8c Kind of hard to get back on track after going through REST, I was reading back some post and solved this, have been unRESTful. :-) Thanks for looking. On Jan 15, 10:38 pm, John Maxim wrote: > TYPO: I mean I

Re: App:import not working on hosting providers

2011-01-15 Thread euromark
you need to clear your cache then it will find it again :) On 15 Jan., 08:56, roman_coder wrote: > I'm working on Cakephp 1.3.6 and leveraging JonBradley's S3 plugin > (https://github.com/jonbradley/CakePHP-S3-Upload).  It works great on > my local dev box but once I put it on a hosting provider

Re: More than 1 layout

2011-01-15 Thread John Maxim
TYPO: I mean I created DEFAULT_NEWS.ctp On Jan 15, 10:35 pm, John Maxim wrote: > Hi, > > How am I going to set a different layout for my News::controller ? > Currently, I'm using default.ctp for all controllers. I created > another layout called news_default.ctp in app/views/layout/ > > So upon r

More than 1 layout

2011-01-15 Thread John Maxim
Hi, How am I going to set a different layout for my News::controller ? Currently, I'm using default.ctp for all controllers. I created another layout called news_default.ctp in app/views/layout/ So upon reading this: http://book.cakephp.org/view/1080/Layouts I created in users::controller funct

Re: setflash edit

2011-01-15 Thread lvdb
Hello Dr. Loboto, Thank you, it works. Leo On 13 jan, 02:34, "Dr. Loboto" wrote: > You see page cached by browser when hit "previous" button there. > Disable cache at all by $this->disableCache() in controller, or do not > use "previous" button. > > On 13 янв, 02:14, lvdb wrote: > > > > > Hel

Re: Plugins

2011-01-15 Thread Larry E. Masters
Write the plugin if you need it. Chances are if you have not found it using a google search or on Github there is not one publicly available. -- Larry E. Masters On Sat, Jan 15, 2011 at 12:52 AM, earth wrote: > Any update on the plugins for Authorize.net (AIM method) and iTransact > payment g

App:import not working on hosting providers

2011-01-15 Thread roman_coder
I'm working on Cakephp 1.3.6 and leveraging JonBradley's S3 plugin (https://github.com/jonbradley/CakePHP-S3-Upload). It works great on my local dev box but once I put it on a hosting provider I get the class not found error. I've tried both Joyent (old TextDrive & 1and1) & got the same error. F

Re: Plugins

2011-01-15 Thread earth
Any update on the plugins for Authorize.net (AIM method) and iTransact payment gateways. On Jan 14, 7:34 pm, earth wrote: > Hello, > > Is their any cakePHP plugin for Authorize.net (AIM method) and > iTransact payment gateways. Check out the new CakePHP Questions site http://cakeqs.org and help

Re: Media Plugin - Set Up Many Custom Settings example

2011-01-15 Thread Cameron
I'm curious how this ended up working out for you as an overall solution. ~Cameron On Dec 7 2010, 10:50 pm, huoxito wrote: > I've been struggling for two days to understand theMediaPlugin. > Intend to use it to deal with allmediafiles, mostly images and pdfs, > for this project I'm developing. >

Client side jquery validation

2011-01-15 Thread pave2009
Hi All, Can anyone suggest me, how to implement client side (Before form submission) jquery validation in cakephp? Do we have any useful helper available for cakephp 1.3 ? Thanks Pave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questio

Earn upto Rs. 9,000 pm with PaisaLive.com!

2011-01-15 Thread Amit Rawat
-- Earn upto Rs. 9,000 pm with *Paisa**Live.com!* -- Hi , I have something interesting for you - you can easily *earn regular income online* via PaisaLive.com! It’s really amazing! You get paid to open & read the contents of PaisaLive mails