Welcome Guest, Not a member yet? Register   Sign In
loading different module views into page virew. possible or quite wrong?
#1

[eluser]shershen08[/eluser]
if it's right desigion for my situation?
i've got booking form on a page, wich user can fill in and press submit
this form is made as a module and it has 3 views: form (empty form itself), success (when form is filled properly) and error (when some field are missing)
it has it's own controller which validates the data and loads needed view
BUT
i've got one page template - say it's a view called "page_view"
and in it i load my module as - modules::run('booking'), this case loads
basic view of a module called form, but HOW CAN I CALL another views of a module form like success and error on the same page view?
what construction i should use to make my module changing inside the same page view?
i'am a newbie so probably this idea is urgly and wrong, than how should i do this?


Messages In This Thread
loading different module views into page virew. possible or quite wrong? - by El Forum - 07-30-2010, 01:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB