Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Disable relative URL / Adding hostname to href

Disable relative URL / Adding hostname to href 5 Monate 1 Woche her #107399

  • king_and1
  • king_and1s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 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 !
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Disable relative URL / Adding hostname to href 5 Monate 1 Woche her #107428

  • king_and1
  • king_and1s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 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 :/
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Disable relative URL / Adding hostname to href 5 Monate 1 Woche her #107430

  • king_and1
  • king_and1s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
I am adding this links in the survey.pstpl

Is this maybe the problem ?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.134 Sekunden
Donation Image