Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

User Public Stats Link

  • squeak24
  • squeak24's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 weeks ago #117753 by squeak24
User Public Stats Link was created by squeak24
Hey Everybody,

I would like to change the Public Stats to remove the

Code:
target="_blank"

I want the Public Stats in the same Window as the Survey.

Any help would be greatly appreciated.

Bob
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 weeks ago #117754 by tpartner
Replied by tpartner on topic User Public Stats Link
Add this to the end of template.js:

Code:
$(document).ready(function() {    
  $('.publicstatisticslink').attr('target', '_self');    
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: cafonso
The topic has been locked.
  • squeak24
  • squeak24's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 weeks ago #117755 by squeak24
Replied by squeak24 on topic User Public Stats Link
Thank you, that is fantastic. I will do that later.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose