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 8 replies, 2 voices, and was last updated 9 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
03/19/2017 at 5:00 am #416126
Rene Kampf
ParticipantHello,
is ist poosible to show a single Contact after click a Contact link?
Here my example: https://kjslg.de/hegeringe/
If you click on the first entry, then the contact open. but all things above the contact are shown in the single contact.
I only want to have the single contact without any other informations.
Hope thats possible.
Kindly Regards
René03/20/2017 at 9:19 am #416196Steven Zahm
Keymaster@ Rene
This is correct, if you put the shortcode on the page more than once, it will render the directory more than once (in some cases). The content you are seeing is the additional page content you added to the page, ie. the sub-headers. Connections at one time did “clear” the page when viewing a single entry, the problem was that visual page builder plugins became popular. In these cases the page can not be cleared because they use shortcodes “under the hood” to do the page layout. If you “clear” the page, you remove the page layout.
Now, that said, you can do what you wish, you need a slightly more complex setup. Here’s how…
- Create a new WordPress page, name it “Person”. Publish the page. Take note of the page ID that WordPress assigns the page. YOu will find this in the browser’s address bar right after you click the publish button.
- On this new “Person” page add the
[connections]shortcode only once with no options set. - Navigate to the Connections : Settings admin page and click the General tab.
- Change the Directory home page to the new “Person” home page and save the settings.
- Navigate to the existing directory page and add the `home_id shortcode option to each of the shortcodes set with the page ID of the “Person” page and save the page.
- Now all the entry link on the existing page will resolve to the new “Person” page where the shortcode exists only once displaying only a single entry when a a link is clicked from the existing directory page.
Hope this helps!
03/27/2017 at 7:26 am #417255Rene Kampf
ParticipantThanks, point 1-4 i understand
but nr.5 not :(03/27/2017 at 11:12 am #417326Steven Zahm
Keymaster@ Rene
RE: but nr.5 not :(
On this page, https://kjslg.de/hegeringe/, you have the
[connections]shortcode many times. Addhome_id=xto each of those shortcodes wherexis the page ID you should have noted in step 1. As an example, you shortcode should look something like this;[connections home_id=x]You add the
home_idoption to each of the existing shortcodes with the existing options of those shortcodes. Do not add new shortcodes with the home_id option.Hope that helps clear it up.
03/28/2017 at 2:04 am #417489Rene Kampf
ParticipantOk i understand, but it won´t work (i test it)
I think the reason is i had listed categorys.This ist the code:
<h2>Kontakte des:</h2>
<h4>Hegering Amelinghausen
Hegering Embsen-Betzendorf
Hegering Kirchgellersen
Hegering Reinstorf - Lüneburg
Hegering Elbmarsch - West
Hegering - Elbmarsch-Ost
Hegering - Dahlenburg
Hegering - Neuhaus
Hegering - Elbufer
Hegering - Bleckede</h4>
<h4>Hegering Amelinghausen (HR 262)</h4>
[connections category=9]
<h4>Hegering Embsen–Betzendorf (HR 263)</h4>
[connections category=12]
<h4>Hegering Kirchgellersen (HR 264)</h4>
[connections category=13]
<h4>Hegering Reinstorf - Lüneburg (HR 265)</h4>
[connections category=14]
<h4>Hegering Elbmarsch - West (HR 266)</h4>
[connections category=15]
<h4 style="text-align: left;">Hegering - Elbmarsch-Ost (HR 267)</h4>
[connections category=17]
<h4>Hegering - Dahlenburg (HR 269)</h4>
[connections category=16]
<h4>Hegering - Neuhaus (HR 270)</h4>
[connections category=18]
<h4>Hegering - Elbufer (HR 271)</h4>
[connections category=19]
<h4>Hegering - Bleckede</h4>
[connections category=20]how to deal with it?
03/28/2017 at 2:06 am #417490Rene Kampf
Participantsorry i add code: [connections home_id=545] for each category but that cant work i think.
03/28/2017 at 9:17 am #417560Steven Zahm
Keymaster@ Rene
it’ll work. many, many other use the exact setup. Here’s sample shortcode pulled from the code you pasted above:
[connections home_id=x category=9]xin the above shortcode, represents the page ID, of the new “Person” page that you created in step 1 of my original instructions.After you make the change, if you are using any page caching, make sure to clear it so the fresh page is being displayed rather than the old version without the change.
03/29/2017 at 9:58 am #417749Rene Kampf
ParticipantGREAT Thanks. i forgott to enter the category nr.
now it works. the only thing:
on the single contact page there is a link back to directory (in german: zurück zum Verzeichnis)
this links only to the single contact page. where i can change this link url?Thanks for the great support!
03/29/2017 at 10:08 am #417755Steven Zahm
Keymaster@ Rene
re: on the single contact page there is a link back to directory (in german: zurück zum Verzeichnis)
this links only to the single contact page. where i can change this link url?On you new “Person” page, add the
home_idshortcode option too, but use the original pages ID instead. Hope that makes sense! -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
