In a model, I used
uses("view".DS."helpers".DS."html")
to generate URLs but I do not need it any more. My problem is solved.
Thank you
On 19 mar, 19:28, "djiize" <[EMAIL PROTECTED]> wrote:
> maybe if you create an app_helper.php in /app ?
> class AppHelper extends Helper {}
>
> so you don't touch core files...
>
> Or finding it in a nightly build to see what's in...
>
> On 19 mar, 18:41, "GillesDubois" <[EMAIL PROTECTED]> wrote:
>
>
>
> > CakePHP version 1.2.0.4451alpha
>
> > Previously I was using an older version of CakePHP, which didn't used
> > an intermediary AppHelper class in helpers hierarchy between
> > HtmlHelper and Helper.
>
> > I found out that sometimes, using HtmlHelper resulted in an error :
> > Cake complained about not being able to locate class AppHelper
> > (although the AppHelper was defined in /cake/app_helper.php file)
>
> > So I had to modify the HtmlHelper to have it inheriting directly from
> > Helper, and therefore bypassing the AppHelper.
>
> > Have you heard about this problem ?- Masquer le texte des messages
> > précédents -
>
> - Afficher le texte des messages précédents -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---