Re: What do you develop in (ide, text editor, etc.)?

2009-04-14 Thread Baz L
TextMate when at home... Notepad++ (Portable) when on the road. --~--~-~--~~~---~--~~ 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 unsubscribe from this

CakePHP User Management/Auth Plugin - Define functions for AppController with code OUTSIDE the file.

2008-07-16 Thread Baz L
I'll cut to the chase: http://code.google.com/p/cakeusermanagement/ I couldn't get CakePHP's built in ACL to work in a simple to understand manner. Actually, I couldn't get it to work at all. So I built upon this: http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissio

Re: Auth + Custom Login + isAuthorized = Infinite Redirect Loop

2008-07-16 Thread Baz L
Nevermind everyone. I was being an idiot. My loginRedirect was to a place that required authorization. As soon as I changed it some a general controller and action that ALL loggged in users had access to, I was fine. On Jun 18, 8:46 am, Baz L <[EMAIL PROTECTED]> wrote: > I believe I&#

Re: $this->Auth->user not refreshing after edit

2008-07-16 Thread Baz L
I would avoid writing directly to the Auth's session. Again, this is generally how Authentication systems work. User information used by the application is stored in memory (session in this case). You could force a logout, but I think that you're users will find this more annoying to be logged ou

Re: View Caching with AuthComponent

2008-07-16 Thread Baz L
Simplest solution is to not cache pages that need authentication. On Jul 14, 5:46 pm, the_woodsman <[EMAIL PROTECTED]> wrote: > I know that in the cookbook there's some info on marking particular > sections of a view as  " similarly you coud just set the action as not cached in the Users > contro

Auth + Custom Login + isAuthorized = Infinite Redirect Loop

2008-06-18 Thread Baz L
ain. If I clear out the UsersController::login(), then every thing works fine. Can someone with more experiece help me out, or do I submit a ticket. Any help would be appreciated. -- Baz L Web Development 2.0 http://WebDevelopment2.com/ --~--~-~--~~~---~--~~ You rece

Re: Email::send() in a loop. (1.2.x.x)

2008-04-08 Thread Baz L
In the interim I guess you can just set your body manually in the loop. On Apr 8, 1:05 am, CDMoyer <[EMAIL PROTECTED]> wrote: > > Now I'm confusedCDMoyer, you posted the link to the ticket, but did you > > read it? > > > One reply says you need to reset(), the other reply says that the header

Re: SaveField creates a new blank row

2008-04-08 Thread Baz L
I don't get itWhat does the URL have to do with saveField? How are you populating that $idItem variable? That right there would be your problem. This is not "definitely a CakePHP bug" unless you can provide more information. Why are we using saveField() in a viewItem anyway? But I digress,

View this page "Cake Apps/Sites In The Wild"

2008-03-09 Thread Baz L
Added: http://www.3HNDesigns.com Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Inner Join on hasMany

2008-02-22 Thread Baz L
nside the ON ()), so the sql is like this SELECT [...] FROM `requests` AS `Request` LEFT JOIN `dates` AS `Date` ON (...) WHERE (`Date`.`id` IS NOT NULL AND (...)) You can add that through the $conditions parameter of the find method, should be simple enough. On Feb 7, 6:03 am, Baz L <[EMAIL P

Re: Inner Join on hasMany

2008-02-06 Thread Baz L
Any ideas anyone? -- Baz L Web Development 2.0: Web Design, CakePHP, Javascript http://www.WebDevelopment2.com/ On Dec 10 2007, 2:55 pm, Baz <[EMAIL PROTECTED]> wrote: > Hey guys...this is what I'm trying to accomplish: > > I got a model (Request). Each request hasMany Da

Re: Saving Date and Time NOT in the Model/Database (cleanUpFields not working)

2008-02-06 Thread Baz L
There 'work around' doesn't exactly work: I'd have to override schema() in my model to add the fields. Then I could manually call deconstruct(). However, overriding schema will be done for ALL of the model's functions. I would then get problems when performing find('all'), etc. On Jan 13, 2:00

Re: How to "INNER Join" in Model ?

2007-12-05 Thread Baz L
I ran into a need for this today. In the interest of time, I just trim the array I get back after the fact, however...is there someway to do this? -- Baz L Web Development 2.0 http://WebDevelopment2.com/ On Dec 1, 1:30 pm, foxmask <[EMAIL PROTECTED]> wrote: > gooed evening > any ide

does $cakeDebug work?

2007-09-01 Thread Baz L
(if it's correct) we can get it into the next version? Thanks: -- Baz L Web Development 2.0: Web Design, CakePHP, Javascript http://www.WebDevelopment2.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Need: CakePHP Contact Form Need Please

2007-07-27 Thread Baz L
ne who can offer some help, I'd greatly appreciate it: -- Baz L Day In The Life of Baz http://www.LifeOfBaz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this grou

Re: Show a Page without a Model in cakePHP

2007-07-06 Thread Baz L
I have the same question, except that I can't use the "uses" var. I actually do have a pages in my database. I just want to change: a.com/pages/home to a.com/home without defining tons of different routes. On Jun 8, 10:57 am, MarsDev <[EMAIL PROTECTED]> wrote: > Thanks all. > > JP (Quanack) an