Re: hasAndBelongsToMany Relationship

2010-05-09 Thread WebbedIT
You've outlined your models, controllers and actions but have not really told us what problem you are having. Are you having issues with finding data, displaying data or saving data? HTH Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Gearing up: New repository and 2.0 development branch available

2010-05-09 Thread Graham Weldon
Since the release of CakePHP 1.3.0[1], the development team has been working on CakePHP 2.0 as well as the numerous tickets on the 1.2[2] and 1.3[3] branches. We're pushing a fair amount of effort into CakePHP 2.0 and making changes that we've been keen to make for some time (See the 2.0

Re: passing more parameters leads to duplicate content

2010-05-09 Thread AD7six
On May 7, 3:46 pm, WebbedIT p...@webbedit.co.uk wrote: I guess you've never heard of black hat seo techniques. Yip, certainly have Report them for what - most of the time we're talking about typos A typo wouldn't lead to this issue, a typo would lead to your domain or main parameters

Cake 1.3 problem setting admin layout in app_controller.php

2010-05-09 Thread fabio
Hello mates, i'm experimenting a problem while passing from 1.2 to 1.3 regarding how to set a style from app_controller.php Basicly i've a simple kind of admin area using the Auth component and what i need is to set a custom style for all the views in the admin area: ie

Re: email sending

2010-05-09 Thread Renato de Freitas Freire
Im using phpMailer to send emails with cakephp... It works really great for me... Why dont you try? -- Renato de Freitas Freire ren...@morfer.org On Sat, May 8, 2010 at 10:13 AM, John Andersen j.andersen...@gmail.comwrote: Or use your Gmail as your mail account in a smtp setup. See

Re: email sending

2010-05-09 Thread Ma'moon
@Renato because the email component from CakePHP is a core component and it fits much better with the framework, plus, whats exactly does phpMailer gives you while Cake's email component doesn't? On Sun, May 9, 2010 at 5:16 PM, Renato de Freitas Freire renat...@gmail.com wrote: Im using

Re: 1.3 omit attribute

2010-05-09 Thread Zaky Katalan-Ezra
I use th for column headers, thank you. But this wasn't my question. How do I omit the automated 'for' attribute for the $this-Html-label. On Sun, May 9, 2010 at 1:01 AM, Andy Dirnberger andy.dirnber...@gmail.comwrote: Labels are supposed to be used with input fields. You should be using th

Re: hasAndBelongsToMany Relationship

2010-05-09 Thread Stefano Martins
I'm having problem saving data. I'm building the view for the action, but I don't really know how to save data in this case, 'cos I can't figure out how to make the view using the $formHelper, receiving the data using the $this-data in the controller and using the $this- Something-save() method to

Re: 1.3 omit attribute

2010-05-09 Thread euromark
i dont think the for element should be omitted for labels as it is part of it - there are lots of other xhtml elements that would be more appropriate if there is no id to refer to On 9 Mai, 20:21, Zaky Katalan-Ezra procsh...@gmail.com wrote: I use th for column headers, thank you. But this

Re: CakePHP.Org Source

2010-05-09 Thread Luiji
I think I found it, thanks! On Apr 25, 1:59 pm, jacmoe jac...@mail.dk wrote: Take a look here:http://github.com/cakephp Cheers Jacob On Apr 25, 3:32 pm,Luijibruggie...@hotmail.com wrote: Considering that CakePHP is an open-source project and CakePHP.Org seems to use CakePHP, it

Re: email sending

2010-05-09 Thread Renato de Freitas Freire
i never could get smtp auth with core email component... and with phpmailer i did it like a piece of cake... -- Renato de Freitas Freire ren...@morfer.org On Sun, May 9, 2010 at 1:54 PM, Ma'moon phpir...@gmail.com wrote: @Renato because the email component from CakePHP is a core component

Hi css problem on 1.3 version

2010-05-09 Thread CoDe
I have recently upgraded to cakephp 1.3 and now none of my css gets served. All i get instead is an error saying that the the css controller cannot be found javascript the same problem I added my RewriteBase /~user/cake some idea?? Check out the new CakePHP Questions site http://cakeqs.org and

plugins css javascript route cake 1.3

2010-05-09 Thread CoDe
What is the new correct way for add css on you plugin because there cakephp show me CssController not found. I wrote in my plugin layout echo $this-Html-css('/forum/css/ style.css'); but nothing happend Check out the new CakePHP Questions site http://cakeqs.org and help others with their

Re: 1.3 omit attribute

2010-05-09 Thread Andy Dirnberger
I agree. While the for attribute is optional, Cake assigns an id attribute to your inputs so it only makes sense that it would assign a for attribute to the associated label. You said you aren't using the label with an input field, which is the purpose of the label element. If that really is the

Re: Bakery...arrogance or plain lack of attention

2010-05-09 Thread Jayesh Wadhwani
ADmad: especially the ones which have almost nil probability of being accepted like yours This is what I call arrogance. You have all this time to research my IRC chats. Did you by the way tell me that you were a reviewer on the chat. Nope. Then why should I care what you have to say. If you

Re: 1.3 omit attribute

2010-05-09 Thread Emil Christensen
The whole point of a label tag, is to label a specific input field. So there would be no reason to implement a feature to omit the tag in any framework. I can't tell you if it is possible or not, however I would advice that if you have a need to remove the for attribute from the label, you

Finding related articles

2010-05-09 Thread jthommo
Let me say upfront that although I'm not new to PHP, I am only now discovering databases and SQL, and I'm doing it through Cake. I was also surprised that I couldn't find an answer already published, but here goes: To translate my question into the standard example, I have the standard articles

Shared SSL and .htaccess

2010-05-09 Thread lavin
I've been trying to make my site work with the free shared SSL provided by my hosting (bluehost), which is enabled by accessing the URL https://secure.bluehost.com/~myuser/subdomainfolder/ I can see that it is working if i remove the .htaccess files used for cakephp (the subdomain folder contains

Re: email sending

2010-05-09 Thread Narendra Padala
Hi..! , i am new to cakephp , i found this link for sending emails , i hope you it will helpful for you http://edwardawebb.com/web-development/cakephp/simple-email-component-cakephp On Mon, May 10, 2010 at 4:42 AM, Renato de Freitas Freire renat...@gmail.com wrote: i never could get smtp