WordPress.org

Support

Support » Plugins and Hacks » CSV Importer » [Plugin: CSV Importer] fields created in Advanced Custom fields (Repeater)

[Plugin: CSV Importer] fields created in Advanced Custom fields (Repeater)

  • Can’t post data for fields created in Advanced Custom fields using the add-on called Repeater. I cannot use the field navn that is set as the general field name. The repeater allows me to create several sub-fields. These are the ones that i can’t import.

    Other field works fine. But the fields created using the repeater does not work?

    Any suggestions? are sub-field names re-named or?

    http://wordpress.org/extend/plugins/csv-importer/

Viewing 9 replies - 1 through 9 (of 9 total)
  • bheadrick

    @bheadrick

    Is the data from these fields serialized?

    bheadrick

    @bheadrick

    ok, I downloaded the acf plugin from here but apparently, you have to pay to get access to the repeater field, but from what I see, it looks like it’s serialized data – basically, it’s multiple fields inside a single postmeta field, right?

    I just added serialization support to my fork of the plugin.

    So, basically, you’d format the field like so

    label1::value1[]label2::value2[]label3::value3…

    torhvas

    @torhvas

    Thanks. I have updated the plugin and database but I still quite cant figure it out.

    I am using this csv structure

    https://docs.google.com/spreadsheet/ccc?key=0AomN-Xe5ardWdFc0dUtTaVMtaE5NaWpmLThvcGJsN0E#gid=0

    Please see this google spreadsheet. I have added i screencap. from wp adv. fields.

    e.g. The top level field is called “afsnit” and the sub fields are called “thumbnail”, “overskrift, “teaser” etc.

    how would this look?

    can make “afsnit” & “overskrift::testtext” work?

    Thank you so much for helping

    bheadrick

    @bheadrick

    Do this:

    1. find a post that has values for these fields
    2. Make a note of the post id
    3. jump into phpmyadmin, and run the following query
    4. select * from wp_postmeta where post_id = (the post id)
    5. export the results and throw that into a spreadsheet so we can see what the end result should look like.
    torhvas

    @torhvas

    They are here..

    https://docs.google.com/spreadsheet/ccc?key=0AomN-Xe5ardWdGZOZ0YwcmF2dDJaNWVpY2xxckpLQlE#gid=0

    They are called:

    afsnit_0_thumbnail
    afsnit_0_overskrift
    afsnit_0_teaser
    afsnit_0_javascript_popup
    afsnit_0_popup_height
    afsnit_0_popup_width

    torhvas

    @torhvas

    the post is this one

    flimmeren.dk/underholdning/emils-damer/

    torhvas

    @torhvas

    have tested

    field: afsnit
    key::value: afsnit_0_overskrift::testingvalue

    it does not work

    I looks like the “afsnit” field is opened but the afsnit_0_overskrift and the other sub fields are blank

    bheadrick

    @bheadrick

    If that’s the result of the above select query, your data definitely isn’t serialized.
    I can’t make heads or tails of the fields with the “field_…..” as the value. It almost seems as though it’s there to prevent you from importing stuff.

    Have you contacted the developer about this? Since you did pay for it, it seems they should work with you some to give you a viable option to import data that will work with their configuration.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: CSV Importer] fields created in Advanced Custom fields (Repeater)’ is closed to new replies.
Skip to toolbar