Forum Replies Created
-
AuthorPosts
-
Steven Zahm
KeymasterI have a WP Google Maps Connector addon available to Pro Pack users. The WP Google Maps plugin does have a store locator feature, and with the new Connector, you can choose to display your Connections Entries on the map.
Would you be interested in beta testing this Connector? The only reason it has not been released is that I need a few changes to the WP Google Maps plugin. I’ve requested them but have not heard anything back as of yet:
Steven Zahm
KeymasterI just replied to the support ticket that was opened for this.
Steven Zahm
KeymasterPlease deactivate the Email Encoded Bundle plugin as it is conflicting with the ROT13 Email addon. It appears they are both processing the email address and the string of text is being added by the Email Encoded Bundle plugin, like its code for encryption/decryption.
I hope this helps!
ps. The support forums are closed, please use the support ticketing system as you’ve done previously. Here’s the link:
Steven Zahm
KeymasterThe support forum is no longer maintained as it is closed. Please use the support ticketing system as you have done previously. Thanks!
To answer your question, assuming this is in reference to a WP User making an edit to their directory Entry on the site frontend using the Form addon, the form should refresh and show the Edit Entry form again. If that is not happening then another plugin is likely causing a fatal javascript error preventing this from functioning correctly.
To see if that is the issue or not, open the page in Chrome and before you submit the Entry, hit the F12 key, and then click the Console tab. Now click the submit button. Any errors occurring in the browser will be displayed here.
I hope this helps, let me know what you learn.
Steven Zahm
KeymasterThe Advanced Search add-on is presently still in beta. I do supply it to users who have purchased the Pro Pack, on request. If you are interested, open a support ticket in your account and I can give you a discount to apply towards the purchase of the Pro Pack to account for the purchase that you’ve already made.
Steven Zahm
KeymasterIf you need further help with this, please open a support ticket and I will definitely help you sort this out :)
Steven Zahm
KeymasterRE: is it possible to add multiple radio button groups at the same time? so they show up in the same box in the admin manage page?
I think I answered this in the other support thred, here:
Steven Zahm
KeymasterRE: on the public side it just displays the KEY of the radio button (i.e. not_supported) as opposed the NAME “Not Supported” … What do I need to do to change the card.php and card-single.php files to show the NAME of the button instead?
What you are seeing is correct as the
keyis the value saved in the database. Dealing with radios, dropdowns, and checkboxes are more challenging when compared to the text fields.I deal with these by creating helper functions. It is probably easier to explain with an example. So let use the free Education Levels addon.
If you look at this line of code you’ll see I called a helper function to add the options instead of adding them directly to the fields array:
Here’s the link to that helper function:
As you see, it simply returns the array that you would have added to the fields array when registering the field.
To get the name of the option, in the template, get the key as you already did and created another helper function to get the name.
Here’s a link that that helper function use in the addon:
The add-on uses a Content Block to display the output in a template, so there is not a specific example I can give you. But, you only really need to register the field and use the two helper functions to get it to display in the template.
If you open a support ticket and attached your code, zipped, I can use your code and create a working example that you can build from.
RE: what about CVS Import / Export? do I just use the code as found on the Customize Text Field page but change the field_id info to match my radio buttons?
You could, but in the CSV file, you would get the key saved in the database and not the name. Depending on your use, that might be desired. If you want to import to and from by the name and not the key. That is trickier because you need to transform the key and name during import/export. Here’s I do it in the Education add-on:
- https://github.com/Connections-Business-Directory/Education-Levels/blob/master/connections_education_levels.php#L314-L333
- https://github.com/Connections-Business-Directory/Education-Levels/blob/master/connections_education_levels.php#L362-L381
You’ll notice that I use the same helper function that was used when registering the field.
I hope this helps!
08/11/2020 at 9:53 am in reply to: How to add multiple custom fields to the admin “manage” page? #527648Steven Zahm
KeymasterAdd all fields to the same meta box instead of separate meta boxes. Do this by adding all the fields to the
fieldskey in the array.Here’s a link to a complex example. The highlighted section show two radio groups registered to a single meta box:
I hope this helps!
08/11/2020 at 9:36 am in reply to: Is it possible to add an additional “Content Tray” to the cMap template? #527646Steven Zahm
KeymasterThere already is a second content tray. Please use the Notes field. When content is added to the Note field, it will display as a second content tray next to the bio content tray.
I hope this helps!
ps. Please use the helpdesk support tickets as the support forum is closed and not actively monitored.
-
AuthorPosts
