• Resolved Mark

    (@markyork)


    Is there a way to add an index of listings? My setup is all uncategorized listings of businesses and I would like to allow the user to see a list of the entries at the top (Business name) and then be able to click on the name to scroll down to that listing on the page.

    Is that possible at all?

    https://wordpress.org/plugins/connections/

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

    (@shazahm1hotmailcom)

    @ Mark

    Sorry, no, not at the top of the list… what you can do is enable the “View All” link. Here’s how:

    Go to the Connections : Settings admin page.

    Go to the Display table.

    Scroll down to the Result List Actions section.

    Enable the View All link option.

    Save the changes.

    Now, at the top of the list you will find a view all link that when click will show an index of all entri in the directory.

    Hope that helps!

    Thread Starter Mark

    (@markyork)

    Unfortunately, this isn’t ideal for my specific needs (and that’s probably the problem: the client has a very specific idea of how they want this page to look and work).

    I noticed that when I clicked on the View All link and then viewed a listing, the Go Back to Directory link goes back to the View All listing, not the Directory itself (the listing of all of the businesses that is displayed on page load).

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @ Mark

    re: Unfortunately, this isn’t ideal for my specific needs (and that’s probably the problem: the client has a very specific idea of how they want this page to look and work).

    There are plenty of hooks in Connections, you could create a custom extension for your client which adds the index to the top of the list.

    re: I noticed that when I clicked on the View All link and then viewed a listing, the Go Back to Directory link goes back to the View All listing, not the Directory itself (the listing of all of the businesses that is displayed on page load).

    The link is effectively (simply) the browser back button. This is the way it is to allow for some rather complex setups. My guess is that the previous page you were on was the view all page when you click the back link.

    Hope that helps!

    Thread Starter Mark

    (@markyork)

    There are plenty of hooks in Connections, you could create a custom extension for your client which adds the index to the top of the list.

    I don’t know how to do that at all. I don’t expect you to give me a training course on adding a custom extension, but could you point me to where I can find out how to do that?

    Thanks.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @ Mark

    Well… I do not have any written resources for this specifically. All the code in Connections includes a lot of inline documentation.

    Are you familiar on how to write plugins for WordPress using actions and filters? If you are, creating extensions for Connections is exactly the same except you would use the actions and filters Connections adds to WordPress. To output something before the results list in Connections you would use the cn_list_before_body action found here.

    Hope that helps get you on your way.

    Thread Starter Mark

    (@markyork)

    Unfortunately, I don’t have a clue about writing WP plugins.

    I’ll have to figure something out.

    Thanks anyway.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Index of Listings?’ is closed to new replies.