We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37662
    • 2 Posts
    Hi,
    I'm having a weird problem
    I use ditto to list children document on a parent page. It works well, but the foremost slash in links to children pages is always doubled.
    here's my chunk for an item:
    <div class='news'>
    <h2>[+title+]</h2><div style="clear:both;"></div><br/>
    <div class='actiontext'>[+introtext+]</div>
    <a class="more" href="[~[+id+]~]" title="Read more...">Read more...</a>
    </div>
    <div style="clear:both;"></div>
    

    and href="[~[+id+]~]" from this chunk is always rendered as href="//link/to/my/page.html" - note two backslashes instead of one.
    Why does it happen? How would I fix this?
      • 37662
      • 2 Posts
      sorry, this problem is not related to ditto,
      all links from "[~id~]" tag have double leading slashes. How can I fix this?

      to moderator: could you please move this topic to appropriate forum