|
Thursday 13 May 2004 6:25:38 am
Comment15619
Hi Jesper! I will try to cover as many questions as possible here, but don't be afraid to ask about anything that doesn't make sense, :)
<b>Expandable Category List</b>
Check out the Treemenu operator, which was added to Exponential a couple of versions ago. Note, this is a newer version than the Treemenu listed under the Contributions section, so it can be a bit confusing at first. This will provide you the ability to easily add extensive menus to your navigation.
Treemenu documentation: http://ez.no/ez_publish/documentation/reference/template_operators/miscellaneous/treemenu Another thread where I posted some code: http://ez.no/community/forum/setup_design/navigation_menu_how_does_site_menu_look
If you just want a list of some products, you should be able to use a fetch to retrieve the items to display. You can tell Exponential to pull only the last X items to display the newest products and utilizing attribute filters, you can ensure that you only display items that meet certain criteria. I haven't tried to tie the display of items to recent transactions, so someone else may need to provide more detail there.
Data Fetch: http://ez.no/ez_publish/documentation/development/libraries/ez_template/operators/data_fetch Fetch Function Examples: http://ez.no/ez_publish/documentation/customization/tips_tricks/fetch_function_examples
<b>Categorization</b> This can be accomplished in a couple of different ways. You could create your product and assign it to multiple <i>Locations</i>. Or, you can utilize the <i>Object Relation</i> functionality to create categories which you can assign to the product. Using <i>ORL</i>s will cut down on the amount of objects in the database and should prove a better choice in the long run, but the <i>Object Relation</i> system isn't documented as well as I would like. I haven't begun using this method yet, but plan to on my next major site. I do not know how this will effect the operation of the treemenu operator. Hope this helps you move forward. Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|