There should be an official solution sometime involving aliased
helpers.
In the meantime, check out my hack here:
http://groups.google.com/group/cake-php/browse_thread/thread/1c1c370160cb467f
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper
/1c1c3701...
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can do this?
Normally if this was a new project I'd just create a new class
HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can do this?
Normally if this was a new project I'd just create a new class and use
that in my
helpers.
In the meantime, check out my hack here:
http://groups.google.com/group/cake-php/browse_thread/thread/1c1c3701...
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have
Hi all,
I want to have a custom HTML Helper in my helpers dir and it seems like
it's always the one belonging to the core that is used, it doesn't seem
to be the same with the form helper for instance.
any idea what i' doing wrong ?
is it an intended behaviour ?
tia
thomas
to have a custom HTML Helper in my helpers dir and it seems like
it's always the one belonging to the core that is used, it doesn't seem
to be the same with the form helper for instance.
any idea what i' doing wrong ?
is it an intended behaviour ?
tia
thomas
knowledge.
BAKE ON!
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Ryders
Enviado el: Lunes, 04 de Diciembre de 2006 06:35 p.m.
Para: Cake PHP
Asunto: Re: custom html helper
I still didn't figure out how to 'extend' a helper... but I hope
:[EMAIL PROTECTED] En nombre
de Ryders
Enviado el: Lunes, 04 de Diciembre de 2006 06:35 p.m.
Para: Cake PHP
Asunto: Re: custom html helper
I still didn't figure out how to 'extend' a helper... but I hope this
will help;
--~--~-~--~~~---~--~~
You received
thanks to both of you
I really thought if I had a html.php in helpers folder it would be used
instead of the core one like it seems to happen for form.php for
instance ...
if anyone is able to clarify ... :)
tia
thomas
--~--~-~--~~~---~--~~
You received this
10 matches
Mail list logo