Dynamic IDs and anchor links for in-page linking in CMS Template Pages

With this function editors can create content on a page that is easy to navigate through and find the information the visitor needs with a fixed submenu. See example of information and side navigation: http://getbootstrap.com/getting-started/#download

  • Martijn Runia
  • Jan 30 2017
CMS
  • Claudius Gerstner commented
    28 Nov, 2019 09:38am

    +3

  • Brandyss Adams commented
    16 Mar, 2019 09:58pm

    Need!

  • Stephen Bazley commented
    30 Jul, 2018 05:57am

    HTML anchor tags are important for user experience and SEO. Anchors need to be added to the Rich Text field of a collection in the CMS.

    This will allow collection items to have custom anchors that relate to the content of the dynamic page (ie each collection item).

  • Birgit Miechielssens commented
    16 May, 2018 11:49am

    +1, Could really do with this as well

  • Ibrahim laswi commented
    4 Apr, 2018 12:43pm

    Try this:

    add this code in the header of the collection page>

    <script>
    function myFunction() {
    alert("Page is loaded");
    let id = "ADD FIELD" ;
    let section = document.getElementById('#'+id);
    section.id = newId;
    }
    </script>

     

     

  • Matthew Sanderson commented
    6 Dec, 2017 02:39pm

    I could really do with this too..

  • and 78 more