Re: Splitting a Controller in two?

2009-05-10 Thread Mantas
Hi! Could you write how to configure cake to have admin section in separate class? Thanks. On 3 Bal, 01:05, Miles J wrote: > There isn't really any disadvantages. For a few of my projects, I made > the admin a completely separate application and had both apps share > the same cake libs and mo

email component

2008-12-19 Thread Mantas K.
Hello, I have problems with cakephp email component (and I don't use smtp). When i send html some webmails show html tags: test test When I use both they show both messages. Is there solution for this problem? --~--~-~--~~

Re: dual pagination

2008-05-21 Thread Mantas K.
t; and offsets. And it'll take a lot less time than casting around trying > to find a solution using what's there already. > > On 21 Maig, 17:13, "Mantas K." <[EMAIL PROTECTED]> wrote: > > > of course it works, but problem with this is that i cann't p

Re: dual pagination

2008-05-21 Thread Mantas K.
7;gender'=>'1'))); > $this->set('women', $this->paginate(null,array('gender'=>'2'))); > > On 21 Maig, 16:45, "Mantas K." <[EMAIL PROTECTED]> wrote: > > > I have one table, but in view I sho

dual pagination

2008-05-21 Thread Mantas K.
I have one table, but in view I show it as two. One one side there are men, on other women. They must have separate paginations. Is there solution how i can do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

Re: Localization in models

2008-04-26 Thread Mantas
I've found answer: http://groups.google.com/group/cake-php/browse_thread/thread/4c9aefe0f8c8ead3/971f3d3faeada0a8?lnk=gst&q=Internationalization#971f3d3faeada0a8 On Sat, Apr 26, 2008 at 4:01 PM, Mantas K. <[EMAIL PROTECTED]> wrote: > So how can i do it? In fact, i need

Localization in models

2008-04-26 Thread Mantas K.
So how can i do it? In fact, i need localization with validation. I want to use: 'email' =>array( 'rule' => 'email', 'message' => __('It is not valid email', true), ) and I get error :\ how can I solve this? --~--~-~--~~~---~--~~ You