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 7 replies, 2 voices, and was last updated 8 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
08/12/2014 at 7:53 am #300571
Cédric SCHMITT
ParticipantHello,
I just bought your plugin, and find it really awesome. You did a great job, just one little thing, it’s hard do understand everything when non english and bad a it…, i think your documentation lack a few info, like how does the single page of the directory work or can be customized.
By “single page of directory”, i mean when you click on the name and you get to the page with more details, as biography and notes. Don’t know how to call it..That why i’d like to ask you a few things :
– the websites aren’t showing in this “single page”, how can i display them ?
– on the “global directory”, only 1 website link is shown, how can i display all of them ?
– in the “single page” there is the “no picture found” shown, even if i used the show_image=False, should i use css to hide this, or there is another way ?I am making this directory for a federation that regroup 70+ associations.
Each association doesn’t have a logo, i’d like le logo to be shown when there is one, but when no logo, i’d like it to look the same when using the “show_image=False” shortcode, is it possible ?And on last, i’d like that each association could add attached files (.pdf), is there a way to do that ? maybe using custom fields ?
Thanks for your help, and sorry if i’m not really understandable..
08/12/2014 at 10:22 am #300601Steven Zahm
Keymaster@ Cédric
You can do everything you want but even as flexible as Connections is with its large number of shortcode options for tweaking, there are limitation what can be done with those shortcode options.
To make the changes you want you need to edit eh
card-single.php
file, so you would need to know some basic PHP and be comfortable making these changes. The file can be found here:
../wp-content/plugins/connections-tile-plus/
For the image, you would change this:
<?php $entry->getImage( array( 'image' => $atts['image_single'] , 'height' => $atts['image_single_height'] , 'width' => $atts['image_single_width'] , 'fallback' => array( 'type' => $atts['image_single_fallback'] , 'string' => $atts['str_image'] ) ) ); ?>
to this:
<?php $entry->getImage( array( 'image' => $atts['image_single'] , 'height' => $atts['image_single_height'] , 'width' => $atts['image_single_width'] , 'fallback' => array( 'type' => 'none', 'string' => $atts['str_image'] ) ) ); ?>
To add the logo, you would add this where you want the logo to be displayed:
<?php $entry->getImage( array( 'image' => 'logo', 'height' => $atts['image_single_height'] , 'width' => $atts['image_single_width'] , 'fallback' => array( 'type' => 'none', 'string' => $atts['str_image'] ) ) ); ?>
If you edit the
card-single.php
file, I highly suggest you follow the method outlined in this QuickTip so your changes are update safe.For PDF upload, that is possible, but very complex. The best way to go would be to create a new extension to handle the PDF upload and store the filename and path to the entry meta.
I hope that helps!
08/12/2014 at 11:15 am #300604Cédric SCHMITT
ParticipantYeah that’s help,
For the minor changes i can handle it.
However, for the attached files field, guess will pass on this idea.Thank’s for your fast reply !
08/13/2014 at 3:27 am #300739Cédric SCHMITT
ParticipantHello,
sorry to bother again, but can’t find why the website links arn’t displayed in the single entry.
I checked the single-card.php file, thought it was something i should add, but there is already a line calling the links block
if ( $atts['show_links'] ) $entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => $atts['link_types'] ) );
I looked again and again, but it seems there is no options in the admin panel that disable links in single entry.
Is there something else ?Thx
08/13/2014 at 12:06 pm #300785Steven Zahm
Keymaster@ Cédric
You have two options. One is to add
show_link='true'
to the shortcode. If you use this method, the links will show on both the ‘card.phpand the 'card-single.php
. If you only wish them to be displayed on thecard-single.php
change this line:if ( $atts['show_links'] ) $entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => $atts['link_types'] ) );
to this:
$entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => $atts['link_types'] ) );
That’ll do the trick.
08/13/2014 at 12:07 pm #300786Steven Zahm
Keymaster@ Cédric
I forgot to add…
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/connections08/19/2014 at 5:00 am #301292Cédric SCHMITT
ParticipantThanks again for your help.
For sure, will make a review in a few. You deserve it, with this nice plugin a support !
Just as i told, a really little minus for your documentation.
For exemple, the show_link attribute isn’t written in the title plus customization.
You might be overflowed with support questions by noobs like me for easy things that can be made alone :).For eventual readers of this topic, steven made a little mistake, the shortcode should be written
show_links=TRUE
08/19/2014 at 9:02 am #301299Steven Zahm
Keymaster@ Cédric
Thank for letting me know I was missing the show_links option on the doc page! I just added it.
Also, many thanks for taking the time to leave a review!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.