The second annual nopCommerce conference will take place in the Netherlands on the 20th-21st of October. Please find more about this event here
Home  >  Forums  >  General  >  General Support  >  Popular Tags

Popular Tags

1 2 >
Posted: December 02, 2010 at 9:03 PM Quote #31325
How do I properly hide the Popular tags module on the left sidebar?
Is there a control in the admin (I looked and cannot find so far) or I have to manually take it out in the code?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 02, 2010 at 9:06 PM Quote #31326
I deleted all the tags and the module is hidden now. What if I want to utilize the tags but don't want the module?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 02, 2010 at 10:46 PM Quote #31328
Edit the masterpages and remove or (preferably) comment out the following lines:

<nopCommerce:PopularTags ID="ctrlPopularTags" runat="server" />
            <div class="clear">
            </div>
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 02, 2010 at 10:53 PM Quote #31329
I'm not familiar with .Net. How do you comment the code?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 02, 2010 at 11:24 PM Quote #31330
shegga wrote:
I'm not familiar with .Net. How do you comment the code?


// is a single line comment
/* */ is a block line comment, meaning you can comment multiple lines between the /* and */
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 06, 2010 at 7:52 AM Quote #31531
on the stated page, you would need to use   <!--  -->  eg

<!--
<nopCommerce:PopularTags ID="ctrlPopularTags" runat="server" />
            <div class="clear">
            </div>
-->
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 06, 2010 at 11:21 AM Quote #31556
Another option would be to set the control's visibility to false

<nopCommerce:PopularTags ID="ctrlPopularTags" runat="server" visible="false" />
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 06, 2010 at 12:15 PM Quote #31569
haydie wrote:
on the stated page, you would need to use   <!--  -->  eg

<!--
<nopCommerce:PopularTags ID="ctrlPopularTags" runat="server" />
            <div class="clear">
            </div>
-->


Oops!  Forgot we were talking about an ASPX page, not the codebehind.  /facepalm

steveeb wrote:
Another option would be to set the control's visibility to false

<nopCommerce:PopularTags ID="ctrlPopularTags" runat="server" visible="false" />


That would work too, however if you don't want it displayed, why waste precious bandwidth loading controls that you aren't going to use?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 07, 2010 at 2:45 PM Quote #31678
If you choose to comment things out of NopCommerce, I would suggest putting your name or some other constant within the comment so you can easily search for it.  Just make sure you are consistant.

Example:

<!-- STEVE

   The code you're commenting out...

-->

I can then do a global search for "STEVE" to find all the places I messed up. ;)
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 09, 2010 at 6:46 AM Quote #31821
Thank you. I appreciate it.
Different way to comment in .net
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
E-COMMERCE CONFERENCE 2016
Learn more