Fields rendering incorrectly

Support MB Views Fields rendering incorrectlyResolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38374
    Gene TeiglandGene Teigland
    Participant

    For some reason when I add a field to my views its showing something like this:

    {% set field = attribute( post, 'body-copy' ) %}
    {{ field }}

    Instead of what typically works:
    {{ post.body-copy }}

    Ive added a video as well to show the issue:
    https://www.awesomescreenshot.com/video/11229278?key=1885d91b3330dda0eb549728c27d5d70

    Thanks!

    #38383
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please let me know which version of MB Views is on your site? Please ensure you have the latest version 1.11.3 and clear all caches (browser, plugin) then recheck this issue.

    #38391
    Gene TeiglandGene Teigland
    Participant

    I have the latest version of Meta Box AIO Version 1.16.5

    Also cleared all caches but get the same attribute insert

    #38401
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your additional information.

    Both ways to get the field value with Twig code: attribute() function and dot (.) notation should work on your site. I've also informed the development team to remove one way to avoid confusion for the user.

    #38404
    Gene TeiglandGene Teigland
    Participant

    SO unfortunately the field does not render for us on the frontend.

    #38427
    Gene TeiglandGene Teigland
    Participant

    Checking on this again -- please advise on how we can get this fixed.

    #38435
    Gene TeiglandGene Teigland
    Participant

    Again - asking for support on this -- metabox is not working. Can you provide insight into why this is. Thanks!

    #38443
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If the dot (.) notation works on your site, please type the field ID manually. You can also share the admin site account to this contact form https://metabox.io/contact/
    I will help you to check the issue.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.