Coding Panda
Forum Replies Created
-
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeater fields empty after saveThe message from the inspector doesn’t seem to be something to do with the repeater field. It looks like Pods and sitepress-multilingual-cms didn’t include the .map files for their compressed js and CSS files. plugin.min.js is not a part of the repeater plugin.
Once saved, it empties the form, which is correct. Meanwhile, it should insert the new entry above the Added New section, but it is not happening. There should be a JS error somewhere interrupting it.
Would you go to Pods Admin and make sure that the repeater field is linked to the right table?
I got a meeting later and have to prepare for it. I will get back to you after.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] tags not added to wysiwyg content?? No problem. I’m glad I could help.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] tags not added to wysiwyg content@juusui I presume that glossary_block_text is from the repeater field. You could try replacing
$item['glossary_block_text']
with
apply_filters( 'the_content', $item['glossary_block_text'] )
Forum: Plugins
In reply to: [Panda Pods Repeater Field] tags not added to wysiwyg content@juusui Thanks for using the plugin. Have you tried applying the “the_content” filter? For example:
echo apply_filters( 'the_content', pods_field( 'repeater_pod_name', item_id, 'repeater_pod_field_name') );
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Frontend Form@jaceejoef Thanks for using the plugin. Yes, it is implemented in 1.4.7 and 1.4.8. Just wonder how you rendered it out at the frontend? Is it like this:
$project_pod = pods( 'project' , 20); echo $project_pod->form( array( ), 'Save ' );
If it is open for public access, you need to go to the Additional Field Options for the repeater field to set Allow Public Access to Yes, or choose some user roles to allow access.
Forum: Reviews
In reply to: [Panda Pods Repeater Field] Excellent pluginMerci, thank you. ??
- This reply was modified 4 years, 3 months ago by Coding Panda.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Removing script from frontendHi @simondeadly
You can try the following code:
class Alter_WP_Scripts extends WP_Scripts{ function do_item( $handle, $group = false ){ if( 'panda-pods-repeater-scripts' == $handle ){ $handle = false; } return parent::do_item( $handle, $group ); } } if( !is_admin() ){ add_action( 'wp_loaded', function() { $GLOBALS['wp_scripts'] = new Alter_WP_Scripts; }); }
I tested the code and it works for the purpose on my testing site, but please double-check that it doesn’t cause any problems.
Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] cant make pandarf_items_fn workConsidered as solved.
No further response from the user.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] cant make pandarf_items_fn workHi @popeating
Would you remove ‘name’=>’allegato_1’ from the code. Also, have you defined $atts? If you haven’t, would you replace it with array()? So it will be:
$cid=617;
print_r(pandarf_items_fn( array( ‘child_pod_name’ => ‘allegato’, ‘parent_pod_id’ => 125, ‘parent_pod_post_id’ => $cid, ‘parent_pod_field_id’ => 1005 ), array(), true ) );If you have defined $atts and it works, that is fine, just leave it.
Alternatively, you could use
pods_field( ‘allegato_1’ ); // If you are on a corso page.
pods_field( ‘corso’, 617, ‘allegato_1’ ); // To get the data wherever you are.Let me know if it works.
Best Regards
Hi @akashsingh9759
To help me understand it better, would you send me your Pods settings exported by pods components – Migrate: Packages, you could send me the code and some screenshots here: https://www.codingpanda.co.uk/temp-contact/sample-page/
By the way, which pod shortcode do you use?
Thanks for using the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeater item is not shown after save itBased on the provided code, no problems found in the plugin.
Forum: Plugins
In reply to: [Panda Pods Repeater Field] use pods repeater field to customize elementHi @juanmb
I don’t know much about Unlimited Elements. If it is not built to work with Pods and Panda Pods Repeater Field, I’m afraid that it won’t work.
If you are a programmer, you could create a shortcode to achieve the same effect. If you are not and don’t mind waiting, I am trying to create an Elementor widget in the next release.
Best Regards
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeater item is not shown after save itIf you don’t want other people to see your Pods settings, you could send me the code and some screenshots here: https://www.codingpanda.co.uk/temp-contact/sample-page/
Forum: Plugins
In reply to: [Panda Pods Repeater Field] Repeater item is not shown after save itHi @scerrutti
This is weird. If it is not showing after saving, usually it means that the JavaScript is interrupted. Could you bring out the Console (Press F12) and see if there are any JavaScript errors after saving an item?
If there is no error, and it is OK with you, you could export the relevant Pods (Enable Pods component – Migrate: Packages) and paste it here for me to investigate.
Thanks for using the plugin.