Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDashboard directing to wrong Repository.Dashboard directing to wrong Repository.
Previous
 
Next
New Post
1/19/2010 3:04 PM
 

I created a respository and I have made a copy of the module so it  exists on two pages a HOME page and an ARCHIVE page.

I have the repository only displaying 1 item since it appears that I can't have multiple items displayed on the ARCHIVE page.

(Separate question, but does anyone know of a way to have the same module have a unique setting for one page, and a completely different setting for another page. I want the HOME page to only display the most recent, and the ARCHIVE page to display all issues)

Anyways, so what appears to work best for me was to have 1 item displayed in the Repository, and use the dashboard to move between archived copies.

So on the Home page I have the Repository.

On the Archive page I have a copy of the Repository and the Repository Dashboard displaying past issues.

On the setting of the Dashboard on the archive page, under Select Repository there are two choices

HOME/Repository
ARCHIVE/Repository
 

I keep selecting ARCHIVE/Repository but when I click on a link on the Dashboard, it redirects me to the HOME page with the Archived issue showing up in the Repository Module. I want it to stay on the ARCHIVE page. How can I accomplish this?

 

 
New Post
1/19/2010 3:40 PM
 

without making code changes, you can't share items between 2 repository modules, each repository module (identified by the unique Module ID assigned to it when you placed it on a page)  has it's own set of data items.

Using the 'copy' funciton to place a copy of the module on a different page does not create a 'new' module, changing the data in one instance will affect the other instance as well .. in effect it's the same module, just on two pages, which is why the Dashboard module seems to be getting confused.

To accomplish what you want to do, you would have to change the stored procedures in the database to return data items regardless of module id, so all repository modules would share the same data (ie: remove ModuleID from the WHERE clause). Then you could place 2 separate repository modules on 2 different pages, each module would have a unique ID and you would be able to change the settings for each one independently.  The only downside is that if you do that, then ALL repository modules on all of your portals within that dotnetnuke instance would share all of the same data items, however if these are the only two instances of the repository module that you plan to use, then that would most likely work

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDashboard directing to wrong Repository.Dashboard directing to wrong Repository.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out