how to remove newest products

Posted By rocknet Mon 5 Dec 2011
Add to Favorites0
Author Message
DesignTechieUK
 Posted Thu 19 Jan 2012
Supreme Being

Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)

Group: Forum Members
Last Active: Thu 22 Jan 2015
Posts: 7, Visits: 43
NEAT Paul - Thanks I will try this - I note you are not admitting this to be a bug though; Whistling - Maybe it's being fixed in the next release.

Don't suppose you can update on my other post too please.

Thanks

Leon
Paul
 Posted Thu 19 Jan 2012
große Käse

große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)große Käse - (523,770 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
I've sometimes seen problems when code is commented out with <!-- and -->. It seems that .NET can sometimes still see the control tags within this, as those are HTML comments.

A safer way is to hide .NET user controls by setting them to invisible:

Visible="false"

You can remove or comment out the static HTML around them.

This way is generally better because there may be codebehind in the page containing the control that refers to the control, so removing the control or commenting it out may cause problems there.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
DesignTechieUK
 Posted Wed 18 Jan 2012
Supreme Being

Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)Supreme Being - (4,883 reputation)

Group: Forum Members
Last Active: Thu 22 Jan 2015
Posts: 7, Visits: 43
Hello Steve,

This appears top be a bug, I also noted this in one of my posts. I note if you set the featured product to '0' it removed it from the homepage. 

As you are editing the template it may be better if you comment out what you want to lose. 
using <!-- at the start of the tag and --> at the end of the tag that way you can go back if you change your mind.

Regards

Leon
rocknet
 Posted Tue 6 Dec 2011
Supreme Being

Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)

Group: Forum Members
Last Active: Tue 15 Jul 2014
Posts: 26, Visits: 67
Thanks Kalkhovm. I will try that but I am still wondering why it doesn't automatically dissapear when I set the count to zero in the config.

Anyway. Thanks for giving me a solution.

Steve
kalkhovm
 Posted Tue 6 Dec 2011
Supreme Being

Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)Supreme Being - (9,778 reputation)

Group: Forum Members
Last Active: Mon 15 Jul 2013
Posts: 14, Visits: 153
I think if you go to default.aspx in you root folder and remove the following lines, this should do what you want.

           <div class="chunk">
                <user:NewestItems ID="UC_NewestItems" runat="server" EnableViewState="False" />
            </div>
rocknet
 Posted Mon 5 Dec 2011
Supreme Being

Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)Supreme Being - (14,769 reputation)

Group: Forum Members
Last Active: Tue 15 Jul 2014
Posts: 26, Visits: 67
I am trying to remove the newest products section from the default front page.

I thought that it would be the same process as removing the news section.

So I tried to change the config settings of .... frontend.display.newestproducts

I change the default setting of '5' to '0' and expected the section to dissaoear but it was still there.

When I did this for similar sections like the news it worked a treat, but not for the newest products.

Any ideas anyone?

Steve

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top