Re: Validating multiple models in one form

2012-12-11 Thread Robert Hunt
Hi Jodator, Thank you Jodator, I presumed I had the conventions wrong but the CakePHP conventions page was convulsive and difficult to piece together. I have made the conventions changes and its validating great! :D It is always the little things lol Thanks again On Tuesday, 11 December 2012

multiple templates with own path structure

2012-12-11 Thread Mathias R
Hi, is it possible to emulate or change path structure for templates, to set different page structures? i.e. View/Themename/Controller/Action.ctp and Layout files in View/Themename/layout.ctp so i can set multiple templates like: View/Tabled/Index/index.ctp with a table-structure

Re: IIS 7, CakePHP 2.2.3 and the Blog Tutorial

2012-12-11 Thread Jorick de Lange
Hi Nutty, Well... As far as I'm aware of, it functions properly. In the router.php file I can add routes, and they are working allright. domain.com/ goes to the index, domain.com/controller will go to the corresponding controller, or via routes to the controller I've specified. So, it seems

Re: What's the best way to get Twitter Bootstrap into Cake?

2012-12-11 Thread Charles Bueche
Hi, I wish twitter bootstrap would be taken in as the default GUI layer for scaffolded apps in the future, but stop dreaming now :-) What I have done (warning, it's ugly) : - load the cake CSS - load the boostrap CSS - load a custom CSS to fix what the successive load have broken. I then have

Re: cakephp admin app

2012-12-11 Thread Devario Johnson
Thanks for the reply. That would work great if I was going to keep it all in the same app, however this particular situation has demanded for a completely separate install of cake (which I will let share the core). Im thinking my issue lies more in the lines of .htaccess or httpd.conf the

Re: cakephp admin app

2012-12-11 Thread Devario Johnson
Hey Jeremy, thanks again for the reply. I no longer need the answer to this as I went a different route. However, for the purpose of anyone who may come accross this thread trying to do this same thing, Jeremy's answer is a great way to handle this under one app, but if you NEED for some

Re: What's the best way to get Twitter Bootstrap into Cake?

2012-12-11 Thread Devario Johnson
Ive used this in the past and it worked well http://blog.loadsys.com/2012/02/14/cakephp-20-and-twitter-bootstrap/ https://github.com/loadsys/twitter-bootstrap-helper On Thursday, December 6, 2012 3:17:53 AM UTC-5, Lourenzo Ferreira wrote: I've seen several Plugins and even forks to use

Re: language problem in database cake1.3

2012-12-11 Thread Chris
anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks On Monday, December 10, 2012 11:56:41 PM UTC-8, Chris wrote: hi guys,... I'm having a problem with language in database... I'm in cake

Re: Un-related models / functions

2012-12-11 Thread lowpass
On Mon, Dec 10, 2012 at 2:50 PM, Advantage+ movepix...@gmail.com wrote: Forbidden Error: The requested address '/products/feature?url=products%2Ffeature' was not found on this server. Cake throws a 404 on internal errors when debug = 0. Set debug to 2 to see what the problem is. And whats

RE: Un-related models / functions

2012-12-11 Thread Advantage+
Running nGinx on Ubuntu. No htaccess files used on nGinx. In my sites-available conf: if (!-e $request_filename) { rewrite ^/(.+)$ /index.php?url=$1 last; break; } So remove the ?url=$1 or ?url=$1 last ? Thanks, Dave -Original Message- From:

Re: Un-related models / functions

2012-12-11 Thread lowpass
keep last On Tue, Dec 11, 2012 at 1:53 PM, Advantage+ movepix...@gmail.com wrote: Running nGinx on Ubuntu. No htaccess files used on nGinx. In my sites-available conf: if (!-e $request_filename) { rewrite ^/(.+)$ /index.php?url=$1 last; break; }

RE: Un-related models / functions

2012-12-11 Thread Advantage+
Thanks man :) Good looking out. -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of lowpass Sent: Tuesday, December 11, 2012 3:35 PM To: cake-php@googlegroups.com Subject: Re: Un-related models / functions keep last On Tue, Dec 11, 2012 at

Re: cakephp admin app

2012-12-11 Thread Jeremy Burns | Class Outfit
I just had to unwrangle an admin plugin as it (horribly - really, really horribly) duplicated a lot of code in the core as it couldn't reach the models. You might have a way around that or it might not apply, but I'd proceed with caution. Jeremy Burns Class Outfit http://www.classoutfit.com

Is overriding AppController's beforeFilter() always recommended ?

2012-12-11 Thread alaxos
While answering a recent question on stackoverflow (http:// stackoverflow.com/questions/13825073/always-call-a-function-in- cakephp), I discovered that it seems to be recommended in the cookbook to always override the AppController beforeFilter() in child controllers

Re: Is overriding AppController's beforeFilter() always recommended ?

2012-12-11 Thread euromark
you can omit those methods if they dont do anything else except for calling the parent the cookbook merely offers examples on how you would do it if you needed it so yes, from an oop point of view, pretty useless Am Dienstag, 11. Dezember 2012 22:02:46 UTC+1 schrieb alaxos: While answering a

Re: Is overriding AppController's beforeFilter() always recommended ?

2012-12-11 Thread lowpass
Is this what you're referring to? Please also remember to call AppController’s callbacks within child controller callbacks for best results It's just saying to call the parent callback IF you include a callback in your controller. On Tue, Dec 11, 2012 at 4:02 PM, alaxos ala...@gmail.com wrote:

Re: language problem in database cake1.3

2012-12-11 Thread Chris
the problem is solved,... On Tuesday, December 11, 2012 10:36:01 AM UTC-8, Chris wrote: anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks On Monday, December 10, 2012 11:56:41 PM