Hi there
I looking for a solution that would allow me to put page specific images, under the logo or instead of the logo image on my DNN site. I found a post which offers a possible solution but to be honest don't have enough experience to fully understand everything that is being suggested. Can you or anyone else add details or better yet provide an example of how to implement this solution?
It would be very much appreciated.
Here is the link to the original post
http://www.dotnetnuke.com/Community...oding.aspxAnd here is the text in that post.
Here is a shortcut to show page specific images, like page headers, on every page by adding a tiny bit of code to your skin:
<h3 class="current-place-head">
<%
If (Not PortalSettings.ActiveTab Is Nothing) Then
Response.Write("<img class="png" src="" & SkinPath & "images/images/" & _
PortalSettings.ActiveTab.TabName.Replace(" ", "-") & ".png" alt="" & _
PortalSettings.ActiveTab.Title & "" />")
End If
%>
</h3>
Here is what I did:
1. Named my images exactly the same as the Page Name on which they will reside
2. Replaced spaces used in Page Names with dashes (-) in the images names
3. In a skin file, I simply put the above code in the place where the page header should appear (in this case it's inside an h3 tag)
Thanks in advance
M.