BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 501 through 510 (of 15,332 total)
  • Author
    Posts
  • in reply to: Raw entry data from database #483684
    Steven Zahm
    Keymaster

    @ Craig

    Since you are using the cMap template, open this file:

    ../wp-content/plugins/connections-cmap/card.php

    The difference from the code in my last reply is that I am using the “block” equivalents which render the HTML. Son in the template you’ll find this $entry->getAddressesBlock();

    Since you want the raw data, you would use $addresses = $entry->getAddresses(); instead.

    Hope that makes sense.

    in reply to: Raw entry data from database #483655
    Steven Zahm
    Keymaster

    @ Craig

    Oh, well, in this case you do not want to use the shortcode at all. Something like this:

    $results = Connections_Directory()->retrieve->entries( array( 'organization' => 'Abby Kelley Foster Charter Public (District): Abby Kelley Foster Charter Public School' ) );
    
    foreach ( $results as $data ) {
    
        /** @var cnEntry $entry */
        $entry = new cnEntry( $data );
    
        /** @var array $addresses */
        $addresses = $entry->getAddresses();
    
        /** @var array $phone_numbers */
        $phone_numbers = $entry->getPhoneNumbers();
    }
    

    Hope this helps!

    in reply to: Need guidance for creating a Jobs Board #483646
    Steven Zahm
    Keymaster

    @ Eric

    I give fixed rate quotes based on scope of work. If you can supply a detailed explanation of necessary features as they directly related to Connections I should be able to give you a quote. Please feel free to contact me using the Contact link at the very bottom of this page with the details.

    in reply to: Edit Adresses using forms faulty #483645
    Steven Zahm
    Keymaster

    @ Reinhard

    Create a temp account using this plugin:

    https://wordpress.org/plugins/temporary-login-without-password/

    Reply back, as a private reply, with the temp login link.

    in reply to: Raw entry data from database #483642
    Steven Zahm
    Keymaster

    Still not exactly sure what you are looking for…

    Here’s a direct link to a specific school:

    https://schoolorg.directory/name/abby-kelley-foster-charter-public-district-abby-kelley-foster-charter-public-school/

    Here’s a link which filters by organization name:

    https://schoolorg.directory/organization/Abby Kelley Foster Charter Public (District): Abby Kelley Foster Charter Public School

    Since the schools are unique, the organization filter will return a single result.

    And by shortcode:

    [connections organization="Abby Kelley Foster Charter Public (District): Abby Kelley Foster Charter Public School"]
    

    Do any of these help?

    in reply to: Raw entry data from database #483639
    Steven Zahm
    Keymaster

    @ Craig

    Not sure I understand the question… an organization could be one or many as they are not unique. That really depends on what is in your directory. For example, you could have 11 McDonalds in your directory as organizations with 101 Individual who have McDonalds in their organization field.

    To get a specific entry, you want to get it by its id. To do this, you can use the id shortcode option.

    Not sure this helps, but I hope it does.

    in reply to: Edit Adresses using forms faulty #483637
    Steven Zahm
    Keymaster

    @ Reinhard

    I suspect the cause is something other than today’s update to Connections since the changes were limited nearly exclusively to the new WP Editor block for Connections. Also, the screenshot shows the Form addon which would have been unaffected to any changes in the core Connections plugin.

    You’ll need to share a link to the page with the issue with me so I can take a closer look to determine exactly what the issue is. But, as a guess, I am thinking another plugin or he theme is breaking the styling of that element.

    If you can not share a link with me, I suggest trying the conflict tests:

    in reply to: Override Custom Entry Order #483634
    Steven Zahm
    Keymaster

    @ David

    Oh, ok, now I am understanding better. You were using the order_by shortcode option in the Text Widget set to date_added. Is that correct?

    in reply to: Override Custom Entry Order #483632
    Steven Zahm
    Keymaster

    @ David

    Which Connections Widget were you using before you switched to using the Text Widget / Shortcode?

    I think I have a relatively easy change I can make to Custom Entry Order, but I need to know the context in which you were using the original widget so make sure I am looking into this correctly.

    in reply to: Override Custom Entry Order #483630
    Steven Zahm
    Keymaster

    @ David

    So, I’m looking into this… which widget are you using?

Viewing 10 posts - 501 through 510 (of 15,332 total)