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.
Tagged: 0.7.9.3, getTitleBlock, order_by, slim plus
- This topic has 6 replies, 2 voices, and was last updated 12 years, 6 months ago by
Vala Palmadottir.
-
AuthorPosts
-
02/11/2014 at 8:56 am #279789
Vala Palmadottir
GuestHello,
I am working with Connections Slim Plus templete here ( http://www.isaksskoli.is/?page_id=942 ) and it works prefectly!The only thing I wonder about is how to be able to show the employees “title” in the list? So when browsing through the site’s list of staff, in this case teachers, people would be able to see which class is assigned to every teacher without having to click on every single one?
I’ve seen it here ( http://lisaschwarz.com/brainspotting-directory/ ) that it’s possible to show location , so title should be easy ? but I have yet to find out how..
Anyone ?
All help will be GREATLY appreciated :)Vala
02/11/2014 at 8:22 pm #279849Steven Zahm
Keymaster@ Vala
That site’s webmaster tweaked the template to output the location. Adding the title would require a bit of coding. If you’re comfortable doing some minor PHP changes to the template, here’s what you need to do…
Open the
card.phpfile found here:
../wp-content/plugins/connections-slim-plus/Change this line:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite' . $open . '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , '</h3>';To this:
echo '<h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite' . $open . '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , ' ' , $entry->getTitleBlock() , '</h3>';Hope that helps!
02/13/2014 at 6:50 am #279967Vala Palmadottir
GuestThank you Steven for a really fast response and a great help!
I got it working for displaying the title, and a huge weight lifted of my shoulders ! :)
Another thing that I am wondering about is the order on the list. Is it possible to order the list by some other attribute than the alphabet ? .. on our past sites, we used to order the teachers by classes (9yr old classes on top, then 8yr old, 7yr ..and so on)
Could you please help me with this?
Should I possibly start another thread about that topic, so if you have a solution it will go on the right place ?Best regards,
and thank you for an amzing plugin and templete! :)Vala
02/13/2014 at 7:16 am #279968Vala Palmadottir
GuestThank you Steven for a really fast response and a great help!
I got it working for displaying the title, and a huge weight lifted of my shoulders ! :)
Another thing that I am wondering about is the order on the list. Is it possible to order the list by some other attribute than the alphabet ? .. on our past sites, we used to order the teachers by classes (9yr old classes on top, then 8yr old, 7yr ..and so on)
Could you please help me with this?
Should I possibly start another thread about that topic, so if you have a solution it will go on the right place ?Best regards,
and thank you for an amzing plugin and templete! :)Vala
02/13/2014 at 7:23 am #279969Vala Palmadottir
GuestHey there again,
I figured the order out by using the order_by in the shortcode.Thanks again for the great help! :)
Vala
02/13/2014 at 9:52 am #279976Steven Zahm
Keymaster@ Vala
Good to hear you found the order_by option.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections02/13/2014 at 10:34 am #279987Vala Palmadottir
GuestHello again Steven,
of course, that’s really the least I can do, both for the quality of the plugin and your great help!
Many thanks again, my 5 star rating is already on your review site :)Vala
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
