am going to have to implement
duplicate the rendering in my own class. This seems a bit bx
having to override a whole error handler just to
use custom layouts and templates, maybe this will get fixed for
another release - isn't that what inheritance is about?
Hi,
I managed to override the default layout locally but cannot get it
working live:
I did this by setting the layout at the top of my custom template
files...
Seems a bit bollox to have to override a whole error handler just to
use custom layouts and templates, maybe this will get fixed
Hi,
On Jul 19, 10:16 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Sorry guys did not know "errors always use the default layouts".
>
> On Jul 18, 12:00 am, phpjoy <[EMAIL PROTECTED]> wrote:
>
> > that's great to know, "errors always use the default layouts". :)
> > didn't see it in the manual..
Hi,
Sorry, I lied about element caching - the number of queries went
down, but it was not because of the element cache - this is 1.2 I
guess...
Still looking if anyone else knows..
Glen
On Jul 18, 3:18 pm, Ski <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Cake 1.
Hi,
I am using Cake 1.1 at the moment, thanks Pablo.
Geoff, the element caching works wonderfully thanks.
Cheers.
Glen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this gr
Hi,
Can anyone shed some light on this?
I have searched the web and there is supposed to be a tutorial in
the Wiki about creating a cached version of a dynamic menu manually
when the admin tool updates certain things.
Where would I get the wiki tutorial please?
Glen
--~--~-~-
Hi,
I am trying to get to the bottom of error handling in cakephp.
In previous systems I have worked on I have used set_error_handler
to catch php / database errors and email debugging / state information
to the site admin, then redirect to a standard error page.
With cake I get lots of m
Hi,
Try using the html helper - it takes a path to your image - relative
to webroot/img as the first argument and generates an tag.
Any attributes you want to set in the tag - border, etc. you
specify using an array as the 2nd argument.
image('ico_comment.png', array('border' => 0)); ?
Hi,
I am trying to implement caching for my site and one of the major
places needing this is the dynamic menu.
Because this appears on every page, the model data for the menu is
fetched in the AppController and used in an element included by the
default layout.
How would I go about ensuri
Hi,
I am about to cross this bridge now.
I know that Flash does not use the same session as the browser, so
you have to append the session id to the post url - I expect SWFUpload
lets you specify the URL to upload files to - you need to append the
session id to this, then there are some othe
Hi,
> If I understand you right, it sounds like you may wish to go down the
> ajax route.
> In essence, have an action for the parent that renders all the stuff
> it needs to do,
> but has placeholders (div's) that you preload with child actions (ie a
> form).
Thanks for your answer - I had a
> you can send a variable to the element:
> renderElement('my_element', array('data' => $data));
Hi,
Thanks, I have been trying that, but the idea was to re-use the
views I have already without having to change them.
I "changed" the "standard" edit form over to an element by moving
the fi
Hi,
I am writing an application which enables editing of data for a
parent model and a data for a list of child models in a single view.
To make the code easier to re-use, I would like to keep the views
for the parent and child separate - as they would be normally for each
controller, but I
he best way be to conditionally use an element?
I am a little stuck as to the best way to approach this without
writing a lot of duplicated functionality in my code and how to do the
decoration, particularly when saving a new MenuDish / WineDrink item.
Does anyone have any recomme
Apologies if my post is appearing 3 times - something is going a bit
strange and I don't know what it is. I tried deleting the duplicates,
but they reappeared...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
15 matches
Mail list logo