Disable relative URL / Adding hostname to href

More
3 years 3 months ago #107399 by king_and1
king_and1 created the topic: Disable relative URL / Adding hostname to href
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 !

Please Log in to join the conversation.

More
3 years 3 months ago #107428 by king_and1
king_and1 replied the topic: Disable relative URL / Adding hostname to href
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 :/

Please Log in to join the conversation.

More
3 years 3 months ago #107430 by king_and1
king_and1 replied the topic: Disable relative URL / Adding hostname to href
I am adding this links in the survey.pstpl

Is this maybe the problem ?

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now