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 1 reply, 2 voices, and was last updated 12 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
09/12/2013 at 8:42 am #269037
Ed Selby
ParticipantHow do I move the notes information to show in the main card data and not in a expanding div?
09/12/2013 at 11:18 am #269048Steven Zahm
Keymaster@ Ed
The only way to do this is to edit the core
card.phptemplate PHP file. This file can be found here:
../wp-content/plugins/cmap/If you have some basic understanding of PHP making this tweak should be pretty straight forward.
Look for this block of code:
if ( $atts['enable_note'] && $entry->getNotes() != '' ) { echo '<div class="cn-notes" id="note-block-' , $entry->getRuid() , '" style="display: none;">'; if ( $atts['enable_note_head'] ) echo '<h4>' , $atts['str_note_head'] , '</h4>'; $entry->getNotesBlock(); echo '<div class="cn-clear"></div>'; echo '</div>'; }Change it to this:
if ( $atts['enable_note'] && $entry->getNotes() != '' ) { echo '<div class="cn-notes" id="note-block-' , $entry->getRuid() , '">'; if ( $atts['enable_note_head'] ) echo '<h4>' , $atts['str_note_head'] , '</h4>'; $entry->getNotesBlock(); echo '<div class="cn-clear"></div>'; echo '</div>'; }And then move it to where you want it to be shown.
You should also remove this sections of code since it is now longer needed:
if ( ( $atts['enable_note'] && $entry->getNotes() != '' ) && ( $atts['enable_bio'] && $entry->getBio() != '' ) ) { echo ' | '; } if ( $atts['enable_note'] && $entry->getNotes() != '' ) { printf( '<a class="cn-note-anchor toggle-div" id="note-anchor-%1$s" href="#" data-uuid="%1$s" data-div-id="note-block-%1$s" data-str-show="%2$s" data-str-hide="%3$s">%2$s</a>', $entry->getRuid(), $atts['str_note_show'], $atts['str_note_hide'] ); }Hope that helps.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
