nice addition, just a shame comments aren't available on manual.cakephp.org
it seems that your version of the manual deserves it's own domain btw :-)
out of curiosity, how will you keep the manual updated properly, and still
maintain the comments properly?
On 6/16/07, Dérico Filho <[EMAIL PROTEC
One more thing, with ajax you very often need to set the parameter
"update" of link, submit, remote_function etc ... This "update" whould
match the div you will update into the view. Your "rendering" view
would be enclosed into $ajax->div('updatedivname') / $ajax-
>divEnd(...)
On Jun 17, 12:35 am
for the controller aspect it does not change anything posting data
using ajax or not. The data posted are accessible in the same way
($this->params['data']['Controller'] .. for example).
The same approach for the rendering. Now everything resides into which
parts of the view you update with you aj
Mayve you can use the periodical updater. I know that does really
match what you are asking but maybe you can find a way (session) to
know what to update ?
Also you could have a special layout for this controller / views that
would contain a remote call every time it shows up .. Even the
"default"
Nope... still not working...
PS. you forgot the $ in:
if(this->Task->saveField('done', 1))
Should be:
if($this->Task->saveField('done', 1))
I changed it but it still didnt work...
On Jun 16, 8:01 am, aerosmith <[EMAIL PROTECTED]> wrote:
> Your complete function w
Btw i see that issue was fixed in march already.. I also have unloaded
Zend Optimizer and eAccelerator, increased memory to 128 mb but it
still dies on many occassions :(
On 11 jun, 06:51, Eugene Bolshakov <[EMAIL PROTECTED]> wrote:
> I'm not sure if this is related to the problem, but I've final
form(array('action'=>$html->url('edit')))?>
Loading..image('spinner.gif',array('alt'=>'Saving..','id'=>'editAllimg'))?>
submit('Load Post', array('url' =>
'editAll/','update'=>'posts','frequency'=>'2','loading'=>"Element.show('editAll');",'loaded'=>"Element.hide('editAll');"));?
>
I have a vi
Hello guys,
I'm trying to update a div automatically every time a controller is
loaded using AJAX helper, I already update it using $ajax->link and
$ajax->submit, but it requires a click from user, so I'm wondering if
there's is a way to update a div once a controller action is called
via url, fo
After checking the dbo files, "set" is indeed missing for the mysql
and mysqli drivers so a simple patch is to add
if (strpos($col, 'set') !== false) {
return "set($vals)";
}
or similar after the "enum" case and then all works well. Not sur
Hi all,
I've been using the Form helper within a form creator helper that I've
put together, and using the Form helper's fieldset data that contains
the field type details. This has worked great, but I've just found
that whilst the enum types are reported correctly, the SET type just
shows as typ
When i press login i get this:
Not found
Het gevraagde adres ajax/ is niet gevonden op deze server.
--~--~-~--~~~---~--~~
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@g
Your complete function will look like this.
Task->id = $id;
if(this->Task->saveField('done', 1))
{
$this->set('data', $this->Task->findAll());
$this->render('done', 'ajax');
}
}
?>
Regards
R
Hello Everyone,
I've made available at my site a free-to-comment version of CakePHP
Manual...
Please, feel free to access it.
http://www.cirello.org/cakephp-manual/
Uldérico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
I think your code should look something like this.
function done($id = null)
{
$this->Task->id = $id;
$this->Task->saveField('done', 1);
}
Please reply if you tried it and didn't work.
Regards
Raffi Hovhannesian
On Jun 16, 12:52 am, LoinS
You can either extend the core HtmlHelper and overload the tags
property, or you could copy the html helper from cake core into you
app folder and edit the tags in there.
On Jun 15, 9:42 pm, rtconner <[EMAIL PROTECTED]> wrote:
> Maybe some of you old school cakers might know this one. I was just
Strange things happen when using multiple validations rules in cake
1.2. in combination with an edit action
When requesting a edit action for example admin/pages/edit/3 - in the
view admin_edit.ctp the helper $form->create('Page'); does output the
required form tag
Then the magic happens. If va
Ah thanks that works.. but then why can you decide the location for
textareae error messages but not for input boxes? And also why does it
genereate extra html instead of only the message? Would it not be more
customizable if you can write your own html in the view?
On 16 jun, 00:21, gwoo <[EMAIL
On Jun 15, 9:02 pm, Conners <[EMAIL PROTECTED]> wrote:
> 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 file
> extensions and improved the organisation of the sites I produce with
> my cake projects. You may fe
Perry <[EMAIL PROTECTED]> wrote:
> 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? [...]
Developer documentation IMO: README, Changelog, INSTALL as a minimum.
If possible, a backup of their revision control reposit
19 matches
Mail list logo