If you mean "escaping to HTML entities", just override the automatic
value:
$form->input('nacionalitat', array('value' => html_entities($this-
>data['User']['nacionalitat'])));
I don't think there's an escape function built into the form helper,
but I could be wrong.
On 27 May 2008, at 18
You might want to check with your hosting company and make sure you
have a PTR record set up for your domain so that other people can do a
reverse lookup on your IP address and have it resolve to your mail
server's domain name.
Many email servers do a reverse lookup on the IP address of the
sendi
Could you be a little more clear. I'm not sure what "escaping values
in $form->input" really means.
On May 27, 4:22 am, leo <[EMAIL PROTECTED]> wrote:
> Is there a way to do this, yet?
>
> I have tried:
> echo $form->input('nacionalitat', array('escape'=>false,'options'=>
> $nacionalitats ));
I was looking at this calendar helper a while back, but wasn't really
convinced.
I ended up using the YUI calendar and a handful of hand coded
JavaScript...
http://developer.yahoo.com/yui/calendar/
var loader = new YAHOO.util.YUILoader({
require : ["c
Thanks for the help, I've downloaded it but i'm a little confused on
how to use it. Could you give me an example?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to c
On May 27, 2008, at 8:50 PM, azlanms wrote:
>
> I'm trying to create a model called 'Tree' based on the AclNode class
> as:
>
> class Tree extends AclNode {
> var $name = 'Tree';
> var $validate = array(
>'title' => VALID_NOT_EMPTY
> );
>
> but I got this error message:
>
> Fatal error: C
I'm trying to create a model called 'Tree' based on the AclNode class
as:
class Tree extends AclNode {
var $name = 'Tree';
var $validate = array(
'title' => VALID_NOT_EMPTY
);
but I got this error message:
Fatal error: Class tree: Cannot inherit from undefined class aclnode
in /usr/lo
Check out this link:
http://cakeforge.org/snippet/detail.php?type=snippet&id=113
I've been using it for my office appointment system. I've also added
tooltip when we move over the mouse at a particular appointment on the
calender page to display the details.
I use the javascript library called
Grant Cox-2 wrote:
>
> 3. Put some more ram in that thing! $50 for a gig or so is worth how
> much of your development time?
>
I second that 10k-20k records really arent much unless as mentioned you are
binding to many records when you do not need to be. Also you should turn on
debugging/m
Also, capture the queries Cake is using and run them directly from a
terminal session to see how the database is performing on its own.
Check that you've indexed your tables properly.
On Tue, May 27, 2008 at 6:30 PM, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> Well, you haven't given us any indicati
For me, the bakery isn't working at all. I have had constant issues
with the manual. Anyone know whats going on? Hopefully its because
they are so busy preparing 1.2 that they have no time to worry about a
functioning website.
On May 26, 3:25 pm, Mike van Lammeren <[EMAIL PROTECTED]> wrote:
> The
Hi Guys
Im new to cake and still trying to get my head around everything, so
sorry if the answer to this is obvious. I have been looking around for
the answer but cant seem to find it
I have a form from an old wesite I'm trying to bring into cake. In
the form I have a number of items that pass
You might want to try putting the $this->set in your beforeFilter or
beforeRender function in the app/app_controller.php file. It'll be usable
even in your layout.
On Wed, May 28, 2008 at 5:42 AM, handsofaten <[EMAIL PROTECTED]> wrote:
>
> This works for views, but is it possible to pass variable
Well, you haven't given us any indication of what is taking 9 seconds
- is it a SQL query, and if so what is it? Anyway, some suggestions:
1. Unbind any of those associations that you don't need for any
particular query. While belongsTo associations are done with a JOIN
(comparatively fast), yo
Hi,
I'm trying to use view caching with a ajax paginated view results set.
I'm getting some weird behavior and I think is a bug.
I turned on caching in core.php, then I cached an entire controller.
When go the controller/index (the paginated view) the first time is OK
as there isn't any caching
This works for views, but is it possible to pass variables to layouts?
I don't see anything about this in the docs, other than the standard
$title_for_layout and $content_for_layout.
Thanks.
On Apr 16, 1:42 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> in the controller
> $testArr
Hi,
I'm using CakePHP 1.1 for a inventory/invoicing software.
I have 44 tables. The largest ones have ~10,500 and ~26,000 rows.
It's all running on and old Pentium 4 1.8 GHZ with 256MB RAM and
WinXP. The same computer is running MySQL 5.0.37, Apache 2, and PHP 5.
Lately it has been running ver
I am trying to recode my blog as a project to learn cakePHP, and the
only thing not working now is the cache. I have turned it off
completely using Configure::write('Cache.disable', true); and I have
even inserted in the code and nothing is working. I
have set up FireFox to not cache anything so
Aaah, you mention that you MUST use sendmail...
Well, possibly answer is in the sendmail logs or the mail headers.
Piotr
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send e
Hi,
As for me, it's highly probable that the e-mails get lost due to some
anti-spam filters. Did you try sending it properly, with smtp? Just
create 'noreply' account and have a go...
P.S. Remember to set 'from' field for the smtp, otherwise you may run
into errors.
Piotr
--~--~-~--~---
On Tue, May 27, 2008 at 1:51 PM, Mike <[EMAIL PROTECTED]> wrote:
>
> Ok, I think I solved it. The proper value was being passed into the
> function after all. The problem was in how I was structuring my find
> in the controller function. I had:
>
> $conditions = array();
> $conditions['Transaction
Ok, I think I solved it. The proper value was being passed into the
function after all. The problem was in how I was structuring my find
in the controller function. I had:
$conditions = array();
$conditions['Transaction']['clientID'] = "= {$theclientid}";
$results = $this->Transaction->findAll($c
Does anyone know of a good calendar helper, or component or something?
I need to have a ajax calendar, and be able to put information inside
of certain dates. Thanks as always.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I was trying use a variable I created called $sessions
which seems to be reserved for the cake session variable ( or maybe
php? )
Anyhoo, just changing the name of my variable fixed the problem.
Thanks.
On May 26, 3:54 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> Check that your app/core.php has
That line is present and correct in app/config/core.php
On May 26, 3:54 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> Check that your app/core.php has:
>
> Configure::write('Session.start', true);
>
> On Mon, May 26, 2008 at 9:04 AM, scoby <[EMAIL PROTECTED]> wrote:
>
> > I get the following error
I'm building my first ever CakePHP plugin (1.2), and I can't find any
help on how to access plugin functions from within a controller that
resides within my application. I've found that it can be done using
requestAction, but I do not wish to access my plugin's controller
actions in this way if i
Hi:
I am using Cake 1.2 and I love it so far! I have a small problem that
I cannot solve. I have the following in one of my views:
echo $html->link(
'View My Current Inventory',
'/transactions/viewinventoryforclient/'.$session-
>read('customclientid')
);
In my controller for
I'm having problems using the native email component using templates.
It only seems to send messages to certain email addresses. I'm not
sure if this is a Cake problem or a web host (hostmonster) problem.
For example, if I send to my gmail account it works fine. If I send to
an alternate address,
28 matches
Mail list logo