Coding Panda
Forum Replies Created
-
The request doesn’t really need the repeater plugin.
I don’t have your email so I can’t send you an email.
How about upload your jpg to your website and send me the link?
Best Regards
Hi Willi
By variables, do you mean the fields in a table?
Best Regards
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeating Fields Belonging to Multiple Parents@mburtis Actually, Pods’ Relationship field provides multiple select. You can use it as a soluction if it is appropriate.
- This reply was modified 6 years, 5 months ago by Coding Panda.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeating Fields Belonging to Multiple ParentsHi @mburtis
Sorry for the delay, just noticed your topic.
I am afraid that an item in a repeating field can’t be associated with multiple parents.
If I understand it correctly, to associate a single course with multiple contracts, we don’t need a repeater field. You can achieve it by using the Pods’ Relationship field:
1. create Course as a custom post type
2. create Contract as a custom post type
3. In the Contract pod, add a relationship field named “Course” and relate it to Post Type CourseHowever, that is under the assumption that each Contract could only have one course. If you want a Contract to have multiple shared courses, the repeater field can play a role. From Step 3, you can change it to
3. Create an Advanced Content Types named it something like Associated Course. In its pod, add a relationship field named “Course” and relate it to Post Type – Course
4. In the Contract pod, add a Repeater Field and link it up with the Associated Course tableIn this way, you only need to create a Course once and share it with multiple Contracts, whilst a Contract can have multiple Courses.
Hope it helps.
Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Error in your SQL syntaxHi @thaneros
‘order’ is a reserved word in MySQL (https://doc.ispirer.com/sqlways/Output/SQLWays-1-205.html)
It looks like you have a field named ‘order’. If yes, would you change it to something else and see if this error still occurs?
Please let me know if the problem persists after the change.
If
orderis not the problem, would you export the relevant Pods settings with the “Migrate: Packages” component, and give me the JSON string so I can do further investigation?Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Alert translationOK, I have updated the plugin. You should be able to translate those strings and they won’t be overwritten by each plugin update.
Please let me know if there are any problems
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Alert translationThanks for using the plugin.
It is a string in JavaScript. In the next version, I will add it to PHP with the translation functions like esc_html__(), and then use wp_localize_script to pass it to the JavaScript file, like the example here: https://codex.wordpress.org/Function_Reference/wp_localize_script.
Will that help?@iqbal1486
I updated the plugin.Now you can go to the Advanced Field Options, go to the bottom and grant permission to a role to access the field.
Hi @iqbal1486
After a user logged in, they should be able to access the repeater field.
Anyway, I have been working on version 1.4.0. With it, you should be able to let the public access the repeater fields. I haven’t released it as I need to do more testing, but you can down it from here: https://github.com/coding-panda/panda-pods-repeater-field
After the update (don’t forget to clear your cache), you can go to the Advanced Option to open it to the public or add the following filter in your functions.php to set the conditions for accessibilities. For example, check user roles. In your case, ‘your_pod_slug’ should be ‘noo_resume’.
add_filter(‘pprf_load_panda_repeater_allow’, ‘pprf_allow_fn’, 11, 2);
/**
* The repeater field is only for logged in users with edit_posts capability
* If you want it to be available for the frontend users, you can use this filter
*
* @param boolean $allow_bln allow the form to be displayed
* @param array $get_arr variables from $_GET
* @return boolean still allow or not
*/
function pprf_allow_fn( $allow_bln, $get_arr ){$pod_obj = pods(‘your_pod_slug’);
if( $get_arr[‘podid’] == $pod_obj->pod_id ){
$allow_bln = true;
}
return $allow_bln;}
Let me know if any problems.
Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] How to display repeater fields on single pageHi Andru26
Sorry for the delay. I just noticed your post.
You can use pods_field(). e.g. in a single post template, pods_field( ‘field_name’ ) to fetch the data for the current page, otherwise use pods_field( ‘pods_name’, ‘post_id’, ‘field_name’ ) to fetch any data you want anywhere. To fetch data in the settings area, use pods_field( ‘pods_name’, false, ‘field_name’ ). To fetch data in the users area, use pods_field( ‘user’, ‘user_id’, ‘field_name’ ).
I made a video to explain the basic use: https://youtu.be/8oUeROi62o8 It shows you how to use pods_fields() to fetch the data from a repeater field on a singular template page.
Any questions, just let me know.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Frontend Pods form not workignBy the way, at the moment, allow logged in users can use it. Is that OK to you?
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Frontend Pods form not workignI have done some work for it to work with pods form() at the front-end. I haven’t updated the plugin in WordPress. I don’t want to update it before I’m sure it is working.
Would you download the 1.2.1 version from https://github.com/coding-panda/panda-pods-repeater-field and test it?
Any problems, just let me know.
Thanks
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Frontend Pods form not workignHi jhulswit
It doesn’t support pods form at the moment. I will update the plugin and get back to you asap.
Best Regards