Hello guys,
I started to make a website in 3 different languages: French, English and
Arabic. Therefore, I would like to know how to switch language and using a
link in the view. I already extract PO file for French and configure the
website for French (on the bootstrap file), but I want to kno
>
> You can use the admin section as a plugin, something like:
> https://github.com/Maldicore/Admin
>
> Regards
>
>
--
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 Grou
You can use the admin section as a plugin, something like:
https://github.com/Maldicore/Admin
Regards
--
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"
You can use the admin section as a plugin, something like:
https://github.com/Maldicore/Admin
Regards
--
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"
you can use saveAll
$this->Eating->saveAll($data['Eating']);
please read saveAll from the api.
Yusuf Widiyatmono
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscrib
hi there..
i have an xml file which was generated by me from an array by cakephp
function xml->compose(true)
now how can i turn it back to array?
i tried to use, $array = Set::reverse(new Xml('myfle.xml'));
but the result just give me one index of array like this..
Arra
i'm using an extension by Brandon Praise; the extension's name is
ExtendAssosiationsBehavior which is easy to use to edit, delete or add entry
to HABTM related models.
http://bakery.cakephp.org/articles/view/add-delete-habtm-behavior
hope helps...
On Sun, Jun 27, 2010 at 5:49 PM, Rami wrote:
>
have you activated the apache mod_rewrite? the directory for cake
application also have to be AllowOveride to All.
On Tue, Feb 24, 2009 at 6:51 AM, jc_mich wrote:
>
>
> Hi
> I created an application according to MVC rules, my .htaccess files look
> like the specifications in
>
> http://bakery.ca
ation is not even half as nice as in Cake -
> > > > > relations are made by hand in every model, controller, view. a
> little
> > > > > bit annoying. But it is fast as hell. I implemented a little
> project
> > > > > database which I also made in cake and (
Hi guyz... i got this somewhere on the net...
http://www.phpframeworks.com/top-10-php-frameworks/
Why they put cake php on the fifth place? i dont think we were worse than
those framework... :)
does anyone here have already done some research with those framework's
which is have higher place than
array(
'className' => 'Area',
'foreignKey' => 'parent_id',
'dependent' => true
)
);
?>
this stuff works well with me...
On Thu, Jan 29, 2009 at 6:35 PM, AD7six wrote:
>
>
>
> On Jan 29, 9:58 am, Miles J wrote:
> > It seems that my belon
xampp for linux can be find on apachefriend.com
but you know that ubuntu cd have already contains php, apache and mysql?
On Thu, Jan 29, 2009 at 8:44 PM, leo wrote:
>
> try the xampp or ubuntu websites
>
> On Jan 29, 12:18 pm, Sergi Pasoev wrote:
> > Hi!
> >
> > Plese, tell me where to download
no, it is ok if your ingredient model is empty...
try to give recursive parameter with '2' when you use find method. by
default recursive parameter is null.
read more about recursive is on the api.cakephp.org
http://api.cakephp.org/class/model#method-Modelfind
On Thu, Jan 29, 2009 at 4:46 AM, ma
i use $form->end();
and it does submit trough ajax updater successfully.
see the code which is generated by ajax->form();
you will figure out that it just a normal new Ajax.Updater().
sometimes i meet my limitation when use ajax on cake,
so i just write normal html and javascript on the view
If the value of disabled form element could changed dynamically (maybe you have
some lil process on your view), maybe you need some little javascript script
here...
function test(){
document.ItemEdit.getElementById('ItemQuantytyHid').value =
document.ItemEdit.getElementById('ItemQuantyty')
nd what your question is, then. Yes, you can
use a variable as the model name, if used the way I showed you. But,
where did this error come from? If it was from the find() line, how is
it that your array has data in it?
On Wed, Jan 21, 2009 at 11:22 PM, Yusuf Widiyatmono wrote:
> sorry it ju
ind('list');**
From: brian
To: cake-php@googlegroups.com
Sent: Thursday, January 22, 2009 1:06:39 PM
Subject: Re: Dynamic Model Call
What is on line** (from the error msg)?
On Wed, Jan 21, 2009 at 10:37 PM, Yusuf Widiyatmono wrote:
> the model is loaded...
> see the prin
: Dynamic Model Call
Are these models loaded?
On Wed, Jan 21, 2009 at 6:10 PM, Yusuf Widiyatmono wrote:
> i did and it still shows me same errors...
>
>
>
> From: brian
> To: cake-php@googlegroups.com
> Sent: Thursday, January 22, 2009 2:49:31 AM
&
what your question.
Best Regards
Yusuf Widiyatmono
Software Engineer
Phone +62 (361) 755 025
Facsimile +62 (361) 755 024
Mobile +62 813 2126 4488
www.mitrais.com
From: mike
To: CakePHP
Sent: Thursday, January 22, 2009 9:13:48 AM
Subject: Re: getLastIns
i did and it still shows me same errors...
From: brian
To: cake-php@googlegroups.com
Sent: Thursday, January 22, 2009 2:49:31 AM
Subject: Re: Dynamic Model Call
Try $this->AreaInfo->{$model_name}->find(...)
On Wed, Jan 21, 2009 at 12:33 AM, wmonou wrote:
Are there any freeware tools to protect php source? I tried searching,
but didn't have much luck...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@goo
> you might try searching the list, this was talked about just recently,
> try using terms like
> 'Zend Guard' or 'SourceGuardian'
Thanks, its here:
http://groups.google.com/group/cake-php/browse_thread/thread/a17fcf56c273b0/b6c655fa77420176?lnk=gst&q=Zend+Guard&rnum=3#b6c655fa77420176
--~--~--
Hi,
If I were to create a whole application using cake framework, and I
want to distribute it to customers, is there a way I can protect the
source code of the files being distributed? Like compiling to object
code or something?
Thanks.
--~--~-~--~~~---~--~~
You
> Nope, calling exit() after a redirect doesn't break anything. The only
> reason you wouldn't want to call it after a redirect is if you had some
> other functionality that needed to be executed in a controller
> callback, or if, for some reason, you really really wanted your view to
> render.
Hi,
On this page: http://manual.cakephp.org/appendix/simple_user_auth in
the example under "/app/controllers/users_controller.php (partial)"
there is no exit() after the redirect in the "login" function.
I have read on the web that you need to provide an exit() after the
redirect, or addtional c
yes, i was trying to get at "theme"ing. thanks.
John Zimmerman [gmail] wrote:
> Chris Kausel created a class called Icing which I have not tried but I
> believe is trying to address some of the concerns that you have.
>
> You can view the code at
> http://cakeforge.org/snippet/detail.php?type=s
The View part seems to have snippets of rendering code to render
particular data blobs (like a html table of values in a database). i
wanted to know, how this ties into the whole layout aspect.
Specifically, since the little view always has the same render code,
how is it truly able to change with
Is cake php the most popular framework for php? Are there others that
are widely used out there?
Also, how does cake scale up, in terms of users and resource over head?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
28 matches
Mail list logo