try in your helper

     function __construct(){
         parent::__construct();
         $this->loadConfig();
     }

that displays what I have in the $tags array of config/tags.php

and to load $this->loadConfig('mytags');  you'd have a file named
core/mytags.php

and the array in $tags = Array(
....
)

hth - S

2008/5/11 Action <[EMAIL PROTECTED]>:

>
> That is exactly what I am doing and what I've always done. The problem
> is that it no longer works.
>
> On May 11, 6:33 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> > In 1.2 to load the custom tags you can create your own AppHelper class
> in
> > app/app_helper.php.
> >
> > <?php
> > class AppHelper extends Helper {
> >
> >     function __construct(){
> >         $this->loadConfig();
> >         parent::__construct();
> >     }}
> >
> > ?>
> >
> > https://trac.cakephp.org/ticket/2081
> >
> > - S
> >
> > 2008/5/11 Marcin Domanski <[EMAIL PROTECTED]>:
> >
> >
> >
> > > It changed - look at $this->tags in helper(s)
> >
> > > On Sun, May 11, 2008 at 10:10 PM, Action <[EMAIL PROTECTED]>
> wrote:
> >
> > > >  I built an app using 1.2 pre-beta that uses a tags.php in
> app/config
> > > >  called from app/app_helper.php that sets custom html tags for
> certain
> > > >  helper-generated markup.
> >
> > > >  In 1.2 Beta, it no longer works. It simply isn't applying my custom
> > > >  tags. Has this changed from pre-beta to beta...or is it simply
> broken
> > > >  now?
> >
> > > --
> > > Marcin Domanski
> > >http://kabturek.info
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to