Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12646

Add data attribute to breadcrumb links

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-RC1
    • 3.1.0-b4
    • Styles
    • None

      function generate_forum_nav() assigns 'FORUM_ID' to the template, but this is never actually used.

      If extensions want to use the breadcrumb for additional functionality, it would be good if they have a way of determining the forum_id without having to rely on substrings of the href="U_VIEW_FORUM".

      So I propose we add data-f="

      {navlinks.FORUM_ID}

      " after the microdata

            nickvergessen Joas Schilling
            PayBas PayBas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: