View Single Post
  #4  
Old 07-24-2014, 12:02 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: X-Cart 5: Target and View.

Hello!

Just to confirm: is it the XC5 question, or is it the "LiteCommerce 3 core v1.0.14" question?

Anyway, in most cases LC3/XC5 controllers do not decide what view is to be shown to the visitor. They just perform requested actions and prepare some data if asked by the view.

The default view renders the page layout and displays other views (widgets) added themselves to the "center" view list.

For example, check the XLite\View\AccessDenied widget that adds itself to the "center" view (see the @ListChild (list="center") directive) and appears for the "access_denied" target.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote