Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1081954

    ADS Media
    Participant

    I was testing out the new ACF extension and have been running into some issues getting content to display.

    I made a quick test using 4 field types; Text, Checkbox, File and Gallery. I integrated them via cornerstone text boxes using the {{acf:field_name}} shortcode as outlined in this article/. Text displays as expected and Checkbox displays as comma separated values.

    However, when we get to File it displays a long string of text. I expected a link or something but I get this:

    16, 16, New Text Document, New-Text-Document.txt, https://web2.adsmediapreview.ca/media/New-Text-Document.txt, , 1, , , new-text-document, 2016-07-11 18:24:54, 2016-07-11 18:24:54, text/plain, text, https://web2.adsmediapreview.ca/wp-includes/images/media/text.png

    When I attempted the gallery all I get is this:
    Array, Array, Array

    I’m not certain is the File field type above is working as intended, I just expected something different, but I’m certain Gallery should not be appearing like that…

    Thanks in advance!

    #1082246

    Jade
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1083215

    ADS Media
    Participant
    This reply has been marked as private.
    #1083909

    Friech
    Moderator

    Hi There,

    Thanks for the heads up, the gallery seems to be a bug let me report this to our dev theme for now.

    For the file make sure it is set to return a File URL.


    screenshot

    Thanks.

    #1084893

    ADS Media
    Participant

    Thanks for the reply. I checked the File URL box and it displays the URL, but it is not clickable as a link. Is there any option for making it clickable? Or could that be a bug related to the gallery issue?

    #1085126

    Christian
    Moderator

    Hey there,

    Cornerstone currently supports simple ACF fields so any field that outputs an multiple values or an array like the gallery is not supported.

    For template integration, please see https://www.advancedcustomfields.com/resources/gallery/

    We’ve added this to our list of feature request and might integrate advanced ACF integration in the future. Please stay tuned.

    Thanks.