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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


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
30 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
30 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.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

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