Forum Replies Created
-
AuthorPosts
-
02/11/2014 at 8:22 pm in reply to: How to show "title" in staff directory using Slim Plus templete #279849
Steven 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!
Steven Zahm
KeymasterIt sounds like may not have setup the Directory Home Page on the Connections : Settings admin page under the General tab. Could you confirm you have that set to the page where the [connections] shortcode was entered?
Steven Zahm
Keymaster@ Martin
Ok, I have it fixed. Sincerest apologies for the trouble. A stupid little
)messed me up. The search foir cities should be more exact now. Hope that works for you.Steven Zahm
Keymaster@ Martin
Urgent … I slipped with a very small typo that unfortunately had a major fatal error! I need FTP access asap so I can fix my error and bring your site back online.
Steven Zahm
Keymaster@ Eric
I think my instructions were not clear enough, apologies!
You do not use the query string with Say What?. You would enter
Searchas theOriginal stringand leave theReplacement stringempty.Steven Zahm
Keymaster@ Rebecca
I just emailed it. Let me know if you do not receive it.
Steven Zahm
Keymaster@ Eric
Yes, I know what the issue is…
The issue is being caused by the theme including an HTML5 “shim” script. See this support forum post which has a working solution.
Hope that helps!
Steven Zahm
Keymaster@ Apurv
I’ve never run into that type of error before. So, I’m not quite sure what the solution would be. Is your server running nginx? Maybe this blog post is the solution?
Steven Zahm
Keymaster@ Peter
Great to hear it worked out.
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/connectionsSteven Zahm
Keymaster@ Mike
Absolutely! The latest dev version can always be downloaded from Github here.
I recommend referring to the Hours extension on how to add custom fields. Since this extension will be free, it too, can be downloaded from Github here.
Several other devs are using the are using the dev version on client sites quite successfully. Let me know how it goes!
-
AuthorPosts
