Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Question on discovering current tab id, current module id...
Previous Previous
 
Next Next
New Post 5/12/2008 9:20 AM
User is offline andyah
29 posts
10th Ranked


Re: Question on discovering current tab id, current module id... 

Thanks guys!  That really helps...

 
New Post 5/12/2008 9:56 AM
User is offline andyah
29 posts
10th Ranked


Re: Question on discovering current tab id, current module id... 

Thanks guys!

Just to summarize this thread for any other readers (and hopefully it shows up in a search):

In modules:

To get current users, Me.UserId()

To get current module, Me.ModuleId()

To get current tab, Me.PortalSettings.ActiveTab.TabId

In skin objects:

To get current users, Entities.Users.UserController.GetCurrentUserInfo.UserId() (seems like this should be added to skin object for personalization....)

To get current tab, Me.PortalSettings.ActiveTab.TabId

Current module is moot, since a skin object is attached to a page/tab, and not a module...

Hope this helps someone else down the line...

PS. Is there a reason why my posts are still moderated after almost a year?  It really makes it hard to help others on this forum...

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Question on discovering current tab id, current module id...
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP