Giter Club home page Giter Club logo

coding-panda / panda-pods-repeater-field Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 885 KB

If you are using Pods Framework for your post types and data storage, you may want a repeater field. Panda Pods Repeater Field offers you a solution. It takes the advantage of Pods table storage, so you don’t need to worry that the posts and postmeta data table may expand dramatically and slow down the page loading.

PHP 77.49% JavaScript 13.66% SCSS 8.86%

panda-pods-repeater-field's People

Contributors

andrewreal avatar coding-panda avatar marian-kadanka avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

panda-pods-repeater-field's Issues

More Fields is empty

Created Repeater Field Group following both video and picture instructions. But there's nothing in More Fields section on post page editor. Deactivated all plugins besides Pods and Panda, and am using Wordpress' default theme - same thing. Did I miss something?

System:
Wordpress 6.3.1
PHP 8.2.10
Pods: 3.0.4
Panda Pods: 1.5.11

Screenshot 2023-09-29 at 2 02 55 PM

Approach after 2.9

Hi,

Thank you for the nice plugin. I was testing Pods 2.9 alpha and the simple repeatable fields work nicely. Beta will release in next few days. I understand your plugin right now uses ACT to store values and link with cpt to show them on the front-end. But now we will have simple repeatable fields and not nested in the core. What will be the approach post 2.9 release?

Best regards,

TinyMCE Editor loses html tags on save

I've created a set of repeater fields for one of my pod.
The repeater field is a WYSIWYG field. I use TinyMCE editor for this wysiwyg field.
Everything works fine except the wysiwyg editor loses all the html/alignment done in the editor.
Other non-repeater wysiwyg editor field in mypod works just fine.

Steps to reproduce

  1. Create a ACT - paragraph
  2. create a field column_one, select type as WYSIWYG (Visual Editor)
  3. Save the ACT
  4. In the pod (say article), crete a new field paragraph
  5. select Panda pod repeater field as type of the field
  6. select the 'paragraph' ACT in the Pods Table field under additional field options tab.
  7. Add a new itemto article pods
  8. type some content inside the paragraph repeater field and make some html changes like bold, italics, line break etc.
  9. save the repeater field
  10. open the repeater field again.

Expected behaviour:

  1. The visual editor should retain the bold, italics and line breaks

Actual Behaviour:

  1. The visual editor loses all the html changes and has a blob of text.

note: tested on Mozila Firefox 88.0.1 on Ubuntu 18.01 LTS

Scalabilty

Hi again,

I am hoping you can help me with this solution considering your experience. I am looking to find out a scalable solution for lots of content. I need repeater fields.

  1. Using Pods with Table Storage Type Custom Fields & Your ACT Solution.

  2. Using Metabox with table based custom fields and normal cpt.

  3. ACF with repeater with local json file and may be this plugin. https://wordpress.org/plugins/acf-to-custom-database-tables/

  4. Converting the data to Post Data. But then I will lose the flexibility to filter specific data from the post.

What will be the most performant solution?

Not creating pandarf_created and pandarf_modified

Hey there!

I have the latest version of Panda and the latest version of PODS!

When I try to add a repeater field, it didn't show up. After some debugging I found that your plugin wasn't creating the fields "pandarf_created" and "pandarf_modified" properly!

Could you check this and possibly fix it?

After I created the fields manually directly into the database, everything got running no problem :)

REST API return the same array for every parent record

Hi,

Problem

I am using panda-pods-repeater-field with pods framework.

Following is my structure:
Section -< SectionList

image

Inside the setting, I have defined SectionList as one of the repeated field in Section.
image

However, when I retrieve the data using rest api. Every section has the same section list.
image

In admin page, it suppose to have the different section list.
Record 1: What we do
image

Record 2: What will you get
image

Expected output

When retrieve data using REST API, it should return the correct array as shown in the admin page.

Relationship field

Hi,

I can't get this working. How do you get a relationship field from a repeater? Let's take for example a relationship product category taxonomy.

Import / Export

Hi again,

I was wondering if there is any tool to convert ACF Repeater / Metabox Cloneable Group Data into Pods with ACT like yours plugin or vice versa? I am wondering what are my options if I decide to migrate out of Pods or use it for an existing ACF / metabox site.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.