I have a question about the best practices for displaying the output from
different controller/actions to different places in a page layout. Let me
ask he question by example.
Suppose I want to build a home page layout that has a header (with a logo,
some navigation and breadcrumbs), a main content area (that will have a
description of the site and links to various related articles and such), a
sidebar (with a login form and a web services output such as RSS or stock
quotes) and finally a footer. If I were to login, I would like to go to a
new layout with the same header and footer. That part does not seem to be
much of a problem. Where I need help is if the login fails I would like the
login form to redisplay in the sidebar (not in the content area) with the
error messages added and the content area to remain the same. What is the
best practice for doing this?
Thanks for your help,
Barry
--
View this message in context: http://www.nabble.com/Best-Practices-for-layout%2C-view-helpers-and-placeholders-tp20208592p20208592.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论