Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Robert
I just visited your site, maps seem to be working fine.
Steven Zahm
Keymaster@ Sonny
re: I’m playing around with formatting and it is very far from what we need it to look like. Definitely some custom work is needed. Are you available to hire or know someone who is that can help us?
Yes, I am. Please contact me using the contact link at the very bottom of the page. Please include as much specific about the desired custom work as possible.
Steven Zahm
Keymaster@ vanocreations
re: Is it possible to only show the field for the link of website and remove Title + Target + nofollow ?
The only way to hide these items is with CSS. Please add the following the the theme’s custom CSS area:
#cn-form .link-title-container, #cn-form .link-target-follow-container, #cn-form .link-assignment { display: none; }re: And automatically used blank target and nofollow ?
Those are the defaults.
Hope that helps!
Steven Zahm
KeymasterFor anyone look to do the same, here’s how:
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_action( 'cn_post_process_add-entry', 'cn_insert_image_into_media_library' ); add_action( 'cn_post_process_update-entry', 'cn_insert_image_into_media_library' ); function cn_insert_image_into_media_library( $entry ) { $image = $entry->getimageMeta(); if ( ! is_wp_error( $image ) ) { /* * Read the contents of the upload directory. We need the * path to copy the file and the URL for uploading the file. */ $uploads = wp_upload_dir(); $uploads_dir = $uploads['path']; $uploads_url = $uploads['url']; // Copy the file from the root directory to the uploads directory copy( $image['path'], trailingslashit( $uploads_dir ) . $image['name'] ); /* * Get the URL to the file and grab the file and load * it into WordPress (and the Media Library) */ $url = trailingslashit( $uploads_url ) . $image['name']; $result = media_sideload_image( $url, 0, $image['name'] ); // If there's an error, then we'll write it to the error log. if ( is_wp_error( $result ) ) { error_log( print_r( $result, true ) ); } } }Save and Activate the new snippet.
Now, anytime a photo is uploaded, whether it is on an entry being added or an entry being updated, it will be duplicated in the Media Library.
Steven Zahm
Keymaster@ connie
re: I have installed the Say What? plugin with Orignal string set to categories, Text domain set to connections, Replacement string set to Neighborhood. This did not change the template.
The original string must be
Categories:. Capitalization matters.re: I placed the following shortcode into my page: [connections list_type='family' show_alphaindex='true' repeat_alphaindex='true' template='card' str_show_categories='Neighborhood' str_categories='Neighborhood' ] This did not change the template, either.
These are invalid options and will not have an effect;
str_show_categories='Neighborhood' str_categories='Neighborhood'. I suggest removing them.re: I would like to adjust the CSS for this also. Where do I find the file to make adjustments to the font?
Here’s a couple links for custom CSS for Connections and custom css for templates.
- http://connections-pro.com/2014/05/04/quicktip-custom-css/
- http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
Hope that helps!
Steven Zahm
Keymaster@ bhardwickgcak12-org
re: it. Should I try uninstalling and reinstalling? You can. It is not likely to have an effect but would hurt.
re: Will that lose my data? The data is saved in the database, not the plugin files which means the data is safe when you delete the plugin.
Use the Send System Info plugin and reply back with the info asd a private reply.
Steven Zahm
Keymaster@ Dennis
re: It would be awesome if we could order the cards by a custom attribute.
You, see this forum post on how to do it.
http://connections-pro.com/support/topic/sort-by-custom-field/#post-335687
re: Or to have them reordered in the admin panel. Like dragging them in front of eachother or something.
Something like this wouldn’t be practical because many users have hundreds, thousands, some even have hundreds of thousands, of entries.
Steven Zahm
Keymaster@ Giacomo
You set the directory home page on the Connections : Settings admin page to the “Welcome” page (the home page). Settings this back to the directory page fixed it.
Also, I noticed something else… you can not put PHP code in the bio/notes fields. YOu can, however use shortcodes.
Hope that helps.
Steven Zahm
Keymaster@ Jonathan
Sounds like you need a template which supports pagination. Any of these will work. The default is to display 20 per page.
Hope that helps!
Steven Zahm
Keymaster@ Daniel
Ok, when in the Template Customizer, the list view and the detail/profile view are configured separately. When in the Template Customizer, click the name of any entry to switch the Template Customizer to the detail/profile view. Now make your changes and then click the save and publish button. Does that resolve it?
-
AuthorPosts
