• Resolved ottomotto

    (@ottomotto)


    I’ve set up a directory with a long list of names. So long that the page loads slowly. I’d like to limit the initial display to just the ‘As’ since there is an alphabet at the top for folks to choose other letters. Any idea how to do that?

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

    (@shazahm1hotmailcom)

    It sounds like you require one of the premium templates. They all support pagination. Here’s the link:

    The pagination is based on the number of directory entries displayed per page, not on the character. I thought it important to mention that since that was one of your main questions.

    I hope this helps; please let me know.

    Thread Starter ottomotto

    (@ottomotto)

    Yes, that’s works and is a bit better although I can’t seem to edit the display which requires two clicks to view any info besides the name

    Plugin Author Steven

    (@shazahm1hotmailcom)

    It sounds like you might have activated the Names template. Please navigate to the Connections Template and activate the premium template if you have purchased one, or activate the Default Card template instead. These will display entry details by default, whereas the Names template lists only names initially.

    Thread Starter ottomotto

    (@ottomotto)

    I appreciate your help here, Steven.

    Gridder is the template that paginates. If I switch to the Default Entry Card, Names or the Profile Entry Card templates (the only options I have under Connections templates), pagination is lost and the display reverts to all entries

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Ok, I think I now better understand…

    The Gridder template, by default and by design, shows limited details — clicking through to the entry detail/profile view is how it is supposed to look and function.

    Does that answer your question/concern?

    Thread Starter ottomotto

    (@ottomotto)

    Not so much answer it but explain my issue. Lots of wasted space and the second link to expand the detail is off the the right side, seemingly unconnected to the listing you clicked on. So, no way to alter the gridder template?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: Lots of wasted space and the second link to expand the detail is off the the right side

    The right side is dedicated to the excerpt of the entry bio field:

    RE: no way to alter the gridder template?

    There are a few options for configuring the entry panel, but those are primarily to turn off the entry details that are displayed. The exception is configuring the entry excerpt parameters:

    Beyond this, the only option is to edit the template’s PHP and CSS code. If that is something you are comfortable doing, I can provide additional guidance.

    Thread Starter ottomotto

    (@ottomotto)

    I’ve tried using shortcodes but they often have no effect like the second part of this one [connections enable_pagination=’TRUE’ page_limit=5 excerpt_length=0]. I have some experience with CSS and php but no idea where to access the plugins code.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: I’ve tried using shortcodes but they often have no effect like the second part of this one [connections enable_pagination=’TRUE’ page_limit=5 excerpt_length=0]

    Which part? Can you please share a link to the directory page?

    RE: I have some experience with CSS and php but no idea where to access the plugins code.

    The Connections plugins and its add-ons are in the same folder as all other plugins. Here’s the folder path:

    ../wp-content/plugins/

    The specific folder for the Gridder template is:

    ../wp-content/plugins/connections-gridder/

    The files you will to edit are:

    • card.php
    • gridder.css

    As to the specific edits, I need more details on that you want to change.

    Thread Starter ottomotto

    (@ottomotto)

    Steven,

    Sorry, I wandered away for a bit. The problems I’m having are that the Directory blows out way too wide, forcing the sidebar offscreen. Then, the View Profile link seems unrelated to the item on the left. I want the full profile info to appear on that first screen (we won’t have photos). I did find the css and php files you mentioned and can edit those, if you’ll help me with it.

    https://sour-sully-xbn.zipwp.dev/directory/

    Thanks

    Plugin Author Steven

    (@shazahm1hotmailcom)

    The link does not seem to resolve to a directory page. Can you please confirm the link?

    Thread Starter ottomotto

    (@ottomotto)

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: Try this one: https://sour-sully-xbn.zipwp.dev/directory/

    Oh, sorry! I did not read the page and did not follow the instructions. Now I see the page.

    RE: The problems I’m having are that the Directory blows out way too wide, forcing the sidebar offscreen.

    This seems to be how the page is built with the flex container. It appears the theme sets the primary page content width very wide, pushing the sidebar right. I can remove the directory from the page altogether, and the sidebar is still pushed far right.

    RE: I want the full profile info to appear on that first screen (we won’t have photos).

    If you do not have photos with Gridder, you will have large blocks of color where the image is supposed to be, with the content hidden underneath until the entry is clicked — even if the template is edited to put all the entry details in the directory list instead of the entry detail/profile page.

    RE: search

    Gridder has search built in as a feature. I recommend enabling it instead of inserting the widget:

    RE: I did find the css and php files you mentioned and can edit those, if you’ll help me with it.

    Edit the card.php file, add this:

    $entry->getAddressBlock();
    $entry->getPhoneNumberBlock();
    $entry->getEmailAddressBlock();
    $entry->getImBlock();
    $entry->getSocialMediaBlock();
    $entry->getDateBlock();
    $entry->getLinkBlock();
    $entry->getFamilyMemberBlock();

    Add it to line 121. The line before should have <?php and the line after should have if ( $atts['excerpt_length'] ) {.

    Edit the [connections] shortcode on the directory page to be [connections show_profile_link=false]. That will remove the view profile link.

    After you make the edits, the content might not be visible due to complex design of the Gridder template. Edit the CSS file to adjust the font-size and line-height.

    After you have everything edited the way you like, then I recommend copy the altered PHP and CSS file to the template override folder so the changes will not be lost when WordPress applies updates to the template:

    I hope this helps!

    Thread Starter ottomotto

    (@ottomotto)

    Thank you, Steven. The php edits helped a bit. However changing to the gridder search function just messed things up. I left it so you could see.

    I do appreciate your help.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    It appears you’ve placed the shortcode on the page multiple times. You should only place the shortcode on the page once and then add the shortcode options to the single instance of the shortcode.

    I hope I’ve explained that clearly enough and did not cause additional confusion. Please do let me know.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Short list’ is closed to new replies.