Mitchel's Forums

Subject: Adding more content to Repository Dashboard
Prev Next
You are not authorized to post a reply.

AuthorMessages
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/30/2007 8:28 AM  

Does anyone know how I can add more content from the Repository into the dashboard?

In particular I would like to display the 'Description' and 'Download' button. I have tried editing one of the templates in:
C:\DotNetNuke\DesktopModules\Repository\Templates\
and whilst I can change the layout I cannot get it to display more information from the Repository.

To explain, I am using the repository to display a list of Magazine issues with a button to download a PDF of the mag. This is displayed on its own page called 'Issues'.  I want to display the latest issue on my home page with a larger image of the Magazine, its description and the download button. However I don't want to enter this info twice. I cannot seem to copy the repository to the home and change its skin settings without the original one on the 'Issue' page changing as well. So I thought I could use the Repository Dashboard on my home page. But this will not let me show the 'Description' or download button.

Any suggestions would be very gratefully received.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/30/2007 1:45 PM  
As far as I know the repository dashboard is for "Dashboard" items only, thus no description or download link.

I assumed that you have tried using the same tokens in the template that are used for the regular repository when your modified the dashboard template?

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/30/2007 2:04 PM  

Yes, I tried that but it was a no go. I also tried looking into various RepositoryDashboard.ascx files that are dotted around the system to see if I could hack it into accepting more info, but I found nothing obvious enough for a DNN newbie like me. I've been writing classic ASP and JavaScript for a few years and I'm happy to get my hand dirty with code - but it helps to know where to look. The Dashboard seems to be controlled by so many other files I keep getting lost.

It's a pity you can't have a copy of a Repository module on another page and apply different settings. If you could it would solve the problem for me.

Many thanks for your help.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/30/2007 2:17 PM  
No problem, I just wish I could help you more. I am sure that you can pull more data if needed.....on the dashboard page.

I am not familiar with the dashboard code, but I can tell you this.

The code that you need to edit would be in the /DesktopModules/Dashboard/RepositoryDashboard.ascx.vb file That file appears to be the driver for the dashboard.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/30/2007 2:45 PM  

I wondered about that  - but cannot find/see the file on my installation. Using windows search tells me there is no such file on my system. Odd.

I'm using DNN 04.05.04

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/30/2007 3:06 PM  
Yes, I just noticed this as well.

I started a thread on DotNetNuke.com to ask the project team whee the source files are!!

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/30/2007 3:12 PM  

Thanks. Its good to know its not JUST me.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/30/2007 3:23 PM  
Here is the answer!

http://www.dotnetnuke.com/Community/Forums/tabid/795/mid/2108/threadid/165224/scope/posts/Default.aspx#165253

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/30/2007 4:42 PM  

Wow! That was quick.

Only I don't have DotNetNuke 3.X or Visual Studio - DOH!

I do have MS Visual Web Developer Express [cos its FREE] - would this do the job?

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/30/2007 5:23 PM  
Sadly you will need that to edit the files, it is one downfall of having some of the older modules that have not yet migrated to 2.0.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/31/2007 3:40 AM  

I'm going to have to find an alternative. This will probably mean using Text/HTML on the home page to display the current issue. When this is superceeded I will need to enter the info into the Repository and then overwrite the Text/HTML module on the home page with the next issue.  A little more laborious than I would prefer. This goes against the grain for me as using a database should mean you can avoid re-entering data.

Is there any way two separate modules can share the same data?

I would like to thank you for your time. Its people like you that make the web so amazing.

 

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/31/2007 8:56 AM  
Yes, I agree that it is not the best of scenarios. It will be nice once all core modules are up on ASP.NET 2.0, it will make editing them much easier!

As for sharing data between modules, yes by all means modules can share data, however, they have to know what they are looking for. It is possible that you could roll your own "dashboard" to display the data you need, just by getting the data from the Repositories data tables.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/31/2007 10:13 AM  

Well that sounds more promising... but where do I start?

Is there an SQL module where I can write my own recordset?
Should I try using the User Defined Table?

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5595

08/31/2007 10:44 AM  
You have two core modules that let you run queries.

1.) Reports module, but I don't think you can get what you are looking for
2.) UDT Module. You can most likely get what you want with this, but I personally cannot help as I am not at all familiar with this module.

Otherwise I am sure there might be some other tools out there, but if in all reality you are wanting to just display the last added repository item, you could even whip up a quick module yourself that goes and gets the needed information.

If you are looking for help if you go that route, shoot me an e-mail and I'll see if I can help you out a bit!

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Charles HarfordUser is Offline
New Poster
New Poster
Posts:8

08/31/2007 12:13 PM  

Thanks again for your advice.

I'll take a look at UDT and let you know how I get on.
Failing that I may have to do as you suggest and 'roll my own'. I have no idea how, but there must be some documentation somewhere that will explain how I can extract data from the database.

Many thanks and kind regards,
Charles.

You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Adding more content to Repository Dashboard



ActiveForums 3.7