We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33694
    • 742 Posts
    This is an auto-generated support/comment thread for MakeLink.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Snippet allows to create single links which do not refer to itself.
      • 29781
      • 25 Posts
      I would like to link the header-image of my website to the startpage. I think MakeLink could help me to prevent linking to the startpage itself on the startpage but I have the problem that I dont know how to include the <h1><img ... /></h1> in MakeLink. Any help would be appreciated.

      Thesa
        • 33694
        • 742 Posts
        Hi, Thesa.

        You can put <img ... /> to the chunk, and call MakeLink like this:
        <h1>[[MakeLink? &docid=`1` &alink_chunk=`logo_chunk` &dlink_chunk=`logo_chunk`]]</h1>

        In the page with id=1 you get <img ... />, in any other page you get <a href="[~1~]"><img ... /></a>.


        MakeLink is three years old school shippet smiley Today you can use PHx plugin for this task, but at the same time and for many others.
          • 29781
          • 25 Posts
          Thanks for your help. I will also have a look at phx.

          Thesa