yeah, that's obvious. i read the api and setup the select to work, i
just wonder why the bake didn't do that on his own..
thanks for youur answer.
On Jun 15, 4:12 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> You have to set the $s from your controller
>
> T
>
> On 6/15/07, phpjoy <[EMAIL
Are there any things to be concerned about in making sure we get a
deliverable for our web site that can be extended by others? Have
Macromedia Studio MX connected to sync the site to my local server.
Want to be able to make small changes and see it in cake myself.
Suggestions on where to start t
@Mech7
You are using the helper incorrectly.
if you use $form->input() then you add the option for the error
message.
if you are using the individual form helper methods like textarea
echo $form->textarea('field');
echo $form->error('field', 'Error in field');
--~--~-~--~~
Nope... still not working sorry
On Jun 15, 12:54 am, metasan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i checked your code, and i think the error is at that line :
>
> $this->Task->id = $id;
>
> Task is a model so you should read it first.
> Plus you make Task->id, this is wrong if you want the ta
What you describe does not sounds like a specific cake issue.
The link you click is loaded when you click on it, that how HTML Links work,
to over come this you can use a Javascript library with AJAX
see
http://www.prototypejs.org/
http://jquery.com/
http://dojotoolkit.org/
you could still use
after looking at my proposed sql more now i'm thinking i can't use one
HABTM table to associate with my 6+ doctype_tables because that would
not allow cake to use it's association powers.
i'm fine with using table9 and having those 6+ HABTM tables to hold
the associations between table9 and the 6
Great contribution! Could you please explain what the difference
between the two functions are - useful for those who are not too
familiar with textile, yet.
thanks!
-alan-
On May 16, 12:49 am, Travis Cline <[EMAIL PROTECTED]> wrote:
> I just posted two
> snippets:http://cakeforge.org/snippet/
> 1. Fetching the tags
>
> None of the following solutions are really satisfactory.
>
> FindAll tags will return all available tags, but won't tell you which
> are currently associated with the post.
>
> FindAll tags for that post_id will tell you which tags are currently
> associated with th
Maybe some of you old school cakers might know this one. I was just
reading some older Cake articles. It seems there used to be this thing
where you could create a tags.ini.php file and customize your HTML
tags. Does this feature still exist in any fashion? I can't find a
tags.ini.php file at all.
cake newbie working on my first application. i'll building a site
that will capture form input from a user and store it in a db for
eventual hardcopy document creation. i have come up with the
following models and associations (names are obviously changed) based
on the manual, tutorials and such
On 6/15/07, Mech7 <[EMAIL PROTECTED]> wrote:
> Also isn't it flawed by design creating forms with php? shouldn't it
> be better if it was just possible to write the html and assign and
> error message, something like:
Ah, I like how I get to repeat this message every once in a while
1) CakePHP i
Also when i uses error in a textarea it creates and attribute error...
textarea('article', array('error' => 'Article is
required')); ?>
Makes
Also isn't it flawed by design creating forms with php? shouldn't it
be better if it was just possible to write the html and assign and
error message,
But if i don't use the formhelpers then how do i assign the error
message to them?
On 15 jun, 19:18, MrTufty <[EMAIL PROTECTED]> wrote:
> The link works fine here.
>
> If you don't need the div wrappers, don't use the form helper. Simple
> really.
>
> To create a form Cake can work with without u
But if i don't use the formhelpers then how do i assign the error
message to them?
On 15 jun, 19:18, MrTufty <[EMAIL PROTECTED]> wrote:
> The link works fine here.
>
> If you don't need the div wrappers, don't use the form helper. Simple
> really.
>
> To create a form Cake can work with without u
Bakers -
Happy Friday.
CakePHP 1.2.0.5146alpha
Here's what I've got going:
Request hasAndBelongsToMany Pubs.
If I have my view setup with the Request model data being collected
first, all is good.
input('Request.first_name', array('class' =>
'required'));?>
input('Request.last_name', array('c
The link works fine here.
If you don't need the div wrappers, don't use the form helper. Simple
really.
To create a form Cake can work with without using the form helper,
specify the names of the input tags like data[Model][field] - that
will then work without having to restructure the input. Th
Me too, looks great!
On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks. Extract was just what I needed.
>
>
> >
>
--
Tane Piper
http://digitalspaghetti.tooum.net
This email is: [ ] blogable [ x ] ask first [ ] private
--~--~-~--~~~---~--~~
Yo
Thanks. Extract was just what I needed.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
hmm i see but this link does not seem to work?
http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-per-field-in-cakephp-1-2
Also how do i use the form helper without it generating all sorts of
html i don't need like div wrappers 0_o
On 15 jun, 08:28, MrTufty <[EMAIL PROTECTED]>
Conners wrote:
> I'm just making preparations for migrating my cake project from 1.1 to
> 1.2. I've taken the plunge [snip]
>
> [snip] there's one smallish snag:
>
> I don't like extensions. The main reason that I'm happy with a LAMP
> setup with mod_rewrite and cakephp is that I have eliminated f
Gonzalo, I gave up on the hidden tag method via submit as I figured
thru the API that the form element goes back thru the controller and
that would mean doing the filter functions again in function indexPdf
I tried to get a debug($this->data) in the view of index_php.thtml
working but it does not
Hi
I'm used $form->generateSelectDiv for generate a select in my form.
Now I would set the value of the array options of this select .
How can I do this?
Many thanks
Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
1.2.0.5146alpha is the version I'm running.
$terminals = $this->paginate('TerminalsLog', array('Terminal.id GROUP
BY Terminal.id'));
was my paginate call.
Kury
On Jun 15, 3:27 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jun 15, 2:01 am, kury <[EMAIL PROTECTED]> wrote:
>
> > I was wondering, I w
Hi
I'm just making preparations for migrating my cake project from 1.1 to
1.2. I've taken the plunge, updated the libs and obviously the first
thing I've seen is the error message that I have seen about on forums:
Deprecated: webservices routes are deprecated and will not be
supported in future
Hi everyone!, I have a problem with an swf mp3 player and the
postback. I include in my cakePHP application an swf mp3 player that
receive a parameter and plays the song. But the problem is that when I
do a postback by clickin in a link, the page reloaded and the song
stops. Any one have a solut
OK, I get the relationships but, I still don't have a "User" model, a
"user" table or anything involving /relating to a "user" or "user_id"
in my code - I don't understand where it's being picked up
On Jun 15, 4:11 pm, Joshua Benner <[EMAIL PROTECTED]> wrote:
> Take at a look athttp://bennerweb.c
Take at a look at http://bennerweb.com/node/16
I explain there some practical differences between the relationships,
and it touches on some of Cake's assumptions about foreign keys. Keep
in mind that the table that is possessed by another is going to have
the field that points to the other ta
You have to set the $s from your controller
T
On 6/15/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
> hey,
>
> i recently migrated to cake1.2, and i baked a project.
>
> in the edit form, i had the following line:
> $form->input('published', array('options' => $s));
>
> the problem is that it doesn't
hey,
i recently migrated to cake1.2, and i baked a project.
in the edit form, i had the following line:
$form->input('published', array('options' => $s));
the problem is that it doesn't work. it doesn't recognize $s.
Notice (8): Undefined variable: s [CORE\app\views\sections
\admin_edit.ctp, li
On 6/15/07, Arendp <[EMAIL PROTECTED]> wrote:
>
>
> Probably a simple question with a simple answer, but I can't find the
> answer: I have made several TD's in a tableCells function. How can I
> set the TD width for each individual TD?
I'm not sure if you can do it for each individual TD. You can
Probably a simple question with a simple answer, but I can't find the
answer: I have made several TD's in a tableCells function. How can I
set the TD width for each individual TD?
My code is like this:
$tr = array (
$output['Page']['id'],
$html->link($output['Page
OK, which model ? If my Testcase hasMany Tests and my Test belongsTo
Testcase, do I set the foreign key for the hasMany relationship in the
Testcase to be test_id or testcase_id or ?
And where does this "user" part come from ? This suggests to me that
something internal is being picked up...
I want to do this in only 1 call
On 15 juin, 14:27, wluigi <[EMAIL PROTECTED]> wrote:
> I try differents ways but no one is perfect.
>
> I just want every morning to call a controller action or a batch that
> write the cached file for all my couple od /controller/action/param1/
> param2/...
--~
I try differents ways but no one is perfect.
I just want every morning to call a controller action or a batch that
write the cached file for all my couple od /controller/action/param1/
param2/...
--~--~-~--~~~---~--~~
You received this message because you are sub
If you have an association and haven't specified the foreignKey, cake
will assume it is _id
b_o_n_e_y wrote:
Hi all,
I've just started using CakePHP 1.2 (over 1.1 stable) to take
advantage of the great new pagination features.
I unpacked the new cake tar ball straight over my existing pr
Hi all,
I've just started using CakePHP 1.2 (over 1.1 stable) to take
advantage of the great new pagination features.
I unpacked the new cake tar ball straight over my existing project and
it all works perfectly except for one particular view / model called
"Testcase". This had been working cor
Hmm - Now I get the same thing, but the images are readable from my
website, it's only when I view them in Gnome that I can't see the
uploaded image, but can see the thumbnails.
I think it's due to the permissions with the www-data user, which
means apache should have no problem reading them. If
In this forum and the bakery are many posts on HABTM.
However, none seem to address the following issue (at least not
directly). Perhaps someone can offer a suggestion.
... we'll use the ubiquitous Post HABTM Tag models, since they are the
most familier.
I would like to enable the user to indic
You right!
this is my second post in fact!
I came back to CAKEPHP, and after playing around with it and
understanding it better I must say it's simply great!
I'm testing the last alpha version (1.2.0.5146alpha).
Not sure if I misunderstood something but as I undestood, in my AROS I
must set ever
I get the same thing when I look at the file put in images/ I cannot
read it, but all the generated thumbs are readable, how should th
epermissions be on directory /files/images then on a Unix system so
that when PHP moves the uploaded image to the directory it and all the
created thumbs are rend
On Jun 15, 10:06 am, danfreak <[EMAIL PROTECTED]> wrote:
> Hey Bakers,
>
> this is my first post here ;o)
So that wasn't you then?
http://groups.google.com/group/cake-php/msg/5210a4cb9c2ef087
;)
>
> Well I just wanted to ask whether (and how...) I can set ACL.aros
> ACL.acos dynamically.
>
>
On Jun 15, 2:01 am, kury <[EMAIL PROTECTED]> wrote:
> I was wondering, I was trying to use a MySql GROUP BY in a paginate
> and could not find a good way to do this. currently i just tacked it
> on the end of my conditions and it seemed to work but this seems like
> a hack and i was wondering if
Okay, I've completed the Gallery administration section of my project.
After thoroughly researching the available alternativs I've decided to
go for integrating the SWFUpload library:
Article in the Bakery:
http://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-uploader
A working exa
Maybe the section "Complex find condition /using arrays)" in the
manual can help you...
see: http://manual.cakephp.org/chapter/models
Unfortunately there's no anchor or permalink to that paragraph, you
have to scroll down in "Models" chapter...
Stefano
kury ha scritto:
> I was wondering, I wa
Hey Bakers,
this is my first post here ;o)
Well I just wanted to ask whether (and how...) I can set ACL.aros
ACL.acos dynamically.
Namely I have the following tables:
- Users
- Groups
- Groups_Users
I would like to set the Groups in the AROS, and then set permissions
in the ACOS and manage the
Hi,
i checked your code, and i think the error is at that line :
$this->Task->id = $id;
Task is a model so you should read it first.
Plus you make Task->id, this is wrong if you want the task id you
should do
$this->Task['id'] = $id;
after reading the Task table.
Let me know the result.
Re
There is no validation. This is straight from the tutorial found at
http://grahambird.co.uk/cake/tutorials/ajax.php .
Any ideas why it dosnt work? Has anyone tried this tutorial with the
current version of cakephp?
This is so frustrating!
On Jun 14, 10:44 pm, francky06l <[EMAIL PROTECTED]> wrote:
47 matches
Mail list logo