Maybe storing the session on the database or with memcache?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
tests via the
*phpunit*command and not the cake test shell? I tried to find/include
a bootstrap
file but I kept getting lots of class not found errors for App,
CakeTestSuite and stuff.
Regads.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP
Thank you Iva!
I achieved the same results using a phpunit.xml file:
https://gist.github.com/TiuTalk/5073889
How I get a code coverage report while using *cake test app case* :)
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando
http://book.cakephp.org/2.0/en/core-utility-libraries/time.html#CakeTime::timeAgoInWords
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
Please, copy the content of the file to: https://gist.github.com/ and post
the link here.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
There's the } from the class definition? That's why I asked for the whole
file.
Maybe there's something wrong with your password? It contains ' ?
And what about your PHP version?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando
I would say the problem is here:
'prefix' = '',);
Please, try again with the default database.php.default renamed to
database.php without altering anything.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http
Rename or delete the file and see if the error go away.
--
Thiago Belem
Enviado pelo celular
Em 27/02/2013 00:58, Osgaldor Storm osgal...@gmail.com escreveu:
The file is renamed database.php and I went and got a fresh copy of the
file and the error was the same. I tried commenting out
of the given model.
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com
Did you tried it outside CakePHP?
--
Thiago Belem
Enviado pelo celular
Em 22/02/2013 18:24, April DeRossett april.deross...@gmail.com escreveu:
Hello!! I finally figured out how to integrate the GAPI- Google Analytics
AIP PHP Interface into my cake project...But, it is painfully slow. Here
Renato,
Essa lista é para discussões em inglês, para postar sua discussão em
português usa a lista CakePHP Tuga cakephp...@googlegroups.com.
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
= StateMachine.StateMachine
That's correct! :)
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
https://github.com/slywalker/TwitterBootstrap
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
You have to update/rewrite the session values when the Group/User is
saved... AFAIK there's no built-in way of doing this.
--
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
Just to make it clear:
AFAIK there's no built-in way of doing this (update the session when the
user is saved) automatically, you need to do this on beforeSave or
afterSave callbacks.
[]s
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
Irregular:
People = Person
Uninflected:
Kelas = Kelas
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
I think you can just replace the core folder and you're good to GO.
No need to create a new app.
And take a look at the migration guides:
http://book.cakephp.org/2.0/en/appendices.html
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
Noone have a tip or a link to help me with this?
Just show me some controller POST unittests and I'll figure it out. :)
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont
AFAIK, only your application controllers extend AppController, not the
error controller.
So yeah, they will not trigger the AppController callbacks.
Em 25/08/2012 22:15, amfriedman amfried...@gmail.com escreveu:
Hey folks, strange problem here with Cake 2.2.1
When I have an error or
I'm already using the 2.3 native way of doing it, thanks
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to
/TestSuite/ControllerTestCase.php : 189
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
starting to work on the components?
My intention is to create a BcryptAuth component where you can configure
the hashing cost.
I would love to hear from you all before goin any deep into this.
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de
Oh gosh.. I've almost reinvented the wheel :P
I've already updated my project to use the native blowfish algo, thank you!
:)
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To
Maybe something like this:
echo $this-Form-input('name', array('div' = array('class' =
'div-class'), 'before' = 'div class=input', 'after' = '/div'))
Please check the cookbook:
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#options
--
You received this message because you
Hey guys,
Try to sell plugins - on the list - is not against the rules?
If the user does not answer further questions, and only responds when it
can pass the link to his plugin (paid), this does not show bad faith?
What can we do about this? I remember that few days ago some of these users
were
Use a class, not an ID...
Em 13/08/2012 21:04, Paolo pmoscate...@gmail.com escreveu:
HELP! It worked fine with your step-by-step instructions, Florin. However,
I'm building a search form where I need 2 different datepickers, but it's
not working.
I guess the problem is that two DOM elements
Please,
Define lite version, what do you think that should be stripped out?
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to
Why not using a view var? If you're goin to format the keywords you should
use a Helper.
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype
Maybe the URL shouldn't contain special characters?
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
URL to the file.
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt
Maybe http://code.google.com/p/minify/ ?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
Did you set the cacheQueries model property?
http://book.cakephp.org/2.0/en/models/model-attributes.html#cachequeries
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont
$book = $this-Book-findById($id);
$author = $book['Author'];
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
CakePHP 2.0 has Router::redirect()
http://book.cakephp.org/2.0/en/development/routing.html#redirect-routing
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont
I always recommend a moderate knowlegdge about PHP before adventuring with
frameworks.
There's a lot of things inside the frameworks that require language skills.
Good luck,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando
,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt
On Sun, Apr 29, 2012 at 16:39
Can you provide more information about you server like os, versions, cache
setup and etc?
Regards,
--
Thiago Belem
Enviado do meu Android (e sujeito a erros do corretor automático)
Em 27/04/2012 20:17, Mika mikabrownem...@gmail.com escreveu:
Since we upgraded our web application to Cake 2.1.1
functions to work.
I don't want to use anoter testing framework like PHPT or something that's
not pure CakePHP and PHPUnit.
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont
You're saving the file as UTF-8 too?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
Maybe:
$total = $var[0]['$total'] ??
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com
How you're creating the links?
Show us some code.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
This message is generated on your Users::login() method, right? You can
check if the user exist and isn't confirmed before issuing the setFlash()
method.
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http
You could use the isAuthorized method:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#using-controllerauthorize
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
The messages are stupid but yet, you couldn't figure them out, right?
It's a permission problem: is not writable
Give 777 permission on tmp folder.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Did you applied the permission recursively?
Like: chmod -R 777 tmp
--
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 help others
with their CakePHP related questions.
To unsubscribe from
I do not want to be rude but...
You want us to search and study about YiI's auth implementation or you
could just provide us with some code and show us how it does?
I don't like the way you do something... i think i know a better way
means nothing to me.
Cya,
--
***Thiago Belem*
Desenvolvedor
Please check the documentation:
http://book.cakephp.org/2.0/en/models/virtual-fields.html
No need to use the constructor.
Regrads,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
Are you using the same Security.cipherSeed and Security.salt?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
Assando Sites*, curso de CakePHP *»* assando
Maybe you should just orient your users to reset their passwords?
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
*Assando Sites* - Curso online de *CakePHP*
assando-sites.com.br http://goo.gl/b1EEd
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
Why don't you put this getMeta method inside your model or create a
behavior?
--
Thiago Belem
Enviado do meu Android (e sujeito a erros do corretor automático)
Em 09/04/2012 22:24, creat1v1ty justin.r.ran...@gmail.com escreveu:
Thanks again euromark - I've taken your advice and tips
If you're invoking the getData method i would use a behavior, but if it's
goin to work by itself (without you calling a method) I would go with a
component, like Mark said.
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
Because that's what you passed to $this-Auth-login(), instead you should
call it without parameters.. if you pass anything to it, it will login any
data and save it to the session.
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
thiagobelem.net
cont...@thiagobelem.net
+1 to euromark
2012/2/27 euromark dereurom...@googlemail.com
why dont you guys just try it
its not like it will explode and kill you or something
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::select
Always check the documentation...
If you would like to generate a select with optgroups, just pass data in
hierarchical format. This works on multiple checkboxes and radio buttons
too, but instead of optgroups
Looks like this input wasn't generated by CakePHP..
--
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 help others
with their CakePHP related questions.
To unsubscribe from this group, send
It's like comparing toolboxes based on airplane turbine *specs*.
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 21/02/2012 10:25, Stephen step...@ninjacodermonkey.co.uk escreveu:
Having the fastest lap time on the page load track doesn't interest me or
persuade me to use
Model object (inside the
controller), and*$this
* is the Posts Controller object.
You should give a chance to the blog tutorial on the
CookBookhttp://book.cakephp.org/2.0/en/#build-a-blog
.
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont
This happend because you don't have the _findPost() on your model... where
you defined it?
Tried $this-_findPost()?
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
On CakePHP 1.3 it's
*isPost()*
on 2.0+ is:
*
*
*is('post')*
Cya,
--
***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
AFAIK, PUT is the POST HTTP Request version of edit action... when you
send data that u want to change something (not insert) you send a PUT
request.
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
This shoud work too:
User $belongsTo Group
User $hasOne Teacher (1:1)
User $hasOne Student (1:1)
A user don't have multiple (belongsTo/hasMany) students or teachers, he IS
the teacher OR the student... so hasOne should do the trick.
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ
I really like the MeioUpload plugin:
https://github.com/jrbasso/MeioUpload
Att.,
--
***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
Thank you Lorenzo.
Att.,
--
***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*, curso de CakePHP *»* assando-sites.com.br
Check the Router class on the documentation.
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 19/01/2012 11:28, heohni heidi.anselstet...@consultingteam.de
escreveu:
Hi,
from a relaunch I have many old links in google which all land on a
404 page and I would like to redirect
...
This sounds like a bug to me, should I open a ticket?
Regards,
--
***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*, curso de
You should save the size in bytes and format it to an human readable format
(2 mb) on the view, with a helper.
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 15/01/2012 14:59, ahmed fakher spcial...@gmail.com escreveu:
i use meioupload behavior to upload files but i cant know how
As you can see on the documentation:
Rather than using an auto-increment key as the primary key, you may also
use char(36). Cake will then use a unique 36 character uuid (String::uuid)
whenever you save a new record using the Model::save method.
So, what's the main diference between INT and
Talking is cheap, show me the code! :-)
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 11/01/2012 02:40, datgs giangson...@gmail.com escreveu:
Hi all,
I think CakePHP should support for better way to define validation
rules. Like Yii::Model::rules() definition. There are many
If you have one record for every association, does make sense to have a
counter there? The counter should be on each table*.*
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 11/01/2012 02:41, O.J. Tibi ojt...@gmail.com escreveu:
Hi folks,
I was just wondering, if it's possible
You need allow the display action
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 09/01/2012 04:29, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com escreveu:
From what you have written it appears that your Auth-allow statement
doesn't include /pages/email_sent - so
About the:
var $ipaddr=$_SERVER['REMOTE_ADDR'];
I don't think this is possible since class attributes must receive literal
values, you can't pass a variable on the class definition, only inside a
method or constructor.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21
This question isn't related to CakePHP framework, please check the PHP
(language) documentation at *PHP.net*
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 31/12/2011 14:42, paresh kotar paresh.ko...@gmail.com escreveu:
I am a learner in php..I have basic knowledge of HTML and C
... should I just store it on the database (and work with WYSIWY
editor) or use some documentation/guide lib like Sphinx? Maybe a noSQL
database?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
Did you read the documentation?
http://book.cakephp.org/2.0/en/core-libraries/components/sessions.html
You should use the SessionComponent...
$this-Session-write('Person.eyeColor', 'Green');
$green = $this-Session-read('Person.eyeColor');
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro
Sorry guys, i didn't saw the 11 part..
Thanks Tilen for the answer! :)
Cya,
--
***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
+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
paths.
- Creating cache configurations.
- Configuring inflections.
- Loading configuration files.
--
***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
Your project is on github?
--
***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*, curso de CakePHP *»* assando-sites.com.br
1. The relation is defined on the models
2. You have defined the displayField of country?
3. Both models exist (file)?
Regrads,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
I agree, that's how WordPress works too.. Everything (instead Posts) is a
taxonomy (term). :)
Abs,
--
***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
.
Try to always give a look at the documentation before posting a question. :)
Regards,
--
***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
http://book.cakephp.org/2.0/en/console-and-shells.html#adding-cake-to-your-system-path
:)
--
***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
A web page is not your file system.. you should use something like relative
path, or http://localhost/.
Are you using the HtmlHelper?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
you do something like
this?
$actsAs = array('HtmlTidy' = array('fields' = array('body')));
And automatically cleanup the fields value inside behavior's
beforeValidate()?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont
, including suggestions for improvement
in the component and unit tests.
Regards,
--
***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
Try something like this:
$this-Html-input('field', array('div' = array('class' =
'my-div-class')))
--
***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
Yep... You got me.
Thanks,
--
***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*, curso de CakePHP *»* assando-sites.com.br
jQuery 1.3? Time to upgrade!
--
***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*, curso de CakePHP *»* assando-sites.com.br
http://bakery.cakephp.org/articles/lorenzo/2011/10/16/cakephp_2_0_released
Embraced the *PSR-0* recommendation for file naming. Now all your classes
map to a file with the same name. Less things to remember!
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
to create the
controllers and etc.
I will use this post to ask future questions regarding this kind of tests ;)
Thanks for your help!
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
just wanted to check if there's something special/different for
CakePHP.
Thanks,
--
***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
everything on the core is properly tested and i'm not creating new
helpers, components and etc.
I want to rear from you guys examples (and the code, if possiebel) of real
world applications test cases.
Thanks,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
Did you enabled the TimeHelper on the $helpers property on your Controller?
http://book.cakephp.org/2.0/en/controllers.html#Controller::$helpers
Cya,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
The trademark owner can contact the ICANN and ask for the domain*
suspension, right?
* Wich contains the trademarked name
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk **»* thiago.belem.web
*LinkedIn
,
--
***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*, curso de CakePHP *»* assando-sites.com.br
--
Our newest site
Here's the ticket on this Issue:
http://cakephp.lighthouseapp.com/projects/42648/tickets/2207-authcomponentsessionkey-property-cannot-be-changed
The only workaround is extending the authcomponent and doing your own thing.
Sad but true.
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ
I've nothing against MooTools, but why jQuery is a design framework?
--
***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
And what about the parent::beforeFilter(), it should be on the start or the
end of my PaymentsController::beforeFilter()?
Before or after the disable('Security') ?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
I would like an answer to this question too.. *bump*
Probably I would use it as Vendor and create a Component, seems the fastest
way to do it.. But what do you guys think?
Regards,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont
Probably a missing image URL/file, check your webserver access logs.
--
***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
1 - 100 of 115 matches
Mail list logo