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, ...Replacing login and logout text with imagesReplacing login and logout text with images
Previous
 
Next
New Post
2/21/2006 3:47 PM
 

How could i achieve this?:

Replace login text (that comes from [LOGIN]) with an image.

replace logout text (from [LOGIN], when user is logged in) with another image.

 

Or do you have a good solution on to show two different images that change between eachother if the user is logged in or not?

 
New Post
2/21/2006 4:07 PM
 

Try this -

In ascx mode:
<dnn:LOGIN runat="server" id="dnnLOGIN" Text="<img src=&quot;LOGIN.gif&quot;>" LogoffText="<img src=&quot;Logout.gif&quot;>" /> 

Or in XML:
<Object>
<Token>[LOGIN]</Token>
<Settings>
<Setting>
<Name>Text</Name>
<Value><![CDATA[<img src="LOGIN.gif">]]> </Value>
</Setting>
<Setting>
<Name>LogoffText</Name>
<Value><![CDATA[<img src="Logoff.gif">]]> </Value>
</Setting>
</Settings>
</Object>

This worked fine in DNN version 2, you may need to add <%= SkinPath %> in the ascx for the later versions.

 

 
New Post
2/22/2006 2:08 AM
 
Thanks!!

The XML code worked perfectly!!

- J
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Replacing login and logout text with imagesReplacing login and logout text with images


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