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...Skins, Themes, ...Skins, Themes, ...Is it possible, in an HTML based skin...Is it possible, in an HTML based skin...
Previous
 
Next
New Post
2/29/2008 9:54 PM
 

I'm faced with the following situation:
Can a skin, designed in HTML- no ascx skin, do the following- provide a 'pane' which, if the portal has the logo set to 'not defined' display a textual representation of the portal alias?
Basically, I want to have a div which is intended for the portal logo, but if the portal does not specify a logo I want the portal alias to be shown in text.
I've seen conditional menus shown (depending upon admin priveledge) but I've never seen the equivalent of an "ALT" for the DNN LOGO.
Am I making sense?

IF site.logo is not.defined THEN display text.

 
New Post
3/1/2008 10:39 AM
 

<div class="logo">
[LOGO]
<%=IIf(PortalSettings.LogoFile = "", PortalSettings.PortalAlias.HTTPAlias, "")%>
</div>

Should work, also in an HTML skin

 
New Post
3/1/2008 5:17 PM
 

Worked great! Thanks.

 
New Post
3/1/2008 8:03 PM
 

That's certainly a handy one thanks Timo :)

Rob

 
New Post
3/2/2008 3:49 PM
 

Any have a suggestion on out how to make it a link back to the home page?
I can't figure out how to get the directive to output the link properly.
It looks like a standard IF statement from excel but I can't get the strings to concatenate.

I wan't something like:
<a href="/?tabid=<%=PortalSettings.HomeTabId%>"><%= PortalSettings.PortalName%></a>
to be output so it mimics the graphic logo behavior.
Never said I was a .net programmer. >grin<

Maybe it's something that could be added into the core so that if a skin defines a logo but the logo is not defined for the portal the portal name will be output as a clickable link back to the portal root? Something on the site setting pages could enable / disable this functionality if the logo is undefined?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Is it possible, in an HTML based skin...Is it possible, in an HTML based skin...


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