• Resolved dtomas

    (@dtomas)


    I created a page and added 3 short codes to show specific organizations as follows.

    [connections organization=’Company1′ show_alphahead=’false’ show_alphaindex=’false’]

    [connections organization=’Company2′ show_alphahead=’false’ show_alphaindex=’false’]

    [connections organization=’Company3′ show_alphahead=’false’ show_alphaindex=’false’]

    The page shows the connections as expected but the issue I’m running into is when I click on either Company2 or Company3 name links, the page refreshes the page and removes any of the connections as if they don’t exist for all connections

    If I click on Company1, it expands the Company1’s connection info but Company2 & Company3 then disappears.

    If I create a page and just add the shortcode [connections], the connections behaves properly.

    What would cause this to behave this way?

    The site is not a public site; it is for our internal local network use only.

    TIA

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    If I understand what you are attempting to accomplish, please try adding the lock shortcode option. Here’s the link to the documentation where you can learn more:

    Alternatively, perhaps the [cn-entry] shortcode would be a better option. Here’s an example:

    [cn-entry id=n]

    The n in the above example would be the Entry ID. This can be found on the Connections Manage admin page.

    I hope this helps; please let me know.

    Thread Starter dtomas

    (@dtomas)

    Hey Steven,
    Thank you for reply. Adding the lock=’TRUE’ did not resolve the issue. using the cn-entry have its own weird behavior. When you enter the page, Company1 shows its connection info while Company2 & Company3 only shows the organization link name. When you click on Company1, it expands connections info as expected but it also expands Company2 & Company3 but without content and displays “Go back to directory”

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Since I can not see the site, can you please share screenshots of both the shortcodes in use and the results? Thanks!

    Thread Starter dtomas

    (@dtomas)

    Good morning Steven,
    I updated the plugin and the behavior changed quite a bit better. Now the page shows the proper connections for each company but if I click on a company, it still expands all of the connections for all companies. I tried to add the lock=’TRUE’ but it did not make any difference. I tried to attach screenshots but “File uploading is disabled”. I can email them to you if you could share your email address. thank you.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: I updated the plugin and the behavior changed quite a bit better. Now the page shows the proper connections for each company

    That is odd; the last update has had no functionality changes. Primarily it was removing old unused code to reduce resource usage. What version did you upgrade from? A much older version?

    RE: I tried to attach screenshots but “File uploading is disabled”.

    You must use the insert from URL option when adding the Image block in your reply.

    RE: if I click on a company, it still expands all of the connections for all companies.

    I’ve noticed you said this a few times. What do you mean by expanding? Are you using one of the premium templates?

    Thread Starter dtomas

    (@dtomas)

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I’m receiving an Oops! This page doesn’t exist… error when I visit those links. Are they private, do they need to be made public?

    Thread Starter dtomas

    (@dtomas)

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Ok, the screenshots helps a lot. Now I understand. there is not an issue, this is as designed. I’ll try to explain.

    There are two views for most templates (all but one currently). In this case there are two. A list view and the single entry detail/profile view. When you click thru to a single entry, the detail/profile view is “triggered” and displayed.

    I think I understand what you are trying to accomplish, here’s how:

    Create a new page and add the [connections] shortcode.

    Set this new page as the directory home page:

    Edit the existing page that has the [cn-entry] shortcodes and add force_home=true to each instance:

    With this configuration, when you click on the entry name, you will navigate to the directory home page and display only the clicked entry.

    I hope this helps; please let me know.

    Thread Starter dtomas

    (@dtomas)

    This worked. I actually have a connection home but was currently set to only show [connections category_in=#]. Adding force_home=true to my digital cutter page still functioned as you described above. Just one thing though, once it navigates to the clicked entry, I noticed that the Notes field was not displaying. In fact, I created a new home page with just [connections] as you described above and clicking on entries on this page also does not show the Notes of the connection. Is this limited to the premium version of the plugin?

    Thank you again.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: Notes of the connection. Is this limited to the premium version of the plugin?

    No, from the screenshots, it appears you are using the Default template. Correct? You can enable the notes using the Template Customizer:

    While in the template Customizer, click an entry name; it does not matter which. The preview will refresh, displaying the template’s single-entry detail/profile view.

    Enable the display of the Notes field in the Customizer, save, and publish the change. Exit the Customizer.

    I hope this helps; please let me know.

    Thread Starter dtomas

    (@dtomas)

    That’s awesome! Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘shortcode for organization’ is closed to new replies.