WordPress.org

Forums

CSV Importer
fields created in Advanced Custom fields (Repeater) (10 posts)

  1. torhvas
    Member
    Posted 2 years ago #

    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/

  2. torhvas
    Member
    Posted 2 years ago #

  3. bheadrick
    Member
    Posted 2 years ago #

    Is the data from these fields serialized?

  4. bheadrick
    Member
    Posted 2 years ago #

    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...

  5. torhvas
    Member
    Posted 2 years ago #

    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

  6. bheadrick
    Member
    Posted 2 years ago #

    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.
  7. torhvas
    Member
    Posted 2 years ago #

    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

  8. torhvas
    Member
    Posted 2 years ago #

    the post is this one

    flimmeren.dk/underholdning/emils-damer/

  9. torhvas
    Member
    Posted 2 years ago #

    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

  10. bheadrick
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic