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, ...[LOGIN] cannot bring me to the user login page[LOGIN] cannot bring me to the user login page
Previous
 
Next
New Post
4/6/2006 11:15 AM
 
I use the token [LOGIN] in my skin.html and apply it to one of my page, but when I click on the login button, it does not bring me to the user login page. Does anyone know how to fix the problem?
 
New Post
4/6/2006 2:34 PM
 

You need to have only two things in your .ascx file to make the login link work correctly:

This line in the upper 'declarations' part:
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>

And this line at the location of your link:
<dnn:LOGIN runat="server" id="dnnLOGIN" Text="Login" />

From there, it's about style...

 

 
New Post
4/6/2006 3:38 PM
 

I am using the html way. After I uploaded the skin.zip, I checked the ascx file.  It looks the same as yours except for Text="Login". I don't have it in my ascx. Does it cause the problem?<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>

 
New Post
4/6/2006 6:45 PM
 

No, I have another skin that uses:
<dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="TopLinks" />

 
New Post
4/7/2006 12:22 PM
 

It still doesn't work. I use [LOGIN] in my html. I checked the ascx file, everything looks fine.

After I clicked the login button, I saw this from the url: http://localhost/dotnetnuke/Default.aspx?tabid=156&error=Object+reference+not+set+to+an+instance+of+an+object.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[LOGIN] cannot bring me to the user login page[LOGIN] cannot bring me to the user login page


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