Products

Solutions

Learn More

Partners

Community

Blog

About

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 ...Login link with return urlLogin link with return url
Previous
 
Next
New Post
7/28/2014 10:33 AM
 
Hi
Yes the link is on the page

http://staging.thinkingclassroom.co.u...

If you scroll down to the section 'Featured Thinking Skills Resources' It is the login link on the line

"Free Standard Member Resource: login or Join for Free to access this resource and others."

Thank you
 
New Post
7/29/2014 10:05 AM
 

I modified the script slightly so it finds the login link at the top of the page properly.  Give this a try:

$(function(){
$('.CustomLoginLink').click(function(){
$('a[id$="loginLink"]').click();
});
});

The 'a[id$="loginLink"]' looks for an anchor tag with and id which ends with "loginLink".  Based on the page you showed me, this should now work.


Joe Brinkman
DNN Corp.
 
New Post
7/29/2014 11:13 AM
 
Hello Joe,
Thank you so much for looking at this again

I have put in the above and it's still not working - I'm not sure I am calling the script correctly from the link, I have tried various things - is the following the correct syntax ?

<a href="#" class="OtherLinks" onclick="CustomLoginLink">login</a>


Thank you
Vicky

 
New Post
7/29/2014 1:04 PM
 

Vicki,

 Instead of:

<a href="#" class="OtherLinks" onclick="CustomLoginLink">login</a>

Use:

<a href="#" class="CustomLoginLink OtherLinks" >login</a>

There is no need for the onclick attribute since this is being handled by the jQuery.  The second aspect is that the CustomLoginLink should be a second class that is assigned (you can assign multiple CSS classes in HTML by just separating classnames with a space)


Joe Brinkman
DNN Corp.
 
New Post
7/29/2014 1:57 PM
 
Hi Joe
Thank you for your help
Sadly still no luck - I think I have everything as you have suggested, but if I click on the login link it simply takes me to the top of the page as if the script isn't kicking in. Only the # is appended to the url.
Vicky
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login link with return urlLogin link with return url


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out