This forum is obsolete

This support forum has been replaced by a news version. You can browse old posts in this forum, but please post your questions to the new forum by clicking on "Support" in the top level menu.

Support Forum
Subject: Remove count off of categories listing
Prev Next
You are not authorized to post a reply.

Author Messages
Darryl Barney
Posts:37
Golden Member

02/15/2011 11:32 AM  
Hello,

Is there a way that I can remove the video count in the categories listing?

Thanks.
Pengtsen R
Posts:13551


02/16/2011 6:16 AM  
you should be able to remove it by modifying the display template of the categorylist module.

Pengtsen R
http://www.bizmodules.net
Darryl Barney
Posts:37
Golden Member

02/16/2011 7:22 AM  
Hey Pengtsen,

Thats for getting back to me. I reviewed the template, but couldnt find a reference to a count. Mind directing me to it?

Thanks.
Pengtsen R
Posts:13551


02/16/2011 7:54 AM  
are you using UVG_CategoryList module? if so there should be a [VIDEOCOUNT] token.

Pengtsen R
http://www.bizmodules.net
Darryl Barney
Posts:37
Golden Member

02/16/2011 8:06 AM  
I think my problem is finding the proper file to modify. Where is the template? When I am reviewing \DesktopModules\UltraVideoGallery and reviewed the CategoryList.ascx and similar files, but did not find anything about [VIDEOCOUNT]
Pengtsen R
Posts:13551


02/18/2011 6:46 AM  
it should be in the "module settings" page of UVG_CategoryList module. you can see it from the drop down menu of this module.

Pengtsen R
http://www.bizmodules.net
Darryl Barney
Posts:37
Golden Member

02/18/2011 7:38 AM  
I only have 2 options in this portion of the module:
You can either display all categories in this portal, or display sub categories under <None Specified> A-Z Videos Essential Training Seminars only.
When enabled view permission on category level, the end user may not have permission to watch videos under a category, in this case still do not make this category visible.


No option exists for removing the count on its view. I am specifically using the UVG_CategoryListNested module.
Pengtsen R
Posts:13551


02/23/2011 5:50 PM  
so you are using UVG_CategoryListNested.

it seems the video count is hard coded in this module, but you can remove it in UVG_CategoryList.

Pengtsen R
http://www.bizmodules.net
Darryl Barney
Posts:37
Golden Member

02/24/2011 7:36 AM  
Ok, what options exist to get it fixed fro CategoryListNested?
Pengtsen R
Posts:13551


03/01/2011 5:39 AM  
it seems there is no way, it's hard coded from the codebehind file.

Pengtsen R
http://www.bizmodules.net
Darryl Barney
Posts:37
Golden Member

03/01/2011 7:22 AM  
Ok, is this something you would be willing to add in the near future? This is a pretty big deal for my office...as small as it may seem.

Thanks.
Pengtsen R
Posts:13551


03/03/2011 8:14 PM  
I found a solution for you, you can use jQuery to hide it in run time:

<script>
jQuery(document).ready(function(){
jQuery("#dnn_ctr484_ModuleContent").find("td[align='right']").hide();
});
</script>

dnn_ctr484_ModuleContent is the module container id, you may have a different id, please search in the html source.

Pengtsen R
http://www.bizmodules.net
Barbara Campbell
Posts:1
New Member


03/27/2011 1:12 PM  
Thanks for that. It's really helping! :)

Nettbutikk
Nettshop

You are not authorized to post a reply.
Forums > Ultra Video Gallery > General Questions > Remove count off of categories listing

Copyright © 2005-2013 BizModules Contact us