SEO/Meta Data Helper

2012-04-07 Thread creat1v1ty
Hi everyone, I am using the latest stable release of Cake - 2.1.1 I am trying to build a helper (or maybe something else) that will allow me to pull SEO/Meta data from the database, and then make it available to all my views. I have researched this quite a bit and have found a few existing plugin

Re: Should I choose CakePHP over another framework for its MPTT / Nested Sets support?

2012-04-07 Thread Gautam k
Well for TreeBehaviour when I needed it instead of relying on CakePHP itself I went to the data level , I chose to use mongodb instead of MySQL, This made things a lot easier , and I used a plugin for CakePHP called cakephp-mongodb (htt

Missing cookies after closing browser for CakePHP

2012-04-07 Thread mercury12
I write 5 cookies in CakePHP 2 like this: $this->Cookie->write('atoken.n1', 'a'); $this->Cookie->write('atoken.n2', 'b'); $this->Cookie->write('atoken.n3', 'c'); $this->Cookie->write('atoken.n4', 'd'); $this->Cookie->write('atoken.n5', 'e'); My beforeFilter function: public function beforeFilt

Re: sending emails question

2012-04-07 Thread euromark
but the code is still open source (and not encrypted) - and with a quick glance at its method the question would have resolved itself. https://github.com/cakephp/cakephp/blob/2.1/lib/Cake/Network/Email/CakeEmail.php#L1079 Am Samstag, 7. April 2012 21:04:00 UTC+2 schrieb heohni: > > Because her

Re: sending emails question

2012-04-07 Thread heohni
Because here: http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#CakeEmail is no reset mentioned. Am Samstag, 7. April 2012 18:37:15 UTC+2 schrieb heohni: > > Hi, > > I having a newsletter registration where I want to send an email to the > user and to the admin. > For now I only

Re: $this->Auth->user VERY slow

2012-04-07 Thread dtemes
As far as I know this is obtained from the user session, how are you handling sessions? El jueves, 5 de abril de 2012 17:00:49 UTC+2, Dan Moseley escribió: > > Hi, > I have been experiencing extremely long run times for some calls to $this-> > Auth->user('id'). > > Most requests spend 0 time in

Re: sending emails question

2012-04-07 Thread euromark
why dont you try it out? also - why not looking into the class and its documentation there you would have probably found the reset() method Am Samstag, 7. April 2012 18:37:15 UTC+2 schrieb heohni: > > Hi, > > I having a newsletter registration where I want to send an email to the > user and to t

sending emails question

2012-04-07 Thread heohni
Hi, I having a newsletter registration where I want to send an email to the user and to the admin. For now I only send to user this way: // send email to user to confirm $email = new CakeEmail(); $email->helpers(array('Html', 'Text')); . $email->send(); How do I send another email to admin n

Re: Should I choose CakePHP over another framework for its MPTT / Nested Sets support?

2012-04-07 Thread Kevin Mitchell
Ay. Thank you. That's helpful encouragement. I started to look at the Doctrine ORM. It certainly has what I need for managing nested sets. As I understand it, if I had to, I could also use this with CakePHP if I have to. Again, thank you. Kevin On Friday, April 6, 2012 8:51:23 AM UTC-7, Ay wrot

Re: Session unstable?

2012-04-07 Thread heohni
I have the debug kit up and running, but how should that help me? All I can see is that the session are empty at one point? But I was using debug kit not often, so maybe I don't use it right or I don't see things the right place? Would you be so kind and help how the debug kit could help me findi