We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50485
    • 56 Posts
    Happy New Year all,

    Wonder if anyone can advise what I am doing wrong. My site provides info on buildings in my city. Within the info description pages for each building there are architectural terms. When I had my site hosted on MODX cloud I was able to make these terms hyperlinks which went directly to the term on the architectural glossary page. I cant get it to work now hosted elsewhere.

    The code within the building page is this:

    all that now remains of the first Franciscan <a href="[[~7]]"#friary>friary</a> in England


    This gets the user to page 7 but not not the anchor - just the top of the page.

    The glossary itself is created using MIGX. The code for the TPL chunk is:

    <div class="glossary-entry-word">
    				
    	<h4 id=[[+anchor]]>[[+title]]</h4>
    						
    		<p class="glossary-entry-defintion">[[+text]]</p>
    					
    </div>
    				
    <div class="thumbnail-container">
    						
      <img class="thumbnail" src="[[+image]]" alt="[[+alt-text]]" />
    				
    </div><!--thumbnail container ends-->
    					
    



    When I inspect source the anchor id is missing.

    Any ideas much appreciated!

    Su

    This question has been answered by missusdoubleyou. See the first response.

      • 22840
      • 1,572 Posts
      Should it not be the following as your #friday is outside of the ahref

      all that now remains of the first Franciscan <a href="[[~7]]#friary">friary</a> in England
        • 50485
        • 56 Posts
        Hi Paulp

        Thanks but tried this and still not working. Any other suggestions most gratefully received. Su
        • discuss.answer
          • 50485
          • 56 Posts
          Doh - worked it out, had a dyslexic moment (literally) and spelt the anchor incorrectly in MIGX!!!! Thanks for your efforts Paul!