HomeHome Product Discus... Product Discus...SmithCartSmithCartFeatured Products displays title twiceFeatured Products displays title twice
Previous
 
Next
New Post
12/25/2010 1:00 AM
 

I am having an odd issue with featured products display. You can see its displaying the title twice. Any idea why? v3.02

Thanks for any help!

 
New Post
12/25/2010 12:34 PM
 

I think this was a bug in cart v3.02 featured products module upgrading to the latest version will fix it. It shold be pretty easy to fix if you dont want to upgrade just open the featuredproducts.ascx in the \desktopmodules\featureproducts folder and set the visible property of the modelname control to false.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/27/2010 4:40 AM
 

Just checked and it already is set to false...?

<asp:LinkButton ID="hylink2" Text='<%# DataBinder.Eval(Container.DataItem, "ModelName") %>' runat="server" CssClass="SmithProdtext" OnClick="btnProductLink_Click" Visible="false"/>

 
New Post
12/27/2010 4:47 AM
 

Found it, the property was missing from the second control.

Line 61 in (FeaturedProducts.ascx)

Changed this:

<asp:LinkButton ID="hylink" Text='<%# DataBinder.Eval(Container.DataItem, "ModelName") %>' runat="server" CssClass="SmithProdtext" OnClick="btnProductLink_Click"></asp:LinkButton>

To This:

<asp:LinkButton ID="hylink" Text='<%# DataBinder.Eval(Container.DataItem, "ModelName") %>' runat="server" CssClass="SmithProdtext" OnClick="btnProductLink_Click" Visible="false"></asp:LinkButton>

Thanks for the tip!

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartFeatured Products displays title twiceFeatured Products displays title twice