Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12646

Add data attribute to breadcrumb links

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b4
    • Fix Version/s: 3.1.0-RC1
    • Component/s: Styles
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: