On Tue, Aug 26, 2008 at 8:45 AM, Enrique Delgado
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> The core Form helper works great as long as you have a model behind
> it, but what about forms that are not related to a model?
>
> Is there any helpers that I can use in the view? Or do I just code
> plain HTML?

You could.... make your own helper... based or extending on the
FormHelper that doesn't need to be model backed.  Though there are
ways around (or to work within that limitation) making models that are
not DB backed for one, there are other 'tricks' as well.

The thing is the time you make a decision to deviate from the
expectations and conventions of the design of CakePHP is the time you
have to be willing to dig into the code, search around, and to think
on your own.  It really is not that hard and CakePHP is a lot more
flexible then people give it credit for, but 'official documentation'
for taking a 'custom' path really should not be expected.  I for one
love going my own way or bending CakePHP to my will but it takes
effort creativity and a willingness to be comfortable digging around
and being frustrated.

In my humble (mostly) opinion.  Have fun dig and share (that last part
I need to work on better I am sure)

Sam D


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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