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  
WebHostForAsp.net
 


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

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

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