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

Add data attribute to breadcrumb links

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-b4
    • 3.1.0-RC1
    • Styles
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: