1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed News Feed Item for Media Insert displays incorrectly

Discussion in 'Media Gallery Resolved Bugs' started by Xanin, Jan 15, 2015.

  1. Xanin

    Xanin Member

    After updating from v1 to 1.0.2 (I skipped the important security update release), my news feed items for Media Inserts don't show the album they were added to.
    xfmg-err.png xfmg-err2.png
    Upon further inspection, I noted that the template news_feed_item_xengallery_media_insert had the following (first) line removed from the earlier version of XFMG

    <xen:set var="$containerType">{xen:if '{$content.album_id} > 0', album, category}</xen:set>
    Restoring that line to the start of the template restored my news feed items to their correct display.
    xfmg-err3.png xfmg-err4.png

    I don't see the problem replicated here at XenForo itself, so I'm not sure if this is an issue that I've somehow inflicted upon myself, or if it was already corrected here, or if the latest version isn't running here.
  2. Chris D

    Chris D XenForo Developer Staff Member

    I think you may have had an outdated template.

    We did make a change in XFMG 1.0.2, which it appears didn't take effect for you, for some reason.

    If you revert the template, does that make it work now as expected?
  3. Xanin

    Xanin Member

    Reverting just that template still leaves me with my initial problem.
  4. Chris D

    Chris D XenForo Developer Staff Member

    I think there is a bug here, thanks for the additional info.
    Xanin likes this.
  5. Chris D

    Chris D XenForo Developer Staff Member

    Sorted thank you.
    Xanin likes this.

Share This Page