BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 5,121 through 5,130 (of 15,332 total)
  • Author
    Posts
  • Steven Zahm
    Keymaster

    @ ssnoomann

    re: In these special sections I only want to display those database entries that are classified as Organizations – and not display anything set as an Individual using the Names template.

    If I understand correctly, you should be able to use the list_type shortcode option by adding the list_type="organization" to the ***existing shortcode.

    re: I guess if I could find a list of all the available shortcodes I could probably figure it out myself, but I’ve only been able to find bits and pieces of the shortcode options throughout various posts and documentation.

    The core shortcode options are found on this doc page. These will function regardless of template used.

    The cMap template does support additional shortcode options but it is highly recommended to use the Template Customizer instead. Here’s is the link to the doc page which goes over the cMap template’s shortcode options.

    re: order_by=”meta_key:order|NUMERIC_ASC,sort_column”

    I see you are using a meta query to order your entries. Another option which I suggest over this method is the Custom Entry Order extension. The end result of both methods are the same but the Custom Entry Order extension does it a little more efficiently because an optimized db query can be used rather than a meta query.

    Hope this answers your questions thoroughly!

    in reply to: Contact Us Link #388225
    Steven Zahm
    Keymaster

    @ ssnoomann

    re: As there is no Demo of this extension I am not sure what I should expect.

    When the plugin is activated and the contact block for the contact form enabled you will see a contact form on the entry’s detail page as shown in these screenshots.

    If you are not seeing this contact form there are two things to check:

    1. Ensure the Contact plugin is installed and activated on the WordPress Plugins admin page.
    2. Ensure that you have enabled the email entry content block on the Connections : Settings page under the display tab.

    re: Here is the code snippet that I was referring to

    You are referring to the code in this reply in the other thread, correct?

    Looking at the code you pasted in this thread, I can see it was altered. Use the code as is, do not change it. The alterations that were done make it nonfunctional.

    re: Looking at this code more closely it appears that it is referencing First Name. I do not use the name fields, only the Organization name.

    If you are adding the entries as “Organizations”, the code is just fine, please leave it as is. The getName() function is “smart” and will return the org name if the entry is an “Organization” regardless of the settings for the name format.

    Hope this answers your questions thoroughly!

    in reply to: Link images #388219
    Steven Zahm
    Keymaster

    @ Thomas

    Sorry, no, it is not. That feature is reserved to when a link is added, it can be assigned to logo or photo.

    in reply to: (Fulltext) search broken #388217
    Steven Zahm
    Keymaster

    @ Thomas

    Can you please provide a link to your directory page so I can take a look?

    in reply to: Conflicto entre wp-syntax y theme (Ample) o … #388124
    Steven Zahm
    Keymaster

    @ Vicen

    Sorry to hear you are having trouble! I look at line 259 but there is nothing on it. Which file? Maybe I am not looking in the correct file. What is the eaxt error message from your PHP error log?

    Steven Zahm
    Keymaster

    @ Carolin

    One separator is just as easily done as they other, same with the bold. I just emailed you a quote. I can lean on existing code so I can do this relatively quickly and therefore inexpensively.

    in reply to: Installation Issues #388119
    Steven Zahm
    Keymaster

    @ Thema

    As mentioned in my previous reply, I guessed the core Connections Business Directory plugin was not installed. It was not. I took a moment to install it and then activate the cMap template.

    Hope that helps!

    in reply to: Character Index Font Size and Alignment #388116
    Steven Zahm
    Keymaster

    @ Allan

    Yes, the link to your site is what I needed… something I would not be able to give you if I do not know it ;)

    Add the following to the theme’s custom CSS area if it has one, refer to the theme’s docs to find out. If the theme does not have a custom CSS area, then you can use the JP Custom CSS plugin.

    .cn-alphaindex {
        border-bottom: 1px solid #e5e5e5 !important;
        font-size: 1.5em !important;
        text-align: center !important;
    }
    

    Hope this helps!

    in reply to: Stop Search From Splitting Multi-Word String #388113
    Steven Zahm
    Keymaster

    @ Brittany

    Sure, you could hook into the cn_search_terms filter. Here’s an example:

    add_filter( 'cn_search_terms', 'cn_exact_search_only' );
    
    function cn_exact_search_only( $terms ) {
        return $terms[0];
    }
    

    The $terms variable is an array where index 0 will be the whole string.

    Hope that helps!

    in reply to: Display Bio in listing without dropdown? #388112
    Steven Zahm
    Keymaster

    @ Sami

    The only way to accomplish this is to edit the PHP of the template. Edit the card.php file found in this folder:

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

    Add the following line of code where you want the bio to display.

    <?php $entry->getBioBlock(); ?>

    Save the file to one of the folders outlined in the custom template override file tutorial.

    Finally use the Template Customizer for cMap to turn off the bio display since there is no need to show it twice.

    Hope that helps!

Viewing 10 posts - 5,121 through 5,130 (of 15,332 total)