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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to get skinpath, tabid and portal in skin object
Previous Previous
 
Next Next
New Post 12/14/2006 4:10 AM
User is offline Jens Lindström
14 posts
10th Ranked


How to get skinpath, tabid and portal in skin object 
I have created a skin object that contains a custom menu.

I'm now gonna extend that menu and i need to get the path to current page skin.
I also need to get the PortalId and tabId from the current page/tab.
How to get those properties???

I have tried the following code:

................
Dim objPortalModule As DotNetNuke.Entities.Modules.PortalModuleBase = DotNetNuke.UI.Containers.Container.GetPortalModuleBase(Me)

Dim thisTabId As Integer = objPortalModule.TabId
..................

But the variable thisTabId only contains -1

The class inherits the SkinObjectBase but for the sake of the menu, it doesn't need to.

I also need to get the tabid on the first page, not through Request.Params("tabId")

Can anybody help me?
 
New Post 12/14/2006 8:28 AM
User is offline Jens Lindström
14 posts
10th Ranked


Re: How to get skinpath, tabid and portal in skin object 
Ofcourse...I found It by myself... :)

PortalSettings.ActiveTab.TabID
PortalSettings.ActiveTab.PortalID
PortalSettings.ActiveTab.SkinPath

I hope it helps anybody...
 
New Post 9/5/2007 2:25 PM
User is offline GeoCentric Designs
156 posts
9th Ranked


Re: How to get skinpath, tabid and portal in skin object 

Thanks for posting this!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to get skinpath, tabid and portal in skin object
 


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.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com

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