Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago by
Claude Dagenais.
-
AuthorPosts
-
04/26/2016 at 4:31 pm #374271
Claude Dagenais
ParticipantHi Steven,
I’ve customized the cMap PHP code (especially the card.php on my development server to display the information a little differently then the original cMap (different order and in two columns – labels where done in the shortcode). Now I’m wondering if I could have done these changes differently and if I should create my own version of cMap so that it won’t by crushed by an update.
If so, do you have any recommendations.
Tx
Here is an example of the output04/27/2016 at 1:32 pm #374353Steven Zahm
Keymaster@ Claude
If you edited the
cmap.phpfile, there’s not much that can be done to prevent an update to cMap from overwriting your changes. If you changes where limited to the CSS/JS andcard.phpandcard-single.phpthen, here’s some docs I have written up that explain where to put the files:- http://connections-pro.com/2014/06/04/quicktip-custom-template-override-files/
- http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
The short version… put the altered files in this folder:
../wp-content/uploads/connections-templates/cmap/Connections will load these before/instead of the core cMap files. The exception is the core ‘cmap.php` file.
Hope that helps!
04/27/2016 at 1:55 pm #374357Claude Dagenais
ParticipantThank you Steven it does solve almost everything… But since I have you… I did a small change in class.entry-output.php to change the size of the social media icons (line 1941) – is there a way to change that without the hard coding?
And finally, I just want to add that I really like you product!
04/27/2016 at 2:02 pm #374358Claude Dagenais
ParticipantAlso you you can I a sneak peak at http://staging.infosutton.com/?lang=en
04/27/2016 at 2:02 pm #374359Steven Zahm
Keymaster@ Claude
re: I did a small change in class.entry-output.php to change the size of the social media icons (line 1941) – is there a way to change that without the hard coding
Yes, in the
card.phpandcard-single.phpfile use this:if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock( array( 'size' => 24 ) );Hope that helps!
04/27/2016 at 2:07 pm #374360Claude Dagenais
ParticipantThank you! Works great.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
