Dynamic page navigation
Last Post 10/07/2008 7:46 AM by Joseph Craig. 1 Replies.
Author Messages
Sakthi
Nuke Pro
Nuke Pro
Posts:69


--
10/07/2008 5:10 AM  
Hi all, 
   
      We are developing a web app using DNN and we've a requirement like this.

There are 10 roles in our application. We've a dashboard for each one of these roles. Once the user logs into the application, he has a a page called 'My Account' in the Menu. Once he clicks on 'My Account' we have to take him to the respective dashboard.

So lets say, if user1(role1) logs in we've to take him to Dashboard 1 on 'My Account' click
if user2(role2) logs in, we've to take him to Dashboard2 on 'My Account' click


We are not pretty sure of how to navigate to different tabs based on roles on the same click event.


please help us with this issue.




Thanks ,

Sridhar
Joseph Craig
DNN MVP
Posts:11667


--
10/07/2008 7:46 AM  
I take it that you have developed 10 separate pages? Are these pages with a custom module or with custom code? Or do they use "stock" modules?

I also assume that the 10 roles are disjoint -- that is, no one can be a member of two roles?

If I were doing this, I would try to put everything on one page and use module visibility to determine who can see what. Each module or group of modules for a single role would be set to be visible to that role only, and the page could be viewed by every role.

If there is a custom module, it might make sense to write one module, have that module determine the user's role and what to do.

Joe Craig, Patapsco Research Group
Complete DNN Support


---