Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F802355
modern-store
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 22, 11:57 PM
Size
22 KB
Mime Type
text/x-diff
Expires
Mon, Feb 24, 11:57 PM (14 h, 28 m)
Engine
blob
Format
Raw Data
Handle
575321
Attached To
rTMST Themes.Modern-Store
modern-store
View Options
Index: branches/1.0.x/index.tpl
===================================================================
--- branches/1.0.x/index.tpl (revision 14738)
+++ branches/1.0.x/index.tpl (revision 14739)
@@ -1,99 +1,99 @@
<!--##
<NAME>Home</NAME>
<DESC>Welcome page</DESC>
<SECTION></SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title"><inp2:st_PageInfo type="htmlhead_title"/></inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/categories.elm" data_exists="1"/>
<inp2:m_Include template="elements/side_boxes/picks.elm" data_exists="1"/>
<inp2:m_Include template="elements/side_boxes/subscribe.elm"/>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<inp2:m_Include template="elements/promo.elm" strip_nl="2"/>
<inp2:m_Include template="elements/content_boxes/special_deals.elm" data_exists="1" strip_nl="2"/>
<inp2:m_Include template="elements/content_boxes/new_products.elm" data_exists="1" strip_nl="2"/>
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_WelcomeTitle"/>
</inp2:m_Capture>
<inp2:st_ContentBlock num="1"/>
</inp2:m_RenderElement>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<inp2:m_DefineElement name="add_to_head">
<script>
$(function() {
var icons = {
header: "ui-icon-circle-arrow-e",
headerSelected: "ui-icon-circle-arrow-s"
};
var level2icons = {
header: "ui-icon-circle-arrow-l2e",
headerSelected: "ui-icon-circle-arrow-l2s"
};
var level3icons = {
header: "ui-icon-circle-arrow-l3e",
headerSelected: "ui-icon-circle-arrow-l3s"
};
$( "#accordion-menu" ).accordion({
icons: icons
});
$( "#level2-menu" ).accordion({
icons: level2icons
});
$( ".level3-menu" ).accordion({
icons: level3icons,
header: 'h4',
autoHeight: false,
event: "mouseover"
});
$('#slider').flexslider({
directionNav: false,
prevText: "",
nextText: ""
});
});
</script>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="add_to_footer">
<script src="<inp2:m_TemplatesBase />inc/js/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="<inp2:m_TemplatesBase />inc/js/jquery.mousewheel.js" type="text/javascript"></script>
<script src="<inp2:m_TemplatesBase />inc/js/jquery.contentcarousel.js" type="text/javascript"></script>
<script>
$(function() {
$('#scrollable').contentcarousel({
// speed for the sliding animation
sliderSpeed : 500,
// easing for the sliding animation
sliderEasing : 'easeOutExpo',
// speed for the item animation (open / close)
itemSpeed : 500,
// easing for the item animation (open / close)
itemEasing : 'easeOutExpo',
// number of items to scroll at a time
scroll : 1
});
});
</script>
</inp2:m_DefineElement>
<!--## DESIGN TEMPLATE ##-->
-<inp2:m_include template="designs/default_design.des" pass_params="1" columns="2"/>
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/designs/section.tpl
===================================================================
--- branches/1.0.x/designs/section.tpl (revision 14738)
+++ branches/1.0.x/designs/section.tpl (revision 14739)
@@ -1,41 +1,96 @@
<!--##
<NAME>Products - Section Template</NAME>
<DESC>Products</DESC>
<SECTION></SECTION>
##-->
<inp2:m_DefineElement name="page_title"><inp2:m_include template="elements/title_bar.elm"/></inp2:m_DefineElement>
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/categories.elm" data_exists="1"/>
<inp2:m_Include template="elements/side_boxes/filter_range.elm"/>
<inp2:m_Include template="elements/side_boxes/filter_dropdown.elm"/>
<inp2:m_Include template="elements/side_boxes/filter_checkboxes.elm"/>
<inp2:m_Include template="elements/side_boxes/subscribe.elm"/>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
- <div class="block no-border-bottom">
+ <div class="block no-border-bottom" style="margin-bottom:0;">
<inp2:m_Include template="elements/navigation_bar.elm"/>
- <inp2:m_Include template="elements/content_boxes/categories.elm"/>
+ <inp2:m_Include template="elements/content_boxes/categories.elm" data_exists="1" />
</div>
<inp2:m_Cache key="prefix:p;currency;guest_only">
- <inp2:m_Include template="elements/products.elm" list_name="products_in_category"/>
+ <inp2:m_Include template="elements/product_elements.elm" strip_nl="2"/>
+
+ <inp2:m_Include template="elements/content_boxes/products.elm" list_name="products_in_category" prefix="p" data_exists="1" />
- </div>
+ </inp2:m_Cache>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
+<inp2:m_DefineElement name="add_to_head">
+ <script>
+ $(function() {
+ var icons = {
+ header: "ui-icon-circle-arrow-e",
+ headerSelected: "ui-icon-circle-arrow-s"
+ };
+ var level2icons = {
+ header: "ui-icon-circle-arrow-l2e",
+ headerSelected: "ui-icon-circle-arrow-l2s"
+ };
+ var level3icons = {
+ header: "ui-icon-circle-arrow-l3e",
+ headerSelected: "ui-icon-circle-arrow-l3s"
+ };
+ $( "#accordion-menu" ).accordion({
+ icons: icons
+ });
+ $( "#level2-menu" ).accordion({
+ icons: level2icons
+ });
+ $( ".level3-menu" ).accordion({
+ icons: level3icons,
+ header: 'h4',
+ autoHeight: false,
+ event: "mouseover"
+ });
+ $("a.switch_thumb").toggle(function(){
+ $(this).addClass("swap");
+ $("ul.display").fadeOut("fast", function() {
+ $("div.items").removeClass("border-radius").addClass("items-alt");
+ $(this).fadeIn("fast").addClass("thumb_view");
+ });
+ }, function () {
+ $(this).removeClass("swap");
+ $("ul.display").fadeOut("fast", function() {
+ $("div.items").addClass("border-radius").removeClass("items-alt");
+ $(this).fadeIn("fast").removeClass("thumb_view");
+ });
+ });
+
+ $( "#slider-vertical" ).slider({
+ orientation: "vertical",
+ range: true,
+ min: 0,
+ max: 1000,
+ step: 100,
+ values: [ 0, 400 ]
+ });
+ });
+ </script>
+</inp2:m_DefineElement>
+
<!--## DESIGN TEMPLATE ##-->
-<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/designs/default_design.des.tpl
===================================================================
--- branches/1.0.x/designs/default_design.des.tpl (revision 14738)
+++ branches/1.0.x/designs/default_design.des.tpl (revision 14739)
@@ -1,66 +1,66 @@
<inp2:m_CheckSSL/>
<inp2:m_Include template="elements/html_head.elm" strip_nl="2"/>
<inp2:m_Include template="elements/content_boxes.elm" strip_nl="2"/> <!--## includes system elements ##-->
<inp2:m_DefaultParam columns="2"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<inp2:lang.current_Field name='Locale' db='1'/>">
<head>
<title><inp2:m_RenderElement name="page_title" default_element="default_cms_page_title" no_editing="1"/></title>
<link rel="stylesheet" rev="stylesheet" href="<inp2:m_Compress from='all_css'/>" type="text/css" />
<!--##
<script type="text/javascript" src="<inp2:m_Compress from='all_js'/>"></script>
##-->
<inp2:m_RenderElement name="add_to_head" default_element="default_add_to_head"/>
</head>
<body>
<!--## System tag please do not remove ##-->
<inp2:st_EditPage mode="start"/>
<inp2:m_Include template="elements/header.elm" />
<inp2:m_Include template="elements/menu.elm" />
<div id="content">
<div class="padding">
- <inp2:m_if check="m_Param" equals_to="2">
+ <inp2:m_if check="m_Param" name="columns" equals_to="2">
<div class="leftcol">
<inp2:m_RenderElement name="sidebar" default_element="default_sidebar"/>
</div>
<div class="contentcol">
<inp2:m_RenderElement name="content"/>
</div>
<inp2:m_else/>
<inp2:m_RenderElement name="content"/>
</inp2:m_if>
<div class="clear"></div>
</div>
</div>
<inp2:m_Include template="elements/footer_menu.elm" />
<inp2:m_Include template="elements/footer.elm" />
<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
<inp2:m_Include template="elements/tracking.elm" />
<inp2:m_RenderElement name="add_to_footer" default_element="default_add_to_footer"/>
</body>
</html>
\ No newline at end of file
Index: branches/1.0.x/elements/content_boxes.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/content_boxes.elm.tpl (revision 14739)
@@ -1,55 +1,53 @@
<!--## DEFAULT CONTENT-TOP ELEMENT ##-->
<inp2:m_DefineElement name="default_content_banner" no_editing="1">
<!-- default banners -->
<inp2:st_ContentBlock num="101" page="index"/>
<!-- //default banners -->
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_page_title"><inp2:m_GetConfig name="Site_Name"/> — <inp2:st_PageInfo type="htmlhead_title"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_footer" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_head" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_sidebar" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="image_element">
<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> align="<inp2:m_param name="align"/>" />
</inp2:m_DefineElement>
-
-
-<!--## Unused for now
-<inp2:m_DefineElement name="content_box" type="text">
- <h2 class="movable-header"><inp2:m_param name="header"/></h2>
- <div class="<inp2:m_Param name="type"/>">
+<inp2:m_DefineElement name="content_box" content_class="" header_class="">
+ <h2 class="<inp2:m_Param name='header_class'/>"><inp2:m_param name="header"/></h2>
+ <div class="<inp2:m_Param name='content_class'/>">
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
+<!--## Unused for now
<inp2:m_DefineElement name="side_box" add_class="">
<div class="block <inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="side_box_custom" add_class="">
<div class="<inp2:m_Param name='add_class'/>">
<h4><inp2:m_param name="header"/></h4>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content_box_scrollable" add_class="">
<div class="block no-border-bottom<inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
##-->
\ No newline at end of file
Index: branches/1.0.x/elements/side_boxes/categories.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes/categories.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/side_boxes/categories.elm.tpl (revision 14739)
@@ -1,30 +1,40 @@
+<inp2:m_DefineElement name="more_link_elem">
+ <li><a href="<inp2:c_CategoryLink template='__default__' m_cat_page='1'/>"><inp2:m_Phrase label="lu_more_Products"/>...</a></li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="third_level_elem">
+ <li><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a></li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subcategory_elem">
+ <li <inp2:m_if check='IsCurrent'>class="active"</inp2:m_if>>
+ <a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a>
+ <inp2:m_if check='IsCurrent'>
+ <inp2:InitList requery="1" list_name="third_level" max_items="20" no_table="1"/>
+ <inp2:m_if check="TotalRecords" list_name="third_level">
+ <ul>
+ <inp2:ListCategories requery="1" list_name="" render_as="third_level_elem" max_items="20" no_table="1"/>
+ </ul>
+ </inp2:m_if>
+ </inp2:m_if>
+ </li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="category_elem">
+ <h3><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a></h3>
+ <div>
+ <ul>
+ <inp2:ListCategories requery="1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="20" no_table="1"/>
+ </ul>
+ </div>
+</inp2:m_DefineElement>
+
<div class="block">
- <h2><em><inp2:m_Phrase label="lu_title_Categories"/></em><span></span></h2>
-
- <inp2:m_DefineElement name="more_link_elem">
- <li>
- <a href="<inp2:c_CategoryLink template='__default__' m_cat_page='1'/>"><inp2:m_Phrase label="lu_more_Products"/>...</a>
- </li>
- </inp2:m_DefineElement>
-
- <inp2:m_DefineElement name="subcategory_elem">
- <li>
- <a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>" <inp2:m_if check='IsCurrent'>class="active"</inp2:m_if>><inp2:Field name="Name" html_escape="1"/></a>
- </li>
- </inp2:m_DefineElement>
-
- <inp2:m_DefineElement name="category_elem">
- <h3><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a></h3>
- <div>
- <ul>
- <inp2:ListCategories requery="1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="20" no_table="1"/>
- </ul>
- </div>
- </inp2:m_DefineElement>
+ <h2><em><inp2:m_Phrase label="lu_title_Categories"/></em><span></span></h2>
<div id="accordion-menu">
<inp2:m_Cache key="prefix:c;skip_var:t,page,per_page,sort_by">
<inp2:c_ListCategories render_as="category_elem" sort_by="Priority,Desc" per_page="-1" no_table="1" parent_cat_id="Root" module="In-Commerce"/>
</inp2:m_Cache>
</div>
</div>
Index: branches/1.0.x/elements/navigation_bar.elm.tpl
===================================================================
--- branches/1.0.x/elements/navigation_bar.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/navigation_bar.elm.tpl (revision 14739)
@@ -1,30 +1,29 @@
<inp2:m_DefaultParam titles="" templates="" show_category="0"/>
<inp2:m_DefineElement name="root_category">
<a href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_Phrase name="lu_rootcategory_name"/></a>
</inp2:m_DefineElement>
-<inp2:m_DefineElement name="module_root">
- <inp2:m_param name="separator"/>
- <a href="<inp2:c_CategoryLink template="$module_index" cat_id="$cat_id"/>"><inp2:m_param name="title"/></a>
+<inp2:m_DefineElement name="module_root">
+ <i></i> <a href="<inp2:c_CategoryLink template="$module_index" cat_id="$cat_id"/>"><inp2:m_param name="title"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="nav_link">
- <inp2:m_param name="separator"/>
+ <i></i>
<inp2:m_if check="m_Param" name="category">
<a href="<inp2:c_CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
<inp2:m_else/>
<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="module_item">
- <inp2:m_param name="separator"/> <a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+ <i></i> <a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="current_item">
- <inp2:m_param name="separator"/> <inp2:m_param name="title"/>
+ <i></i> <em><inp2:m_param name="title"/></em>
</inp2:m_DefineElement>
-<h2><inp2:c_CategoryPath separator=" <i></i> " render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" titles="$titles" templates="$templates" show_category="$show_category"/><span></span></h2>
+<h2><inp2:c_CategoryPath separator="" render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" module_root_render_as="html:" titles="$titles" templates="$templates" show_category="$show_category"/><span></span></h2>
\ No newline at end of file
Index: branches/1.0.x/elements/sorting.elm.tpl
===================================================================
--- branches/1.0.x/elements/sorting.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/sorting.elm.tpl (revision 14739)
@@ -1,32 +1,34 @@
<div class="filter-block">
<div class="paginate">
<a href=""><img src="<inp2:m_TemplatesBase/>img/arrow-left.png" width="7" height="13" alt="" /></a>
Products
<select id="paginate">
<option value="" selected="selected">1-10</option>
<option value="">11-20</option>
<option value="">21-30</option>
</select>
out of 120
<a href=""><img src="<inp2:m_TemplatesBase/>img/arrow-right.png" width="7" height="13" alt="" /></a>
</div>
<div class="sortby">
Sort by:
<select>
<option value="" selected="selected">Price</option>
<option value="">Rating</option>
<option value="">Populate</option>
</select>
- Per Page:
- <select>
- <option value="" selected="selected">10</option>
- <option value="">20</option>
- <option value="">30</option>
- </select>
+ <form method="post" action="<inp2:m_FormAction/>">
+ Per Page:
+ <select name="<inp2:{$prefix}_VarName type='PerPage'/>">
+ <option value="10" <inp2:{$prefix}_PerPageSelected per_page="10" selected='selected="selected"'/>>10</option>
+ <option value="20" <inp2:{$prefix}_PerPageSelected per_page="20" selected='selected="selected"'/>>20</option>
+ <option value="50" <inp2:{$prefix}_PerPageSelected per_page="50" selected='selected="selected"'/>>50</option>
+ </select>
+ </form>
<a href="#">Show All</a>
</div>
<div class="display_switch">
<a href="#" class="switch_thumb"></a>
</div>
</div>
<div class="clear"></div>
\ No newline at end of file
Index: branches/1.0.x/elements/content_boxes/categories.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes/categories.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/content_boxes/categories.elm.tpl (revision 14739)
@@ -1,20 +1,20 @@
<inp2:c_InitList list_name="sub_categories" page_var="m_cat_page"/>
<inp2:m_DefineElement name="category_element">
<div class="good-item borbottom">
<dl>
- <dt><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a></dt>
+ <dt><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Field name="Name" html_escape="1"/></a></dt>
<dd>
<p class="img"><a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>"><inp2:Image render_as="image_element" Primary="1" Thumbnail="1" DefaultImage="img/no_picture.gif" MaxWidth="136" MaxHeight="136"/></a></p>
</dd>
</dl>
</div>
</inp2:m_DefineElement>
<div class="goods border-radius">
<inp2:c_ListCategories list_name="sub_categories" render_as="category_element" no_table="1"/>
<div class="clear"></div>
</div>
Index: branches/1.0.x/elements/content_boxes/products.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes/products.elm.tpl (revision 14738)
+++ branches/1.0.x/elements/content_boxes/products.elm.tpl (revision 14739)
@@ -1,53 +1,17 @@
-<inp2:p_InitList list_name="products_in_category" main_list="1"/>
-
-<inp2:m_Include template="elements/sorting.elm" list_name="products_in_category"/>
-
-<inp2:m_DefineElement name="product_element">
-<li>
- <div class="item">
- <div class="ribbon new"></div>
- <div class="img">
- <a href="#"><img src="/i/samples/good6.jpg" width="69" height="69" alt="" /></a>
- </div>
- <div class="descr">
- <h3><a href="#">Apple iMac Desktop Customizable</a></h3>
- <p>Suspendisse potenti. Aliquam id nisl nisi. Vivamus imperdiet, turpis ornare commodo elementum, lectus tellus fermentum eros, a tincidunt est odio eu lorem...</p>
- <div class="optional">
- <span class="stars"><img src="/i/star-smallest.jpg" width="13" height="13" alt="" /><img src="/i/star-smallest.jpg" width="13" height="13" alt="" /><img src="/i/star-smallest.jpg" width="13" height="13" alt="" /><img src="/i/star-smallest.jpg" width="13" height="13" alt="" /><img src="/i/star-smallest.jpg" width="13" height="13" alt="" /></span>
- <span class="reviews">
- <a href="#">Reviews</a> (<a href="#">12</a>)
- </span>
- <span class="comp">
- <label><input type="checkbox" name="compare-1" value="1" /><em>Compare</em></label>
- </span>
- </div>
- </div>
- <div class="price-block">
- <p><s class="under">$2,549.<span>95</span></s></p>
- <p class="redprice"><em class="price">$2,549.<span>95</span></em></p>
- <p><a href="#" class="addtocart"><span>Add to Cart</span></a></p>
- </div>
- </div>
-</li>
-</inp2:m_DefineElement>
+<inp2:m_DefaultParam prefix="p" list_name="products_in_category" type=""/>
+<inp2:{$prefix}_InitList list_name="$list_name" main_list="1"/>
+
+<inp2:m_Include template="elements/sorting.elm" list_name="$list_name" prefix="$prefix"/>
<div class="items border-radius">
<ul class="display">
- <inp2:p_ListProducts list_name="products_in_category" render_as="product_element"/>
+ <inp2:{$prefix}_ListProducts list_name="$list_name" render_as="product_element"/>
</ul>
<div class="clear"></div>
- <div class="pagination">
- <span class="prev"> </span>
- <a href="#" class="active">1</a>
- <a href="#">2</a>
- <a href="#">3</a>
- <a href="#" class="next"> </a>
- </div>
-
+ <inp2:m_Include template="elements/pagination.elm" list_name="$list_name" prefix="$prefix"/>
-</div>
-
\ No newline at end of file
+</div>
\ No newline at end of file
Event Timeline
Log In to Comment