Hi,
I got the following error when i create and apply a new template for product list... any one help me to find the mistake....
This is my template code:
<div class="gift-card-bg [TAG:TEST:<prop TestType='setting' TestName='productlistrows.flag' TestValue='1' Action='Show' />]Rows[TAG:END]"> <!-- Begin Soldout Image Overlay --> [TAG:TEST:<prop TestType="setting" TestName="soldoutimage.flag" TestValue="1" Action="Show" />] [TAG:TEST:<prop TestType="valueof" TestName="QtyRemaining" TestValue="0" Action="Show" />]<div class="SoldOutOverlay"></div> [TAG:END] [TAG:END]<!-- End Soldout Image Overlay --><!-- Begin Wishlist Buttons --> [TAG:TEST:<prop TestType="setting" TestName="wishlist.flag" TestValue="1" Action="Show" />]<style type="text/css">.WishListFlag{display:inline !important}</style><div class="WishListButtons">[TAG:TEST:<prop TestType="isinwishlist" Action="Hide" />][TAG:ADDTOWISHLIST:<prop text="+" Cssclass="Add" ToolTip="Add this item to your wishlist" />][TAG:END][TAG:TEST:<prop TestType="isinwishlist" Action="Show" />][TAG:REMOVEFROMWISHLIST:<prop text="-" Cssclass="Remove" ToolTip="Remove this item from your wishlist" />][TAG:END]<span class="WishListLabel">Wishlist</span></div> [TAG:END]<!-- End Wishlist Buttons --><!-- Begin Hide Checkout Button when store disabled --> [TAG:TEST:<prop TestType="setting" TestName="disablecart.flag" TestValue="1" Action="Show" />]<style type="text/css">.DisableCartFlag{display:none !important}</style> [TAG:END]<!-- End Hide Checkout Button --><!-- Begin Hide MiniCart totals when prices disabled --> [TAG:TEST:<prop TestType="setting" TestName="disableprices.flag" TestValue="1" Action="Show" />]<style type="text/css">.DisablePricesFlag{display:none !important}</style> [TAG:END]<!-- End Hide MiniCart totals --><!-- Begin Product Table --><div class="gift-card-img"><img alt="[TAG:MANUFACTURER] [TAG:PRODUCTNAME]" src="[TAG:THUMBURL]" border="0" /></div><div class="gift-card-text-part"><div class="gift-card-text-left"> [TAG:FROMPRICECURRENCY]</div><div class="gift-card-text-right"> Gift Cart </div></div><div class="gift-card-text-cart"> [TAG:ADDTOBASKET:<prop CssClass="Addcartbutton" Text="Add to Cart" />][TAG:END]</div><!-- End Product Table --></div> This is the error:
Error: NB_Store_ProductList is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at NEvoWeb.Modules.NB_Store.ProductTemplate.VisibleMode_DataBinding(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at NEvoWeb.Modules.NB_Store.ProductList.populateList(Int32 CatID) at NEvoWeb.Modules.NB_Store.ProductList.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace
Regards,
Babu
I got the following error when i create and apply a new template for product list... any one help me to find the mistake....
This is my template code:
<div class="gift-card-bg [TAG:TEST:<prop TestType='setting' TestName='productlistrows.flag' TestValue='1' Action='Show' />]Rows[TAG:END]"> <!-- Begin Soldout Image Overlay --> [TAG:TEST:<prop TestType="setting" TestName="soldoutimage.flag" TestValue="1" Action="Show" />] [TAG:TEST:<prop TestType="valueof" TestName="QtyRemaining" TestValue="0" Action="Show" />]<div class="SoldOutOverlay"></div> [TAG:END] [TAG:END]<!-- End Soldout Image Overlay --><!-- Begin Wishlist Buttons --> [TAG:TEST:<prop TestType="setting" TestName="wishlist.flag" TestValue="1" Action="Show" />]<style type="text/css">.WishListFlag{display:inline !important}</style><div class="WishListButtons">[TAG:TEST:<prop TestType="isinwishlist" Action="Hide" />][TAG:ADDTOWISHLIST:<prop text="+" Cssclass="Add" ToolTip="Add this item to your wishlist" />][TAG:END][TAG:TEST:<prop TestType="isinwishlist" Action="Show" />][TAG:REMOVEFROMWISHLIST:<prop text="-" Cssclass="Remove" ToolTip="Remove this item from your wishlist" />][TAG:END]<span class="WishListLabel">Wishlist</span></div> [TAG:END]<!-- End Wishlist Buttons --><!-- Begin Hide Checkout Button when store disabled --> [TAG:TEST:<prop TestType="setting" TestName="disablecart.flag" TestValue="1" Action="Show" />]<style type="text/css">.DisableCartFlag{display:none !important}</style> [TAG:END]<!-- End Hide Checkout Button --><!-- Begin Hide MiniCart totals when prices disabled --> [TAG:TEST:<prop TestType="setting" TestName="disableprices.flag" TestValue="1" Action="Show" />]<style type="text/css">.DisablePricesFlag{display:none !important}</style> [TAG:END]<!-- End Hide MiniCart totals --><!-- Begin Product Table --><div class="gift-card-img"><img alt="[TAG:MANUFACTURER] [TAG:PRODUCTNAME]" src="[TAG:THUMBURL]" border="0" /></div><div class="gift-card-text-part"><div class="gift-card-text-left"> [TAG:FROMPRICECURRENCY]</div><div class="gift-card-text-right"> Gift Cart </div></div><div class="gift-card-text-cart"> [TAG:ADDTOBASKET:<prop CssClass="Addcartbutton" Text="Add to Cart" />][TAG:END]</div><!-- End Product Table --></div> This is the error:
Error: NB_Store_ProductList is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at NEvoWeb.Modules.NB_Store.ProductTemplate.VisibleMode_DataBinding(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at NEvoWeb.Modules.NB_Store.ProductList.populateList(Int32 CatID) at NEvoWeb.Modules.NB_Store.ProductList.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace
Regards,
Babu