DNN Hosting Register Login
 
Latest Discussions Minimize
Screen Shot Not Available by jerops
Hi,I have 2.4.3 UVG running on a 490 portal and when I use an apple with Final C...
Windows 2008 Server/Vista x64 by joshuahsu
I'm considering running DNN/UVG on Windows 2008 Server x64 with an Intel Qual pr...
Using DNN search by drabbas
I am unable to find my pictures using the DNN search feature. http://www.bradfor...
How to upgrade UVG by js360160
I have UVG 02.00.00 installed and I just downloaded UVG 02.04.04.Is there a spec...
File Transfer to Amazon by OurLink
I am having a small issue with the Amazon S3 integration on UMG. I have followed...
How to specify the format of [CREATEDATE] by loon08
like datetime.ToString("MMM,d yyyy") in .net, how to specify [CREATEDATE]'s form...
photoid in 3DCarousel not working by loon08
I am using 3DCarousel. When photoid is specified in url, it does not show the i...
A "must-have" option in "Settings / Default Sorting / Order": RANDOM by kossut
Hello, I've just purchased UMG and I can't believe, that in as rich, functional ...
Link: text box purpose by bhoffort
What is the purpose of the Link: text box in the photo property interface?Is the...
Format to export in final cut by rmalone
Weve got an issue exporting from final cut, I dont know what has happened, but w...
Our Partnership Minimize
If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!
Support Forum Minimize
Subject: how to turn off some of the tabs
Prev Next
You are not authorized to post a reply.

Author Messages
Jeff Waters
Posts:57
Golden Member

08/16/2008 5:59 AM  
Pengtsen,

I'm finding that for my site, I really only need 3 tabs:
Most Recent
Most Viewed
Most Discussed

I'd like to turn off these 2 tabs:
Top Rated
Recently Featured

How can I do that?

Thanks!
Jeff

Kettlebell Training Videos

Pengtsen R
Posts:5241


08/16/2008 5:42 PM  
you should alter ucOrderTypePicker.ascx manually to remove these extra tabs.

in this file you can find many "TableCells", 3 cells is a group, please find the groups of top rated and recently featured and hide them.

Pengtsen R
http://www.bizmodules.net
Jeff Waters
Posts:57
Golden Member

08/16/2008 9:15 PM  
If I delete a group of the 3 "TableCells" lines, I get the following error:

An error has occurred.
Error: UVG_VideoList is currently unavailable.
Pengtsen R
Posts:5241


08/17/2008 5:35 AM  
don't delete it, please hide it. set it's visible to false.

Pengtsen R
http://www.bizmodules.net
Jeff Waters
Posts:57
Golden Member

08/17/2008 5:45 AM  
I'm sorry, I'm not very good at programming and still don't quite understand. Could you copy & paste an example of the 3 "TableCell" lines that I need to change here? Please show me what I need to do to make them invisible.

Thanks!
Pengtsen R
Posts:5241


08/17/2008 6:25 PM  
here is an example, please note I replaced all html begin and end tag to [ and ]:

[%@ Control Language="vb" AutoEventWireup="false" Codebehind="ucOrderTypePicker.ascx.vb" Inherits="BizModules.UltraVideoGallery.ucOrderTypePicker" %]
[%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %]
[div class="MenuHeader"]
[asp:Table id="tblContainer" runat="server" BorderWidth="0" GridLines="None" CellPadding="0"
CellSpacing="0"]
[asp:TableRow]
[asp:TableCell HorizontalAlign="Center" Width=5] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemSelectedLeft"] [/asp:TableCell]
[asp:TableCell]
[asp:LinkButton ID="lnkMostRecent" Runat="server" resourcekey="MostRecent" CssClass="CommandButton"
OnClick="ChangeOrderType"][/asp:LinkButton]
[asp:Label ID="lblMostRecent" Runat="server" Visible="False" CssClass="Normal" Font-Bold="True"
resourcekey="MostRecent"][/asp:Label]
[/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemSelectedRight"] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedLeft"] [/asp:TableCell]
[asp:TableCell]
[asp:LinkButton ID="lnkMostViewed" Runat="server" resourcekey="MostViewed" CssClass="CommandButton"
OnClick="ChangeOrderType"][/asp:LinkButton]
[asp:Label ID="lblMostViewed" Runat="server" Visible="False" CssClass="Normal" Font-Bold="True"
resourcekey="MostViewed"][/asp:Label]
[/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedRight"] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedLeft" visible="false"] [/asp:TableCell]
[asp:TableCell visible="false"]
[asp:LinkButton ID="lnkTopRated" Runat="server" resourcekey="TopRated" CssClass="CommandButton"
OnClick="ChangeOrderType"][/asp:LinkButton]
[asp:Label ID="lblTopRated" Runat="server" Visible="False" CssClass="Normal" Font-Bold="True"
resourcekey="TopRated"][/asp:Label]
[/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedRight" visible="false"] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedLeft"] [/asp:TableCell]
[asp:TableCell]
[asp:LinkButton ID="lnkMostDiscussed" Runat="server" resourcekey="MostDiscussed" CssClass="CommandButton"
OnClick="ChangeOrderType"][/asp:LinkButton]
[asp:Label ID="lblMostDiscussed" Runat="server" Visible="False" CssClass="Normal" Font-Bold="True"
resourcekey="MostDiscussed"][/asp:Label]
[/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedRight"] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedLeft" visible="false"] [/asp:TableCell]
[asp:TableCell visible="false"]
[asp:LinkButton ID="lnkRecentlyFeatured" Runat="server" resourcekey="RecentlyFeatured" CssClass="CommandButton"
OnClick="ChangeOrderType"][/asp:LinkButton]
[asp:Label ID="lblRecentlyFeatured" Runat="server" Visible="False" CssClass="Normal" Font-Bold="True"
resourcekey="RecentlyFeatured"][/asp:Label]
[/asp:TableCell]
[asp:TableCell HorizontalAlign="Center" CssClass="ItemNotSelectedRight" visible="false"] [/asp:TableCell]
[asp:TableCell HorizontalAlign="Center"] [/asp:TableCell]
[/asp:TableRow]
[/asp:Table]
[/div]

Pengtsen R
http://www.bizmodules.net
Pengtsen R
Posts:5241


08/17/2008 6:27 PM  
search for

visible="false"]

to see my modifications.

Pengtsen R
http://www.bizmodules.net
Jeff Waters
Posts:57
Golden Member

08/18/2008 3:09 PM  

That did it. Thanks!

Here is the finished product:

Kettlebell Video Training

Jeff Waters
Posts:57
Golden Member

08/18/2008 3:22 PM  
Which file do I edit like this to get rid of the Related Tab in UVG_RelatedVideos?
Pengtsen R
Posts:5241


08/18/2008 7:16 PM  
maybe you can take a look at this thread:
http://www.bizmodules.net/Support/tabid/55/forumid/13/postid/6960/view/topic/Default.aspx

Pengtsen R
http://www.bizmodules.net
Jeff Waters
Posts:57
Golden Member

09/09/2008 4:43 PM  
Thanks again Pengtsen. By the way, I summarized all this in a post at Seablick.com:

http://seablick.com/blog/articletype/articleview/articleid/123/customizing-the-uvg-tab-layout.aspx
Pengtsen R
Posts:5241


09/09/2008 9:43 PM  
Jeff, thank you very much for sharing your work with us. I really appreciate it.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Ultra Video Gallery > Support Questions > how to turn off some of the tabs

Enterprise level DotNetNuke Solutions Copyright © 2005-2008 BizModules   |  Contact Us  |  Terms Of Use  |  Privacy Statement