works in firefox but blank box in explorer. Anyone know why??
--
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 gro
hmm well I put the css in webroot but did not echo it in the layout.
Working now, just some issues to work out.
--
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
Hello, Trying to implement thickbox but when I click the image/link it
does nothing.
in template head I have this:
Html->script(array('jquery/
jquery-1.4.4.min','jquery/jquery-ui-1.8.6.custom.min', 'thickbox/
thickbox.js'));?>
and this:
both thickbox and jquery show in firebug
thickbox.css i
There isn't a helper called jquery. You would use the JS helper and
specify the javascript engine you want to use:
public $helpers = array('Js' => array('Jquery'));
http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html?highlight=jquery
On Jan 23, 3:31 pm, Thiago Silva wrote:
> Hello,
>
Oh yeah, definitely use Containable.
You can also specify which fields you want to return.
http://book.cakephp.org/2.0/en/models/retrieving-your-data.html
array('Model.field' => $thisValue), //array of
conditions
'recursive' => 1, //int
'fields' => array('Model.field1', 'DISTINCT Model.
Hello,
I'm using CakePHP 2.0.4 and I tried to use JQuery with it.
But when I write in the controller $helpers = array('jquery')
everything stops working.
And I get a messagem saing that the function create isn't recognized.
Can I find any tutorial about that?
Thanks,
Thiago
--
Our newest site f
Limit what you fetch in the first place using the containable behaviour
which you can set to fetch the models and/or fields:
http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
contain => array(
'Friends' // all fields from related friends results
)
contain => array(
'F
Hello.
I'm making multilingual website and I want administrator to add and
edit subpage in all available languages within one form.
The add function works fine, the problem is when I want to edit
subpage and all translations at one time - one of the fields does not
want to update in i18n table.
Does your User model "use" EmailAddress? Or is EmailAddress related to
User somehow?
Make sure you have debug turned on. Make sure the data you are sending
is correct. And make sure your model associations are correct.
Please post the actual errors you are getting.
On Jan 23, 4:17 am, Florin Tri
Hello, it's just a web.config, but you will not need to create it. When you
import the "Import Rules" IIS7 web.config it will create automatically. Add
me to talk in GTalk;-)
Hugs!
On Mon, Jan 23, 2012 at 12:36 PM, Christoph Wagner <
chris.wagne...@googlemail.com> wrote:
> Hi Suelen,
>
> thanks
your relations are in the controller - they should be in the model
you don't need to loadModel follower as User hasMany followers
- S
On 22 January 2012 16:20, J. wrote:
> I'm making a follower system ala Twitter.
>
> Here is my UsersController :
>
>
> class UsersController extends AppContr
I suggest you read this article:
http://nuts-and-bolts-of-cakephp.com/2008/07/11/notes-on-cakephp-habtm-part-2-saving-data/
At the end you'll see a behavior where you can save one HABTM link at a
time. Generally, you save all of the HABTM data because Cake wipes all of
the current relationship
Hi Suelen,
thanks for the information! Will try it later tonight!
One question: do I have to put the webconfig files for the htaccess in
root/app and app/webroot also in these folders or
do I need to create something like a "super" webconfig, meaning there
is only one webconfig in the cake folder?
On Jan/22, Thiago Silva wrote:
> Hi,
>
> How can I create a fixture for a HABTM table?
Imagine an app where users are linked together (friendship): you should have
a Model named `UsersUser' and the fixture `UsersUserFixture'. At this point
inside your tests you should be able able to use the fi
We cannot understand you
please post in english!
On 23 Jan., 13:13, Pau wrote:
> Hola a todos.
> Tengo un pequeño problema, a ver quien me puede ayudar.
> Utilizo el componen Auth de Cake para la validadción de usuarios. El
> Password lo guardo encriptado por tanto no puedo saber cual es la
> ve
Hi
What do you mean when you say it doesn't work? Do you have an error message?
Best regards
On Mon, Jan 23, 2012 at 8:26 AM, Ivo Wolgensinger wrote:
> Dear all
>
> I have some difficulties to set up a proper validates()-function in
> the Controller. Everything in the function works fine, exept
Hola a todos.
Tengo un pequeño problema, a ver quien me puede ayudar.
Utilizo el componen Auth de Cake para la validadción de usuarios. El
Password lo guardo encriptado por tanto no puedo saber cual es la
versión sin encriptar.
La web tiene un proceso de pago mediante tarjeta de crédito que
realiza
Hello.
I'm building an multilingual website in CakePHP 2.0.5 with the use of
I18n.
My question is: how can I define (in model class) validation rules, so
they apply to specified language version (locale)?
I have an i18n table, "languages" table (id,code), "subpages" table
(id,created)
While addi
Your solution dosent work. I generate the image on the fly and I use
header(). But the headers are already sent when I use a controller
action because is embeded in the default page.
On Jan 21, 7:24 pm, Daniel wrote:
> Why are you putting the captcha in the img directory? You should have
> the i
How to use recaptcha without code in PHP. If you are not ressistent
to questions maybe you should change your line of work. Maybe cleaning
tables will work better for you. You never know until you try. I'll
code one more time in cakePHP and then I'll stop :d.
On Jan 22, 5:55 pm, Tilen Majerle
wow. thanks a lot. i really appreciate it !!!
i will use this one ;)
but just to make sure i make things better next time. how would you
code this?
would you check for a complete form in the controller or in the view
via JS like I did? what make more sense? I chose JS cause it felt
easier to pop
21 matches
Mail list logo