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 11 replies, 3 voices, and was last updated 9 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
10/25/2013 at 10:57 am #272314
Karelle Scharff
ParticipantSteven,
Sorry to be a pest but I have another question. I am using a second iteration of Connections at http://www.homeopathyschool.dreamhosters.com/the-faculty/
It’s working great, except that I’ve added a youtube video link to the bio, and I wanted it to appear in a popover lightbox. I’ve installed a plugin called blueimp lightbox that directs me to add \type=”text/html” data-youtube=”zi4CIXpx7Bg(my video’s code)” data-gallery\ to the link.
I tried that and when I go to update, it deletes that additional information and the link takes one to the youtube site.
Is there a way to make this work? Is there a different way to make the youtube video appear in a lightbox?
10/25/2013 at 11:31 am #272317Steven Zahm
Keymaster@ Karelle
The bio and notes fields strip tags for security. What you’ll need is a plugin that can create a lightbox effect using a shortcode. I’ve never tested doing something like this but, maybe this plugin will do the trick.
Give it a try and please let me know if it works out. I’ll add it as a FAQ, howto or something.
10/27/2013 at 8:55 am #272439Karelle
GuestHey Steven,
Thanks! That plugin worked great! Well mostly. Very easy to use, but there is one listing for which the shortcode shows in the unexpanded state (shouldn’t show at all), and the linked anchor text appears in the expanded state (correct behavior). I entered the information in exactly the same way, in the text editor, not the visual editor, three times. See http://www.homeopathyschool.dreamhosters.com/the-faculty/
I don’t see the shortcode in the view-source, matter of fact I see nothing different in the entry at all, but the error shows up on both my computers in several browsers.
10/27/2013 at 12:20 pm #272444Steven Zahm
Keymaster@ Karelle
The issue is the number of words in the bio. The shortcode seems to be right on the boundary for the excerpt cutoff. If you can add another short sentence and I’m certain it fix the issue and function like the rest.
I think your seeing this because of a bug … I think I’m stripping the shortcode string from the excerpted text too late. I’ve logged it as a possible bug so I’ll definitely dig into it deeper.
Let me know if the “fix” works.
10/27/2013 at 1:38 pm #272451Karelle
GuestThat worked! Thanks, Steven!
11/06/2013 at 8:41 pm #273130Karelle
GuestSteven,
So after all that, the client wants all the text to show as well as the video link (via shortcode), without the readmore feature, in the list (ie not in a separate page). Most of the listings on the faculty page (http://www.homeopathyschool.dreamhosters.com/the-faculty/) are pretty short, not really much in the read mores anyway.
How can I get this to display open, without the fade open (this is excerpt-plus)?
11/07/2013 at 11:37 am #273151Steven Zahm
Keymaster@ Karelle
The only way to do that is to edit the template.
You need to edit the
card.php
file found here:
../wp-content/plugins/excerpt-plus/
Look for this line”
echo '<div class="cn-excerpt" id="cn-excerpt-' , $uuid , '">';
Change it to this:
echo '<div class="cn-hide" id="cn-excerpt-' , $uuid , '">';
Look for this line:
echo '<div class="cn-detail cn-hide" id="cn-detail-' , $uuid , '">';
Change it to this:
echo '<div class="cn-detail" id="cn-detail-' , $uuid , '">';
If I read my own code correctly, that should do it.
11/07/2013 at 1:27 pm #273190Karelle Scharff
ParticipantPERFECT! Here’s hoping they don’t change their minds again, though I did save the original file.
Looking to the future – how often do you upgrade these templates? If and when you do, would you be changing the card.php file? Would I be able to sub this edited file for a new one?
It is on my short list to learn to write php, and each time I have to do editing like this I learn a little more.
11/07/2013 at 7:07 pm #273195Karelle Scharff
ParticipantWell, not actually perfect…
How do I take off the accordion link on the name? I hid with sprite and background with css but need to remove the accordion function.
11/08/2013 at 11:31 am #273261Steven Zahm
KeymasterChange this line:
echo '<h3 class="cn-accordion-item" id="cn-accordion-item-' , $uuid , '" data-uuid="' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite" id="cn-toggle-' , $uuid , '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => $atts['link'] ) ) , '</h3>';
To this:
echo '<h3 id="cn-accordion-item-' , $uuid , '" data-uuid="' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite" id="cn-toggle-' , $uuid , '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => $atts['link'] ) ) , '</h3>';
That should do it.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.