cannect
Forum Replies Created
-
Many thanks! I already received your mail and we will discuss it further there.
Aha! Thats indeed the logical way of doing it. Never thought about that.
Many thanks!
Yes, I use it for most of my subsites.
Hi Mika,
Thats right! ?? The plugin was an old one: https://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/ That should exactly do what I wanted. However it did not work as expected as you can read in this topic.
I have now installed User Role Editor Pro, and it has an option to allow subsite administrators to edit their users. The creator Vladimir also gave great support! See: https://www.role-editor.com/
All thanks for your support!The problem was that a plugin caused to disconnect users from the subsite when editing them and saving.
So it is fixed now.
Hi Gabe462,
As you can see, the code Scott already provided in this topic must be enough to accomplish this.
<?php add_filter( 'yourpod_field_value', 'my_combine_fields', 10, 5 ); function my_combine_fields ( $value, $field, $attributes, $row, $obj ) { if ( 'your_field' == $field ) { $value .= ' ' . $row[ 'your_other_field' ]; } return $value; } ?>
Hi Scott,
Thanks for the answer and sorry for my late reply. I was on another project some days.
Every pods_ui wp-admin page has a Pod Search function. Can I get the search working on both the fields?
Thanks!
Thank you, I do twice a fetch on different pods and I am ready.
Thanks!
Hi Scott,
Thank you, no I have not setup bidirectional relationship between Customer and Order. Is that unnecessary to for a deep traversal with find()?
Also, the address information is indeed on the customer Pod.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Show thumbnailAh, I have found it with
get_definded_vars()
.I can use the $obj variable.
So my Pod Template code changes to:
<div class="categorie-block-wrapper"> <div class="categorie-block"> <h2>{@naam}</h2> <?php echo pods_image( $obj->field('afbeelding'), 'thumbnail' ); // WORKS ?> </div> </div>
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Show thumbnailThanks for your reply. However, this does not work with my Pod Page / Pod Template setup. Its about your code above.
My Pod Page:
<?php $pods->find(); echo $pods->template('categorie_block'); while($pods->fetch()){ echo $pods->template('categorie_block'); } ?>
Pastebin Variant: https://pastebin.com/r8UQWSns
My Pod Template ‘categorie_block’:
<div class="categorie-block-wrapper"> <div class="categorie-block"> <h2>{@naam}</h2> <img border="0" src="<?php echo pods_image( $pods->field('afbeelding'), 'thumbnail' ); ?>" width="100" height="100"/> // does not work </div> </div>
PasteBin variant: https://pastebin.com/naxLd8GR
Of course I have tried different combinations:
echo pods_image( $pod->field(‘afbeelding’), ‘thumbnail’ );
echo pods_image( ‘afbeelding’, ‘thumbnail’ );
echo pods_image( ‘{afbeelding}’, ‘thumbnail’ );Btw: About this Pod Page and Pod Template combination is this bug report on Github: https://github.com/pods-framework/pods/issues/1244