Wednesday, August 5, 2009

Re: Custom Helper not loaded

> Where you're going wrong: Helpers are related to and accessed from
> within the View, not the Controller like you're trying to do.http://book.cakephp.org/view/98/Helpers

Seems like got a little confused there. Thanks a lot for pointing it
out! Makes a lot of sense from an MVC-pov.
I implemented the helpers functionality in my view and everything
works like a charm. Thanks again.


> Perhaps the functionality you're after is more suited to a Component?http://book.cakephp.org/view/63/Introduction
As I only want to read some (large) Text-Templates from my database a
helper should be enough. It will only get Text and pass it through to
my view.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: