Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ paul
re: So I followed all your directions and tutorials and got the sponsor added to the management form. But what do I have to do to get it added to the practitioner’s form which they access from:
If you followed the tutorial and used the API, it already available… navigate to the Connections : Settings admin page and click the Form tab. You custom field will display in the list of available fieldsets, enable it, drag and drop it in the desired order and save the changes. It will now display in the frontend form.
Hope that helps!
Steven Zahm
Keymaster@ Jennifer
Your licenses have been corrected and activated on your new site. Again, apologies for the trouble!
Steven Zahm
Keymaster@ Jennifer
I thought you had resolved this because I same some license activation yesterday in the logs. But that was on a different site. They seemed to activate fine.
The licenses activated on the site you just gave me a link to…
You need to use the individual licenses to activate, not the bundle license key. I corrected that.
There does seem to be an issue though. When you upgraded you license from the single site to the unlimited site option, the individual items within the bundle activation limits were not upgrade as they should have been. Basically they are “stuck” at one.
I myself have to reach out to support to ask why this happened and how to fix it. This could take a couple days to fully resolve. That said. Be rest assured this is high priority for me to resolve. Also, you can continue your work. The items you installed will function just fine without being activated.
As soon as I have this resolved, I’ll follow up so you can activate your licenses on you new site.
Apologies for the trouble!
Steven Zahm
KeymasterThis reply has been marked as private.Steven Zahm
KeymasterThis reply has been marked as private.Steven Zahm
Keymaster@ Michael
Untested, try this code use the Code Snippets plugin to add it.
// Register custom Content Blocks. add_filter( 'cn_content_blocks', 'registerContentBlocks' ); add_action( 'cn_entry_output_content-entry_field-home', 'renderHomeContentBlock', 10, 3 ); add_action( 'cn_entry_output_content-entry_field-work', 'renderWorkContentBlock', 10, 3 ); function registerContentBlocks( $blocks ) { $blocks['entry_field-home'] = 'Home Iformation'; $blocks['entry_field-work'] = 'Work Information'; return $blocks; } function renderHomeContentBlock( $entry, $shortcode_atts, $template ) { $entry->getAddressBlock( array( 'type' => 'home' ) ); $entry->getPhoneNumberBlock( array( 'type' => 'homephone' ) ); $entry->getEmailAddressBlock( array( 'type' => 'work') ); } function renderWorkContentBlock( $entry, $shortcode_atts, $template ) { $entry->getAddressBlock( array( 'type' => 'work' ) ); $entry->getPhoneNumberBlock( array( 'type' => 'workphone' ) ); $entry->getEmailAddressBlock( array( 'type' => 'work') ); }To turn these “on”, navigate to the Connections : Settings and click the Display tab. Under the Content Block section you will have two no blocks. You can enable them and adjust the order as desired by drag and drop.
After you do this, you should use the Template Customizer for cMap and disable the disable of addresses and phone numbers otherwise they’ll display twice.
Hope this helps.
Steven Zahm
Keymaster@ Bogdan
re: Can you tell me where the file with the connection post is ? I tried to find it inside wordpress but no luck .For exemple like in wordpress the function the_post() something .
The reason is that Connections uses a custom table for permanence and scalability reasons. The database schema for WordPress posts are optimized for, well, posts. Connections uses a schema with custom tables more optimized for directories.
You will find the Connections tables in you database. They all have “connections” in their name.
Look in the
class.entry-data.phpfile. There are hooks there which can be used to hook into to save entry meta. In fact, there is a Entry Meta API. Take a look at the free Income Level Education Level and Business Hours extensions on how to use it.Steven Zahm
Keymaster@ Jennifer
If you give me a temp admin login, I’ll take a closer look. The login details can be posted here as a private reply.
Steven Zahm
KeymasterThis reply has been marked as private.Steven Zahm
KeymasterThis reply has been marked as private. -
AuthorPosts
