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 9 replies, 2 voices, and was last updated 7 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
12/02/2014 at 6:14 am #311392
Gretar
GuestHello
I have a template named icelandic and after update on your plugin it is not working correct. I have this same template on another site where it is working fine. I can not see what might be the issue here, the only difference is on the site where it is not working I’m displaying different categories on different pages.
Both these sites have restricted access so I would have to give you the WP-admin access for you to look at this…
12/02/2014 at 9:08 am #311433Steven Zahm
Keymaster@ Gretar
This seems to be a custom template that I wrote for you a few years ago … unfortunately it will not work with any recent Connections version released in the last year and a half or so.
To get it working again, I think that all that needs to be done is remove one line of code.
Open the
template.php
file found here:
../wp-content/connections_templates/icelandic/
Remove this line:
echo '<div class="cn-image-none" style="width: ' . $connections->options->getImgEntryX() . 'px ; height: ' . $connections->options->getImgEntryY() . 'px ;">No Photo Available</div>';
Save and upload overwriting the original. Make sure you backup the template first incase an error is made.
I suggest purchasing one of the from here. It looks like the Slim template will work for you just fine. The benefit of using one of these templates is that they’re frequently updated which obviously a custom template will not be.
I hope that helps! Let me know.
12/03/2014 at 10:40 am #311608Gretar
GuestOk, thanks for this Steve. Everything is working now.
12/03/2014 at 10:49 am #311609Gretar
GuestOne more thing, the images with the employees are not working on the site but in the system they are displaying fine. Has the code for displaying image with the template been changed ?
echo '
getFirstName() , ' ' , $entry->getLastName() , '" src="' , CN_IMAGE_BASE_URL , $entry->getImageNameCard() , '" />' , "\n";
12/03/2014 at 11:16 am #311614Alex
GuestHello
Can you help me – I have one issue with custom template
- I added simple template into necessary folder http://prntscr.com/5ctan6 with very simple code :)
- But I don’t see my custom template here http://prntscr.com/5ctcr8
Thanks!
12/03/2014 at 11:25 am #311616Steven Zahm
Keymaster@ Gretar
Replace this:
echo 'getFirstName() , ' ' , $entry->getLastName() , '" src="' , CN_IMAGE_BASE_URL , $entry->getImageNameCard() , '" />' , "\n";
With this:
$entry->getImage( array( 'width' => 100 ) );
If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections12/03/2014 at 11:27 am #311617Alex
Guestwith very simple code :)
code example http://prntscr.com/5ctgv5
12/03/2014 at 11:32 am #311618Steven Zahm
Keymaster@ Alex
Maybe it’s best to start by tweaking one of the template that come with Connections to learn how. See the ~README.txt file in the
../wp-content/plugins/connections/templates/
folder.To answer you question … since I do not know what in the file, its impossible for me to answer but I’ll point you the right direction.
You need to register a template with Connections. See how its done here in the Default Card Template.
The registration is called here:
https://github.com/Connections-Business-Directory/Connections/blob/8.1.5/templates/card/card-default.php#L126The actual registration details from the above call is here:
https://github.com/Connections-Business-Directory/Connections/blob/8.1.5/templates/card/card-default.php#L29Hope that helps!
12/03/2014 at 12:52 pm #311645Alex
GuestThank you! Everything works perfectly!
12/03/2014 at 1:10 pm #311646Steven Zahm
Keymaster@ Alex
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.