Welcome, Guest
Username: Password: Remember me

TOPIC: Disable relative URL / Adding hostname to href

Disable relative URL / Adding hostname to href 6 months 1 week ago #107399

  • king_and1
  • king_and1's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Karma: 0
Hello ,

i´ve got some <a href> tags with relative URL´s, so the links look like:

<a href="/somedir/page"></a>

I am editing this links with jquery to add a domain name like this:

www.domain.com/somedir/page

BUT

Limesurvey always adds the root URL to these links , so the links look like:

www.limesurveydir.dehttp://www.domain.com/somedir/page


How can i prevent Limesurvey from doing this ?

Please help , i´ve got about 400 links like this and it would be just too much editing them by hand :/

Thanks in advantage !
The administrator has disabled public write access.

Disable relative URL / Adding hostname to href 6 months 1 week ago #107428

  • king_and1
  • king_and1's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Karma: 0
So , now i hve changed the links, and they are lookig wright. ex. :

<div class="columnContainer">

<ul>
<li class=""> … </li>
<li class="">
<a id="Find Your Ideal Laptop" title="Find Your Ideal Laptop" onclick="_gaq.push();" href="www.toshiba.eu/innovation/generic/product-selector/"> … </a>
</li>


BUT Limesruvey still adds the root url to the links. So i will be redirected to :

selfhelp.toshiba-tro.de/index.php/573767...ic/product-selector/

How can i stop Lime from doing this ? Please help me i really have no idea :/
The administrator has disabled public write access.

Disable relative URL / Adding hostname to href 6 months 1 week ago #107430

  • king_and1
  • king_and1's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Karma: 0
I am adding this links in the survey.pstpl

Is this maybe the problem ?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.104 seconds
Donation Image