I'm fairly new to Cake too, so maybe I will hit something helpful
here.
The tutorial examples tend to make it look like 1 controller for 1
model
and 1 model for 1 controller.
This is not at all true. A controller can also use many models or
even none.
I think of a controller as the organizatio
Your question needs a little more information to get any kind of
useful answer. Is this css in a separate style sheet, or embedded
directly in the view. Did you put the sytel sheet in the webroot/css
directory or elsewhere? Are you using a helper? How are you
referencing the filename. Etc. e
My recent experience is that you want to trigger on the upkey event.
Ignore the event structure itself. Go to the field and read its
value.
If you look on the downkey, the value hasn't been updated yet.
On Nov 17, 6:03 am, senser <[EMAIL PROTECTED]> wrote:
> I can't understand why every time I
I know this might sound a little obvious, but what would you say the
size of your database is in bytes of text?
I only ask because if for example, your database had 100Gig, you
certainly would not expect this to work, would you?
It would seem that for a website that can be hosted for $11/month tha
btw,
When a book is reissued, it gets a new ISBN. I think just the
last digit changes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegrou
I've figured out what the strange hidden inputs are about. The only
big issue I have is why type="checkbox" is repeated.
This might not seem like a big problem, but I sometimes have to run
the generated HTML through an XML parser. This is a first step to
converting it to a JSON string to retur
I'm not sure, but I think you might be asking how to have the products
deleted immediately when you check the box?
There are two aspects to this process.
1) Deleting the product record from a database on the host
2) Deleting the entry on the screen
For 1) you will need to somehow put an onClick h
I'm using version 1.2.0.5427alpha, and I'm seeing very weird output
from $form->checkbox().
My code looks like:
$name="Model.field';
echo $form->checkbox($name,array('label'=>false,'div'=>false,'value'=>
$somevalue);
The output is something like:
I don't know where to begin with this. Why
Not sure if I understand the question, but I think you want to keep
track of the user being logged in, in a Session variable. That way,
when you build the "tab" pages, you know whether to put up Generic or
Specific content.I would put the navigation tabs in an element and
pass it a variable
> this is for my friends nightclub in Bristol (uk)www.clockworkclub.com
> - they've had nearly 1000 people sign up now, and my little cake only
> solution just isn't cutting it any more, it's not for spam, I promise!
A lot of mail these days will be marked spam, put in the spam box, or
not deli
The Cake View returned could be an HTML snippet that is inserted with
the innerHTML() method.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegro
Instead of replace SRC with
"get_picture.php/1". get_picture.php checks whether the user is
logged in and if so uses the following PHP code to return the picture.
$fileno = $_SERVER['QUERY_STRING'];
$filename = "/picture/directory/not-below-webroot/PICTURE" . $fileno .
".jpg";
$image = imagecr
> Perhaps the ´flash´ message would be appropriate?
Thanks for the suggestion, but I don't think you understand the
issue. Which controller would I issue the flash message from?
The login controller is where it needs to go, but doesn't know what
the error message is. The main controller knows
I'm new to Cakephp and there's a situation that I'm not sure how to
deal with.
In a controller for some page and I do some custom validation on form
input, for example I see if login-id/password are valid. If the
validation fails, the controller generates an error message for
display in the login
14 matches
Mail list logo