Hi arti,
In your code both if-else statements say 'logout', one should be 'login'.
And I also dont see that you actually log off facebook. You just destroy the
cake session, the fb session is still valid.
If you want to use facebook with cake I recommend the Plugin by webtechnick. It
also works
No it's ok, now that i know that! Surely it's a lot clearer the log in this
way. Thank you
2011/12/22 José Lorenzo
> Only the model queries and those you manually do with query() will be
> logged. There is actually no reason for that, except that it make logs a
> lot more cleaner. If you think t
Hi,
Hello all,
i have made a logout button in my app.in userheader and header
respectively.But when i click on logout button it logs me out of app but
not from facebook and also after logging out from app again when i login it
doesnot delete the session but again logs me in via my facebook
acc
Hi All,
After working with drupal and wordpress for past 6 months i am switching
back to cakephp for a game project. I see cakephp 2.04 is latest version
available. I want to know what is the right version to start project with.
Are there any major differences in terms of cake API.
it is a multip
Hi All,
I am using the email component of cakephp 1.3 to send emails.
In the From Field, I am using the following code.
$this->Email->from = 'my_default_n...@sitename.com'
However, when the user recieves the email it reads as
"sta...@servername.com on behalf of my_default_n...@sitename.com"
Wha
Having an admin interface that allows you to manage 'static' data would lead to
at least one controller for each model/table, probably.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 21 Dec 2011, at 20:05:29, Brad Koch wrote:
> So, in summary:
> * Don't use subfolders anymore.
> * If
Only the model queries and those you manually do with query() will be
logged. There is actually no reason for that, except that it make logs a
lot more cleaner. If you think transaction queries should be logged, please
open a ticket explaining your use case.
--
Our newest site for the communit
If a tree falls in a forest and no one is around to see it, do all of the
other trees make fun of it?
On Wed, Dec 21, 2011 at 7:38 PM, M Kaufman (Gmail) wrote:
> What about one with a 42u rack in his random location without Internet,
> operating quite securely, and avoiding theft or notice?
>
>
Hi All,
I am using Auth and I have an edit user details page, the password is
coming though hashed into the password field, if the user doesn't
change the password, the hashed password get re-hashed and therefore
it will be unknown to the user. How do I get around this issue?
Thanks
--
Our newe
What about one with a 42u rack in his random location without Internet,
operating quite securely, and avoiding theft or notice?
Sent from my iPhone
On Dec 21, 2011, at 4:50 PM, euromark wrote:
> a (web)programmer that doesnt have internet? :)
>
>
> On 21 Dez., 23:56, Ucha19871 wrote:
>> ooh
a (web)programmer that doesnt have internet? :)
On 21 Dez., 23:56, Ucha19871 wrote:
> ooh thx.. I know this documentation,but .. do you have a PDF version
> of this documentation .. or .CHM file..
> so i can use it locally, without Internet..
--
Our newest site for the community: CakePHP Video
ooh thx.. I know this documentation,but .. do you have a PDF version
of this documentation .. or .CHM file..
so i can use it locally, without Internet..
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakeph
http://book.cakephp.org/2.0/en/
here we are :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/12/21 Ucha19871
> Hello, I am new in CakePHP and what to know, when will be CakePHP 2.x
> book available ?
> Can you give me links for the new (2.0) book pleas ?
>
> --
> Our newest site for th
I'm a newbie too :)
http://book.cakephp.org/2.0/en/
Regards,
Tim
On Wed, Dec 21, 2011 at 2:49 PM, Ucha19871 wrote:
> Hello, I am new in CakePHP and what to know, when will be CakePHP 2.x
> book available ?
> Can you give me links for the new (2.0) book pleas ?
>
> --
> Our newest site for the c
Hello, I am new in CakePHP and what to know, when will be CakePHP 2.x
book available ?
Can you give me links for the new (2.0) book pleas ?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and hel
Yeah but that doesn't correlate to a 1-to-1 relationship to
controllers. I've had apps with 60+ models but maybe only 20-30
controllers.
But again it depends on the app.
On Dec 21, 12:05 pm, Brad Koch wrote:
> So, in summary:
> * Don't use subfolders anymore.
> * If you want to start making part
So, in summary:
* Don't use subfolders anymore.
* If you want to start making partitions between files, use a plugin.
@Miles, just an example. Lots of models would equal lots of
controllers. I've had schemas that had over 60 tables before, so it
wouldn't be unreasonable at all to see up to 100.
Acl and scaffold don't play nice.
Comment that comp for now add it later
- S
On 21 Dec 2011 12:47, "gloop" wrote:
> Hello everybody,
>
> i cant believe it. I solved my last problem with Scaffold and now ive
> a new one.
>
> I add in my AppController an Auth and allow it to all my functions:
> c
+1 for Google
http://lmgtfy.com/?q=cakephp+2.0+migration+guide
:P
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
Assando Sites*, curs
On 21 Dic, 14:23, Matteo Landi wrote:
> On Wed, Dec 21, 2011 at 9:52 AM, socrates
> wrote:
>
> Are you telling us that now transactions are working properly?
> That's strange even if I think it is possible cakephp will not log
> everything; however, maybe some cakephp-sql expert guys would sh
On Wed, Dec 21, 2011 at 9:52 AM, socrates wrote:
>
> Thanks all for the help, I solved in this way:
Are you telling us that now transactions are working properly?
> 1) I move the code form the controller to the model. (I don't really
> know if this help!)
> 2) I used the Datasource to start the
Hi
Have encounter the same issue as bellow after upgrading an cake
application to 1.3 when a try to use a Ajax based contact form
It makes no different if a have
function beforeFilter() {
$this->Auth->allow('*');
}
It only works if a remove the Auth component
http://cakephp.lighthouseapp.
Hello everybody,
i cant believe it. I solved my last problem with Scaffold and now ive
a new one.
I add in my AppController an Auth and allow it to all my functions:
class AppController extends Controller {
var $components = array('Acl',
'Auth' => array(
hey there
you do know that google has been invented a few years ago (awesome
tool!), don't you?
anyway:
http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html
On 21 Dez., 10:28, "omar.abdallah" wrote:
> Hello all,
>
> Is there any CakePHP 2.0 migration guide available? It will help
Hello all,
Is there any CakePHP 2.0 migration guide available? It will help alot
in spreading 2.0 plus. It will enable people to use plugins designed
for 1.3
Thank you,
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions sit
you could probably extend the form helper (FormExtHelper etc) and work
your changes in in this class.
you could also try to use inputDefaults() in each form, but will be
less DRY.
On 20 Dez., 23:04, Ronen Amiel wrote:
> Hey everyone,
>
> I'm trying to get the hang of CakePHP, I really like the w
you could also put this into your bootstrap:
/**
* Can compare two float values
* @link http://php.net/manual/en/language.types.float.php
* @return boolean
*/
function isFloatEqual($x, $y, $precision = 0.001) {
return ($x+$precision >= $y) && ($x-$precision <= $y);
}
On 21 Dez.,
Hey everyone,
I'm trying to get the hang of CakePHP, I really like the way this
framework is built, but I'm having a lot of trouble getting my code
right with the form helper class.
I find it very hard to get the HTML I want from an input without
inserting a lot of my html into --before--, --afte
Thanks all for the help, I solved in this way:
1) I move the code form the controller to the model. (I don't really
know if this help!)
2) I used the Datasource to start the transaction. (Like explained in
the docs)
3) I commit or rollback with the datasource, but the SQLLog in the
page shows only
29 matches
Mail list logo