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 17 replies, 2 voices, and was last updated 8 years, 2 months ago by
MV Times.
-
AuthorPosts
-
09/21/2015 at 4:45 pm #347597
Steven Zahm
Keymaster@ MV Times
re: Can I programmatically go from a cmap list on one page to the directory entry?
If I understand correctly, yes… I actually gave the solution in my last reply. You can use the home_id shortcode option. Just make sure the target page has the
[connections]
shortcode on it.09/21/2015 at 4:49 pm #347598Steven Zahm
Keymaster@ MV Times
opps.. I was replying when the second post come thru. Reading that make it very clear what you want to do. Many others do the exact same thing. Using the home_id shortcode option is the trick. using it, you can tell Connections that the links to point to a different page. The only requirement is that the target page must have the
[connections]
shortcode on it. I recommend using the shortcode with no other options set.09/21/2015 at 5:04 pm #347602MV Times
ParticipantThanks — but I must get this straight. (please forgive my lack of clarity.)
Using the home_id shortcode option is the trick. using it, you can
tell Connections that the links to point to a different page. The only
requirement is that the target page must have the [connections]
shortcode on it. I recommend using the shortcode with no other options
set.A scenario might help:
I need to click on a shortcode listing (Let’s call it “Stay”) and go to an individual entry (Let’s call it “Hotel 1”). Currently category shortcodes for accommodations are on “http://www.visitorsite.com/stay/”.Question: Am I setting up the home_id shortcode on the “…/stay” page? If so, and I follow the logic, each of the pages “accommodations”, “food and drink”, etc would have a “home_id” on it.
If no, I’m sorry, I do not yet get the logic.
If yes!, then all I need to do is identify the id for each of the established pages and place a “home_id” shortcode on each. Then, the individual entry will be its “own page”…
Thanks again for all your help!!
Patrick
09/21/2015 at 6:30 pm #347611Steven Zahm
Keymaster@ MV Times
re: Question: Am I setting up the home_id shortcode on the “…/stay” page? If so, and I follow the logic, each of the pages “accommodations”, “food and drink”, etc would have a “home_id” on it.
Correct. Let me know how it goes!
09/22/2015 at 11:06 am #347763MV Times
ParticipantHi Steven,
Can I give you access to the page, so you can see what it is we’re trying to do? I placed the home_id shortcode, but I believe our application/needs must be seen to remedy/make things work.
Let me know, and I’ll send along the directory pass information via another channel.
Thanks!!
Patrick09/22/2015 at 12:03 pm #347772MV Times
ParticipantHi again Steven,
Might I be able to rewrite the URL so each directory listing link point to a single directory entry?
For example:
http://www.visitor.com/stay/name/particular-inn-restaurant/
go instead to:
http://www.visitor.com/directories/name/particular-inn-restaurant/We would just have to rewrite the first subdirectory “stay/name” (etc.) portion.
This would help us structure the pages more efficiently.
Thanks!!
Patrick09/22/2015 at 1:55 pm #347782Steven Zahm
Keymaster@ MV Times
re: Might I be able to rewrite the URL so each directory listing link point to a single directory entry?
Yes, home_id is till the solution to use…
On the /stay/ page use this shortcode where n is the page ID for the /directories/ page:
[connections home_id=n]
And on the /directories/ page simply use just the
[connections]
shortcode, nothing else, no options.Hope that helps!
09/22/2015 at 2:52 pm #347787MV Times
ParticipantThank you for all your help.
Please consider this closed.
Best,
Patrick -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.