Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Robyn
Is this is the same question being asked in this other post?
https://connections-pro.com/support/topic/adjust-text-length-of-email-line/
Steven Zahm
Keymaster@ ates
I recommend using the Loco Translate plugin.
Search for the strings in both the Connections plugin and the cMap plugin.
After you add the translations, send me a copy of the PO files that Loco Translate will create and I’ll make sure those are used to update the translation in Connections so they are not lost in updates.
Hope this helps, let me know.
Steven Zahm
Keymaster@ Kathy
RE: I just hadn’t heard of Endurance.
On the adminbar, mouseover the Cache item and then click on the Cache Settings link. Scroll to the bottom of the page, The name of the option is Endurance Cache
Also, if you look under the Must-Use plugins on the Plugins admin page, you’ll find the Endurance Page Cache plugin.
Just mentioning this because I think you might find it helpful to know.
RE: image
I took a look, and disabling the Bio Tray Image fixed it. My instructions missed a step. In the Preview, you needed to click on any entry name so the preview would refresh to display the profile view. From there you would set the Image Type to None.
The reason this needs done twice is that both the list view and the profile view can be configured independently giving you a lot of flexibility in the configuration of cMap.
Hope this helps!
Steven Zahm
Keymaster@ Gary
RE: So no maps are available anywhere? If so that pretty well destroys the idea of a business directory.
The maps are included on everyone of the premium templates. Sorry if my answer to this question was not clear before.
RE: Because the photos we added did not show up in the listing we instead created a Layer Slider and then added that, but it didn’t show up either. Just a huge blank white space where the slider should be.
It is really still unclear to me where you are adding the images.
Connections has two “core” image fields. One for a logo and one for a photo. Which will be displayed will depend on the template an how it is configured. For example the Default Card template, it is configured with a single image which by default displays the photo image. It can be configured to show the logo instead.
Both the Bio and Notes fields support displaying as many images as you want. Be default the Default Entry Card template only display the Bio field.
So, add your images to the Bio field.
Both the Bio and Notes fields also support shortcodes. So, you can you an image gallery shortcode to display images too. The only caveat, not all plugins which offer shortcodes to display image galleries will work. Not a bug or limitation in Connections. In those cases the issue is generally those plugins expect to be run within the post/page body content and not within other plugins.
Hope this helps!
Steven Zahm
Keymaster@ Margo
Could be the space in the words is not being liked. Try this:
// Register the custom fields CSV Import mapping options and processing callback. add_filter( 'cncsv_map_import_fields', 'cncsv_header_name' ); add_action( 'cncsv_import_fields', 'cncsv_process_import', 10, 3 ); function cncsv_header_name( $fields ) { // The field_id should match exactly the field id used when registering the custom field. $fields['branch_logo'] = 'Branch Logo'; $fields['marker_location'] = 'Marker Location'; return $fields; } function cncsv_process_import( $id, $row, $entry ) { // The field_id should match exactly the field id used when registering the custom field. $logo = $entry->arrayPull( $row, 'branch_logo', '' ); $logo = cnFormatting::maybeJSONdecode( stripslashes( $logo ) ); $marker = $entry->arrayPull( $row, 'marker_location', '' ); $marker = cnFormatting::maybeJSONdecode( stripslashes( $marker ) ); cnEntry_Action::meta( 'update', $id, array( array( 'key' => 'Branch Logo', // The field_id should match exactly the field id used when registering the custom field. 'value' => $logo ), array( 'key' => 'Marker Location', // The field_id should match exactly the field id used when registering the custom field. 'value' => $marker ), ) ); }Steven Zahm
Keymaster@ Margaret
RE: “Download failed. Failed to write request to temporary file.”
This same error could definitely be the cause of the empty CSV file and actually would not be Connections related.
After a very quick web search I found this:
I suggest trying out the solutions offered in that tutorial.
Hope this helps, let me know.
Steven Zahm
Keymaster@ Robyn
Great to hear!
Steven Zahm
Keymaster@ Margo
You missing a trailing semicolon on the previous line of code.
// Register the custom fields CSV Import mapping options and processing callback. add_filter( 'cncsv_map_import_fields', 'cncsv_header_name' ); add_action( 'cncsv_import_fields', 'cncsv_process_import', 10, 3 ); function cncsv_header_name( $fields ) { // The field_id should match exactly the field id used when registering the custom field. $fields['Branch Logo'] = 'Branch Logo'; $fields['Marker Location'] = 'Marker Location'; return $fields; } function cncsv_process_import( $id, $row, $entry ) { // The field_id should match exactly the field id used when registering the custom field. $logo = $entry->arrayPull( $row, 'Branch Logo', '' ); $logo = cnFormatting::maybeJSONdecode( stripslashes( $logo ) ); $marker = $entry->arrayPull( $row, 'Marker Location', '' ); $marker = cnFormatting::maybeJSONdecode( stripslashes( $marker ) ); cnEntry_Action::meta( 'update', $id, array( array( 'key' => 'Branch Logo', // The field_id should match exactly the field id used when registering the custom field. 'value' => $logo ), array( 'key' => 'Marker Location', // The field_id should match exactly the field id used when registering the custom field. 'value' => $marker ), ) ); }Steven Zahm
Keymaster@ Margo
Just like you had to register the fields for export, you have to register them for import.
Here’s the link to the docs:
https://connections-pro.com/quicktip-custom-field-adding-a-text-field/#Import_the_Field
Hope this helps!
Steven Zahm
Keymaster@ Ramona
RE: I managed to get the “read more” and ‘sprite’ off my grant listing page but I noticed that the title that displays is still showing as a link. Can I change that setting? … the entry name.
Sorry, no. The template PHP and JavaScript files would have to be edited to remove this. The CSS I gave you only hides the elements you asked about.
RE: on the staff page the ‘sprite’ is now transparent. I don’t know how that happened.
It looks like you are trying the change the color by using the color shortcode option.
The issue is that you set the color to an invalid value. It appears you have it set to
02567fwhen it should be set to#02567f. Notice the missing#.Hope this helps!
-
AuthorPosts
