About "views" directory

Hello again Developers,

Many thanks to the people who helped me with my first question here: [url]http://forum.cs-cart.com/showthread.php?p=105723#post105723[/url] .

I’m seeing under: skins/basic/customer/addons/wishlist, these three directories: blocks, hooks & views.

Blocks & hooks I think I have a handle on but can someone please explain the use of “views”? For example in the wishlist addon it look like this:


My first guess was that a view is like a popup window but “add_to_wishlist.tpl” looks from the code just like button and nothing else so I am inclined to think it is not a popup.

Also “view.tpl” looks like a standard name that’s going to be in any addon that implements views so would appreciate knowing what it is exactly.

I’ve been hunting around and I think I found it. “View” is the mode so view.tpl is the template for the mode view of that addon which would mean almost everything is going to be “view” since viewing usually what you are doing.