• Resolved sinahosseinigst

    (@sinahosseinigst)


    Hey there @codingpanda
    I’m just using Panda Pods Repeater Field for a project, but in one of the groups (in which there are so many loops), whenever I add content to my Repeater, then all the content will be lost the next time I see it! For example, in the Section 2 group of this file, you can add your lyrics for one track of your music album (both in Farsi and in English), but the weird thing is that when you submitted everything for track 1, and you’re going to add everything for track 2 for example, you see these two things: the lyrics for track 1 appears in track 2! And also, all the lyrics of track 1 are gone! Just why????????
    Please test it @codingpanda! I’m in need of urgent help!

    {
        "meta": {
            "version": "2.8.10",
            "build": 1645692218
        },
        "pods": [
            {
                "name": "announcement",
                "id": 333,
                "label": "Announcements",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Announcement",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "unique": "0",
                "required": "0",
                "ui_style": "settings",
                "show_in_menu": "0",
                "menu_position": "0",
                "ui_actions_enabled": [
                    "add",
                    "edit",
                    "duplicate",
                    "delete",
                    "export"
                ],
                "ui_reorder_field": "menu_order",
                "ui_fields_manage": [
                    "name"
                ],
                "groups": [
                    {
                        "name": "details",
                        "id": 334,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 335,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_image",
                                "id": 340,
                                "label": "News Image",
                                "description": "",
                                "weight": 1,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_title",
                                "id": 351,
                                "label": "News Title",
                                "description": "",
                                "weight": 2,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_text",
                                "id": 352,
                                "label": "News Text",
                                "description": "",
                                "weight": 3,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "lha_detail",
                "id": 392,
                "label": "LHA Details",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "LHA Detail",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "ui_style": "settings",
                "show_in_menu": "0",
                "menu_position": "0",
                "ui_actions_enabled": [
                    "add",
                    "edit",
                    "duplicate",
                    "delete",
                    "export"
                ],
                "ui_reorder_field": "menu_order",
                "ui_fields_manage": [
                    "name"
                ],
                "groups": [
                    {
                        "name": "details",
                        "id": 393,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 394,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "track_name",
                                "id": 399,
                                "label": "Track Name",
                                "description": "",
                                "weight": 1,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "sub_lyrics",
                                "id": 426,
                                "label": "Sub Lyrics",
                                "description": "",
                                "weight": 2,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "pandarepeaterfield_table": "lha_sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "lha_english_sub_lyrics",
                "id": 415,
                "label": "LHA English Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "LHA English Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "unique": "0",
                "required": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 416,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "english_sub_lyrics",
                                "id": 422,
                                "label": "English Sub Lyrics",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "roles_allowed": "administrator",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "lha_farsi_sub_lyrics",
                "id": 407,
                "label": "LHA Farsi Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "LHA Farsi Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "unique": "0",
                "required": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 408,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "farsi_sub_lyrics",
                                "id": 423,
                                "label": "Farsi Sub Lyrics",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "roles_allowed": "administrator",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "lha_sub_lyrics",
                "id": 400,
                "label": "LHA Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "LHA Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "ui_style": "settings",
                "show_in_menu": "0",
                "menu_position": "0",
                "ui_actions_enabled": [
                    "add",
                    "edit",
                    "duplicate",
                    "delete",
                    "export"
                ],
                "ui_reorder_field": "menu_order",
                "ui_fields_manage": [
                    "name",
                    "modified"
                ],
                "required": "0",
                "unique": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 401,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 441,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "farsi_lyrics",
                                "id": 424,
                                "label": "Farsi Lyrics",
                                "description": "",
                                "weight": 1,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "pandarepeaterfield_table": "lha_farsi_sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "english_lyrics",
                                "id": 425,
                                "label": "English Lyrics",
                                "description": "",
                                "weight": 2,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "pandarepeaterfield_table": "lha_english_sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "lyrics_having_album",
                "id": 364,
                "label": "Lyrics Having Albums",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Lyrics Having Album",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "ui_style": "settings",
                "show_in_menu": "0",
                "menu_position": "0",
                "ui_actions_enabled": [
                    "add",
                    "edit",
                    "duplicate",
                    "delete",
                    "export"
                ],
                "ui_reorder_field": "menu_order",
                "ui_fields_manage": [
                    "name"
                ],
                "groups": [
                    {
                        "name": "details",
                        "id": 365,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 366,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "album_image",
                                "id": 371,
                                "label": "Album Image",
                                "description": "",
                                "weight": 1,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "spotify_player",
                                "id": 372,
                                "label": "Spotify Player",
                                "description": "",
                                "weight": 2,
                                "type": "html",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "html_no_label": "1",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "album_name",
                                "id": 373,
                                "label": "Album Name",
                                "description": "",
                                "weight": 3,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "release_date",
                                "id": 374,
                                "label": "Release Date",
                                "description": "",
                                "weight": 4,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "info",
                                "id": 375,
                                "label": "Info",
                                "description": "",
                                "weight": 5,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "track_lyrics_and_translation",
                                "id": 458,
                                "label": "Track, Lyrics, and Translation",
                                "description": "",
                                "weight": 6,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "pandarepeaterfield_table": "lha_detail",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "padra_content",
                "id": 313,
                "label": "Padra Contents",
                "description": "",
                "type": "post_type",
                "storage": "meta",
                "label_singular": "Padra Content",
                "public": "1",
                "show_ui": "1",
                "rest_enable": "1",
                "supports_title": "1",
                "supports_editor": "1",
                "_migrated_28": "1",
                "required": "0",
                "meta_box_context": "normal",
                "meta_box_priority": "default",
                "can_export": "1",
                "groups": [
                    {
                        "name": "header",
                        "id": 314,
                        "label": "Header",
                        "description": "",
                        "weight": 0,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "header_title",
                                "id": 315,
                                "label": "Header Title",
                                "description": "",
                                "weight": 0,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "header_image",
                                "id": 316,
                                "label": "Header Image",
                                "description": "",
                                "weight": 1,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    },
                    {
                        "name": "section_1",
                        "id": 319,
                        "label": "Section 1",
                        "description": "",
                        "weight": 1,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "news",
                                "id": 345,
                                "label": "News",
                                "description": "",
                                "weight": 0,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "pandarepeaterfield_table": "announcement",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    },
                    {
                        "name": "section_2",
                        "id": 453,
                        "label": "Section 2",
                        "description": "",
                        "weight": 2,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "lyrics_having_album",
                                "id": 457,
                                "label": "Lyrics Having Album",
                                "description": "",
                                "weight": 0,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "pandarepeaterfield_table": "lyrics_having_album",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            }
        ]
    }
Viewing 15 replies - 1 through 15 (of 39 total)
  • Plugin Author Coding Panda

    (@codingpanda)

    Hi @sinahosseinigst

    I am glad to see someone use the plugin with so many layers. That is how I use it. 🙂

    I imported your pods and they worked fine.

    Did you save the parent item before saving the child ones? For example, save a Sub Lyric before saving its Farsi Lyric and English Lyric.

    If you could provide some screenshots or videos, it will help me diagnose the problem.

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    Haha yeah I love these stuff you created 😉
    But please now use these, and now just tell me the results:

    {
        "meta": {
            "version": "2.8.10",
            "build": 1645708061
        },
        "pods": [
            {
                "name": "announcement",
                "id": 333,
                "label": "Announcements",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Announcement",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "unique": "0",
                "required": "0",
                "ui_style": "settings",
                "show_in_menu": "0",
                "menu_position": "0",
                "ui_actions_enabled": [
                    "add",
                    "edit",
                    "duplicate",
                    "delete",
                    "export"
                ],
                "ui_reorder_field": "menu_order",
                "ui_fields_manage": [
                    "name"
                ],
                "groups": [
                    {
                        "name": "details",
                        "id": 334,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 335,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_image",
                                "id": 340,
                                "label": "News Image",
                                "description": "",
                                "weight": 1,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_title",
                                "id": 351,
                                "label": "News Title",
                                "description": "",
                                "weight": 2,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "news_text",
                                "id": 352,
                                "label": "News Text",
                                "description": "",
                                "weight": 3,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "english_sub_lyrics",
                "id": 497,
                "label": "English Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "English Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 498,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "english_lyrics",
                                "id": 504,
                                "label": "English Lyrics",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "farsi_sub_lyrics",
                "id": 489,
                "label": "Farsi Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Farsi Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 490,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "farsi_lyrics",
                                "id": 496,
                                "label": "Farsi Lyrics",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "music_detail",
                "id": 522,
                "label": "Music Details",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Music Detail",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 523,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 524,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "track_name",
                                "id": 529,
                                "label": "Track Name",
                                "description": "",
                                "weight": 1,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "sub_lyrics_clone",
                                "id": 530,
                                "label": "Sub Lyrics",
                                "description": "",
                                "weight": 2,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "pandarepeaterfield_table": "sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "music",
                "id": 531,
                "label": "Musics",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Music",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "unique": "0",
                "required": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 532,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 533,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "required": "0",
                                "sister_id": "-- Select One --",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "album_or_single",
                                "id": 544,
                                "label": "Album or Single?",
                                "description": "",
                                "weight": 1,
                                "type": "boolean",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "boolean_format_type": "radio",
                                "boolean_yes_label": "Album",
                                "boolean_no_label": "Single",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "instrumental_or_with_lyrics",
                                "id": 545,
                                "label": "Instrumental or with Lyrics?",
                                "description": "",
                                "weight": 2,
                                "type": "boolean",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "boolean_format_type": "radio",
                                "boolean_yes_label": "Instrumental",
                                "boolean_no_label": "with Lyrics",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "music_image",
                                "id": 538,
                                "label": "Music Image",
                                "description": "",
                                "weight": 3,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "spotify_player",
                                "id": 539,
                                "label": "Spotify Player",
                                "description": "",
                                "weight": 4,
                                "type": "oembed",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "oembed_width": "0",
                                "oembed_height": "0",
                                "oembed_show_preview": "0",
                                "oembed_restrict_providers": "0",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "album_single_name",
                                "id": 540,
                                "label": "Album\/Single Name",
                                "description": "",
                                "weight": 5,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "release_date",
                                "id": 541,
                                "label": "Release Date",
                                "description": "",
                                "weight": 6,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "music_info",
                                "id": 542,
                                "label": "Music Info",
                                "description": "",
                                "weight": 7,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "unique": "0",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "track_lyrics_translation",
                                "id": 543,
                                "label": "Track, Lyrics, Translation",
                                "description": "",
                                "weight": 8,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "pandarepeaterfield_table": "music_detail",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "padra_content",
                "id": 313,
                "label": "Padra Contents",
                "description": "",
                "type": "post_type",
                "storage": "meta",
                "label_singular": "Padra Content",
                "public": "1",
                "show_ui": "1",
                "rest_enable": "1",
                "supports_title": "1",
                "supports_editor": "1",
                "_migrated_28": "1",
                "required": "0",
                "meta_box_context": "normal",
                "meta_box_priority": "default",
                "can_export": "1",
                "groups": [
                    {
                        "name": "header",
                        "id": 314,
                        "label": "Header",
                        "description": "",
                        "weight": 0,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "header_title",
                                "id": 315,
                                "label": "Header Title",
                                "description": "",
                                "weight": 0,
                                "type": "wysiwyg",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "wysiwyg_editor": "tinymce",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            },
                            {
                                "name": "header_image",
                                "id": 316,
                                "label": "Header Image",
                                "description": "",
                                "weight": 1,
                                "type": "file",
                                "sister_id": "-- Select One --",
                                "required": "1",
                                "file_format_type": "single",
                                "file_uploader": "attachment",
                                "file_attachment_tab": "upload",
                                "file_upload_dir": "wp",
                                "file_edit_title": "1",
                                "file_show_edit_link": "0",
                                "file_linked": "0",
                                "file_limit": "0",
                                "file_type": "images",
                                "file_field_template": "rows",
                                "file_add_button": "Add File",
                                "file_modal_title": "Attach a file",
                                "file_modal_add_button": "Add File",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    },
                    {
                        "name": "section_1",
                        "id": 319,
                        "label": "Section 1",
                        "description": "",
                        "weight": 1,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "news",
                                "id": 345,
                                "label": "News",
                                "description": "",
                                "weight": 0,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "pandarepeaterfield_table": "announcement",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    },
                    {
                        "name": "section_2",
                        "id": 453,
                        "label": "Section 2",
                        "description": "",
                        "weight": 2,
                        "meta_box_context": "normal",
                        "meta_box_priority": "default",
                        "roles_allowed": "administrator",
                        "fields": [
                            {
                                "name": "album_single",
                                "id": 546,
                                "label": "Album\/Single",
                                "description": "",
                                "weight": 0,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "pandarepeaterfield_table": "music",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator",
                                "rest_pick_response": "array",
                                "rest_pick_depth": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "sub_lyrics",
                "id": 505,
                "label": "Sub Lyrics Group",
                "description": "",
                "type": "pod",
                "storage": "table",
                "label_singular": "Sub Lyrics",
                "public": "1",
                "show_ui": "1",
                "pod_index": "name",
                "_migrated_28": "1",
                "required": "0",
                "unique": "0",
                "groups": [
                    {
                        "name": "details",
                        "id": 506,
                        "label": "Details",
                        "description": "",
                        "weight": 0,
                        "fields": [
                            {
                                "name": "name",
                                "id": 547,
                                "label": "Name",
                                "description": "",
                                "weight": 0,
                                "type": "text",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "text_allowed_html_tags": "strong em a ul ol li b i",
                                "text_max_length": "255",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "farsi_sub_lyrics_clone",
                                "id": 512,
                                "label": "Farsi Sub Lyrics",
                                "description": "",
                                "weight": 1,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "pandarepeaterfield_table": "farsi_sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            },
                            {
                                "name": "english_sub_lyrics_clone",
                                "id": 513,
                                "label": "English Sub Lyrics",
                                "description": "",
                                "weight": 2,
                                "type": "pandarepeaterfield",
                                "sister_id": "-- Select One --",
                                "required": "0",
                                "unique": "0",
                                "pandarepeaterfield_table": "english_sub_lyrics",
                                "pandarepeaterfield_field_width": "100",
                                "pandarepeaterfield_entry_limit": "0",
                                "pandarepeaterfield_enable_load_more": "0",
                                "pandarepeaterfield_initial_amount": "10",
                                "pandarepeaterfield_enable_trash": "0",
                                "pandarepeaterfield_order_by": "pandarf_order",
                                "pandarepeaterfield_order": "ASC",
                                "pandarepeaterfield_display_order_info": "0",
                                "pandarepeaterfield_apply_admin_columns": "0",
                                "pandarepeaterfield_allow_reassign": "0",
                                "pandarepeaterfield_public_access": "0",
                                "roles_allowed": "administrator"
                            }
                        ]
                    }
                ]
            }
        ]
    }
    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    See this please ;(
    https://gofile.io/d/TQnk6X

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    Plugin Author Coding Panda

    (@codingpanda)

    @sinahosseinigst

    It still works in my testing: https://gofile.io/d/UHLGY8

    Can you try to add a new Padra content, make sure you save the parent item first at each step as it needs the ID to link up the parent and the child, so create a Padra content and save, then create an Album in it and save, open the newly added album then add a Lyric and save, open the newly added Lyric … and so on

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    @codingpanda! Hell Yeah! You saved my life, the thing is this:
    first, save Name then save your stuff!

    SOLVED 😉

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    Because I had to save Name first to continue working on my Pods!

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    But just a question, how can I add an embedded link to the project (like on Spotify which gives you an iframe)? By which field using Pods? Which WordPress tag? Sorry, I’m too amateur :)))

    Plugin Author Coding Panda

    (@codingpanda)

    @sinahosseinigst

    It is great to hear that the problem is solved. There used to be a reminder on the screen to ask users to save the parent item first, but it has disappeared since an update of WordPress. I will bring it back.

    You may want to display the titles of Farsi and English lyrics. Please watch this video from 12:05 https://www.youtube.com/watch?v=H7YJLMPgG2U&t=2s It is based on Pods 2.7 but I am sure you can figure it out.

    To embed an iFrame, please use WYSIWYG.

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    Thanks 😀

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    @codingpanda
    Hi again,
    can u please help me show stuff on the front end?
    Padra content is the parent of all stuff, and each group inside Padra content shows every stuff related to every section of the website! For example, if I wanna add an announcement, I’d create a padra content (for the whole website, just once) and then inside it, I’d add an announcement for the first section, but since there are many many loops, my mind was blown so sorry, please help ;(

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    @codingpanda I mean just send me an example of a piece of PHP code to be injected into the template! Thaaaanks 😀

    Plugin Author Coding Panda

    (@codingpanda)

    Hi @sinahosseinigst

    Do you mean you want to render out an announcement on the front end?

    Plugin Author Coding Panda

    (@codingpanda)

    Thread Starter sinahosseinigst

    (@sinahosseinigst)

    Yep, can you please write the piece of code man, I’m super confused by the docs! 🙂

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘A weird glitch using Panda Pods Repeater Field causing all my content lost!’ is closed to new replies.