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: 8.1.5, extension, installation, Languages, widget
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
01/13/2015 at 4:28 pm #314815
Kim Dumas
ParticipantI have the cmap template. I installed the languages ext. I can’t find documentation on how to make the languages spoken show up in the initial list view of profiles and/or the extended biography content area. Please see screenshot. ![enter image description here][1]
Attachments:
You must be logged in to view attached files.01/13/2015 at 5:35 pm #314823Steven Zahm
Keymaster@ Kim
To insert in those spots would require you to edit the template’s PHP code. The point and click way … go to the Connections : Settings admin page and click the Display tab. You can enable the languages output Content Block in both the result list view and the single entry view. You can also show the language with a widget that can be placed in the theme’s sidebar, however, this widget will only output when viewing the single entry.
Hope that helps, let me know.
01/13/2015 at 6:37 pm #314824Kim Dumas
ParticipantUnfortunately, it doesn’t look good sitting under the image. I can edit CSS to change the text styles but I’d like to figure out how I can edit the php file to show this languages block under the Title (if possible).
I was looking at the card.php file thinking this is where I would need to start.
I tried looking at the code that was already there for the title to try to figure out what I would need to do. I tried:
<?php if ( $atts[‘show_languages’] ) $entry->getLanguagesBlock(); ?>
but that didn’t work.
Maybe I’m not naming the extension correctly or maybe this won’t work? Am I on the right track or not even close?
01/15/2015 at 10:51 am #314958Steven Zahm
Keymaster@ Kim
Yes, you are one the right track. The correct function call would be:
<?php $entry->getContentBlock( 'languages', $atts, $template ); ?>
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.