Take a look at the Containable behaviour in the CakePHP manual at:
http://book.cakephp.org/view/1323/Containable
The Containable behaviour allows you to specify which related models
are to be included in the find you are making, thus speeding up the
find.
Enjoy,
John
On May 29, 3:07 pm,
In your first example, the TimeLineHelper should be named TimeLine in
your helpers array in the controller!
Enjoy,
John
On May 30, 5:58 am, Bryan Lim ytbr...@gmail.com wrote:
Hi all,
Can someone please tell me what did I do wrong with the naming
convention?
I named my helper
Here is your silver bullet: http://book.cakephp.org/view/1323/Containable
Jeremy Burns
jeremybu...@me.com
On 29 May 2010, at 13:07, Antony wrote:
Hi all,
I have my models setup so: Person Item Images
I want to be able to display a list of People and their images. I can
Have a look at the CakePHP manual at:
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
Is that not what you want? Or at least something with which you can
expand on!
Enjoy,
John
On May 30, 7:38 am, hoss7 hoss...@gmail.com wrote:
hi i am new in cakephp
i want some user
Have a look at the sample application in the CakePHP manual at:
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
Maybe that you can use as a beginning and then expand on it?
Enjoy,
John
On May 28, 8:28 am, ET3 earthtechnolo...@gmail.com wrote:
I am developing a system
I suggest you take a look at the Containable behaviour in the CakePHP
manual at:
http://book.cakephp.org/view/1323/Containable
as well as how to join models at:
http://book.cakephp.org/view/1039/Associations-Linking-Models-Together#Joining-tables-1047
and last but maybe more important, how to
its
App::Import('Helper', 'Html');
etc
On 30 Mai, 02:15, luca capra luca.ca...@gmail.com wrote:
Hi all,
Using 1.3 stable I'm trying to override some function in a custom helper
overriding a core helper (form+html)
An example:
dojo_html.php
App::Import('Html');
class DojoHtmlHelper
Hi all,
I am looking for a helper to do a sliding animation.
It is found in http://www.worldwildlife.org/ under the year of tiger
animation where you can go forward or backward accordingly. if you use
firebug, it's under div class=whatsInside
What do we call this kinda of widget?
Thanks!
I get the exact same unserialize errors on a project previously
running fine on Cake 1.3 after updating to 1.3.1. Disabling cache
makes the error go away, but that's not really desirable of course..
On 30 mei, 02:48, Sergei yatse...@gmail.com wrote:
Hi,
just tried 1.3.1 with one of my project
Thank for the response.
I stil have a doubt about this way of proceding
dojo_form.php
App::Import('Form');
class DojoFormHelper extends FormHelper {
var $helpers = array('DojoHtml','Js');
}
In my case, I need to fork the whole FormHelper subtituting the Html
occurences with DojoHtml or
On 30 May 2010, at 12:08, Bryan Lim wrote:
I am looking for a helper to do a sliding animation.
It is found in http://www.worldwildlife.org/ under the year of tiger
animation where you can go forward or backward accordingly. if you use
firebug, it's under div class=whatsInside
What do
According to this:
http://cakephp.lighthouseapp.com/projects/42648/tickets/769-unserialize-error-cakephp-131-unusable-on-windows
You have to edit file.php in order to fix it (which in not desirable
too)
On 30 Μάϊος, 14:41, Elte Hupkes ell...@gmail.com wrote:
I get the exact same unserialize
Hi everyone. I'm upgrading an app from Cake 1.2.5 to 1.3.1.
Previously (with Cake 1.2.5) we were defining DEFAULT_LANGUAGE as a
fallback like so:
define('DEFAULT_LANGUAGE', 'en_US');
And then allowing a switcher in the App Controller like so:
$this-Session-write('Config.language', 'xx_XX'); //
The error message gives you a subtle hint.
With a file named time_line.php, try defining it in the controller as:
var $helpers = array('TimeLine');
Steve
On May 29, 8:58 pm, Bryan Lim ytbr...@gmail.com wrote:
Hi all,
Can someone please tell me what did I do wrong with the naming
convention?
On May 29, 11:17 pm, jerikschaeffer jerikschaef...@gmail.com wrote:
Unfortunately, everytime the session starts, meaning on every
page, I'm seeing the following debug messages:
Warning (2): mysqli_real_escape_string() [function.mysqli-real-escape-
string]: Couldn't fetch mysqli
On our site (rottenrecords.com, the new releases and featured
videos panels on the homepage) we use the jQuery Scrollable plugin. I
made a helper for it, but it's not really necessary.
Oh, and that WWF interface is done in flash--that's why it's all
pixelated and blurry-looking.
On May 30, 4:08
I have that problem that after validation, when it is again diplayed
my form with error messages, there are no options in select fields. It
is because options in select filds are variables declared and defined
in controller action, so after validation thoose variables aren't
declared and defined.
Are you submitting the form to a different controller or action other than
the one where you are setting your select values?
- Ed
On Sun, May 30, 2010 at 2:22 PM, Ziki zixw...@gmail.com wrote:
I have that problem that after validation, when it is again diplayed
my form with error messages,
No, same controller, same action.
On 30 svi, 21:27, Ed Propsner crotchf...@gmail.com wrote:
Are you submitting the form to a different controller or action other than
the one where you are setting your select values?
- Ed
On Sun, May 30, 2010 at 2:22 PM, Ziki zixw...@gmail.com wrote:
I
And you say they are not re-populating after validation? Check to be sure
that your queries are not not nested in something like this:
if(empty($this-data))
{
// your queries here
}
-Ed
On Sun, May 30, 2010 at 3:20 PM, Ziki zixw...@gmail.com wrote:
No, same controller, same action.
On
Yeah Cakes naming conventions can be confusing:
Class: TimeLineHelper
File: time_line.php
Include: $helpers = array('TimeLine')
On May 29, 8:03 pm, Steve Love stevel...@gmail.com wrote:
The error message gives you a subtle hint.
With a file named time_line.php, try defining it in the
Yeah, it was problem in something like that. Big thanks!!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
no, i use the authsome component from debuggable...
On 28 Mai, 10:18, Bogdan Bursuc bogdanbursu...@gmail.com wrote:
Do you use the Auth component ?
On Fri, May 28, 2010 at 9:07 AM, cronet cro...@gmx.de wrote:
hm...
i solved my problem with the following route configuration:
Hey,
i try testing controllers as described by mark story (http://mark-
story.com/posts/view/testing-cakephp-controllers-the-hard-way)..
The Problem - i call the method with one param but the view mehtod
recognize it, even it is in $this-params...
In the Test:
Hi All, I am testing cake 1.3 in a new application I am building and I
have a weird behaviour: No flash messages are shown in the login page.
I am using Auth and ACL, and the session component and helpers are
already in my app_controller.
Seems like a new session is created everytime the user
Hello,
I have a quirky problem which I just noticed while preparing to
optimize the application my team is building. I haven't set the debug
value within config/core.php to 2 in a couple weeks to look at the
SQL output, and noticed today that it was completely broken. After
tinkering around a
Hi all,
I used what Miles suggested. But don't work. Right now, I am using
this:
Class: TimeLineHelper
File:timeline.php
include: $helpers=array('timeline');
which is working fine.
am still curious why the suggested namiing don't work ?
/b
On May 31, 4:46 am, Miles J mileswjohn...@gmail.com
Hi all,
how do I get $data from http://bakery.cakephp.org/leafs/view/81
cakephp is complaining undefined variable data.
I am new to both php and cakephp.
need help!
/b
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You
Thank you very much for your kind reply. I'm using xamp so i have
installed that script in the location htdocs/karuppu/test but when i
try to load the home page i getting that error (The page isn't
redirecting properly). My default controller is 'actions' and an
action (method) is 'home'. That is
The website for CakeFest 2010 has just been launched.
http://cakefest.org
You can now signup if you are interested in attending.
Tickets will be on sale soon.
People interested in speaking at cakefest can submit a talk proposal
via the dashboard, once you are logged in.
Check out the new
30 matches
Mail list logo