Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to find the current skin pathHow to find the current skin path
Previous
 
Next
New Post
7/24/2007 1:28 PM
 

I've spent a few hours on and off trying to find the path for the current skin I am working with.  Currently, the problem I am having is that I need to be able to find the local path of the current skin being used in a portal.  The reason I need that is I have multiple skins I am working with and I have certain images that need to be local to each skin.  For example, a user can do a search by certain criteia such as an ID# or a price.  Each individual entry has a picture of the product attached to it, but some products do not have pictures.  When there is no picture that can be displayed, I want to display a 'NoImage.jpg' that simply states no image was found.  Each person who uses our software needs to be able to customize their own no image, so to make it portable, I want to use the current skin path to store the noimage.jpg.  Is there any way to find the current property or member of the DotNetNuke class to find the current path for the skin you're working with?

Thanks,

Bear

 
New Post
7/24/2007 2:12 PM
 

<img src="<%= SkinPath %>NoImage.jpg" />

 
New Post
7/24/2007 3:06 PM
 

That's cool and I'm sure I'll use it as well.  However, I apologize but I neglected to mention that we are checking some stuff in code and am populating my page via code behind.  Is there a way to get the same result using DotNetNuke.Common.???? or something.

 

Thanks again.

Bear

 
New Post
7/24/2007 3:08 PM
 

Never mind, I'm assuming I can propbably just send that in from my code behind, duh.  I'll try it, thanks for the help.


Barrett

 
New Post
7/24/2007 7:36 PM
 

That solution didn't work.  Can anyone tell us how to retrieve the current portal path via the framework in the code behind?  Please.

Thanks for any help,

Barrett

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to find the current skin pathHow to find the current skin path


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out