BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 8,591 through 8,600 (of 15,332 total)
  • Author
    Posts
  • in reply to: shortcode template over ride #331350
    Steven Zahm
    Keymaster

    @ cheryl

    Lets see…

    re: It appears it used logo instead of photo

    Yes, cMap uses the logo by default due to its focus to be used for businesses. Just like many of the other advanced options this can be changed with a shortcode option that it enable. All the options for cMap can be found on this page. The specific options are image and tray_image. Set these like so:

    [connections image="photo" tray_image="none"]

    Now cMap will use the image instead of the logo.

    What is not entirely clear to me is if you uploaded the images as an image or a logo. So if you want to use the logo in Tile Plus instead of the image you would use:

    [connections image="logo"]

    re: I could go back to cmap for the print page but the blocks went all the way across the page and wasted space. Could I make the blocks smaller and put two across?

    Sorry, no, there is no way to “tile” cMap.

    re: It appears that tile plus changes the size and it isn’t cropped proportionally. This has made many of the images chopped off.

    The crops are proportional otherwise the images would be stretched or otherwise skewed. What is different is the scaling before a crop or margins are added.

    Assuming the defaults…

    Tile Plus will scale the image to fit the smallest dimension and crop the excess image on the larger dimension. This crop is centered weighted meaning the crop will be taken of the sides evenly rather than one side or the other. This crop mode can not be easily changed without delving into PHP code. This crop mode was chosen for this template because of the intent of being used for a photo of an individual which are mostly centered weighted portrait photos.

    cMap differs in that is uses the logo by default and the default crop mode for logos is to is scale the image to fit within the dimensions and add a margin as needed. If you switch cMap to use a photo instead by using the shortcode from above, the default crop mode would be the same as Tile Plus. Although that can be changed by changing the Crop Mode for the Medium Image on the Connections : Settings admin page under the Images tab.

    Hopefully this explains the difference clear enough.

    If you want to try to change the default crop mode used in Connections by dipping into PHP, here’s how:

    Install the Code Snippet plugin.

    Add a new snippet with the following code:

    function cheryl_image_atts( $atts ) {
    
        $atts['zc'] = 2;
    
        return $atts;
    }
    add_filter( 'cn_output_default_atts_image', 'cheryl_image_atts' );
    

    Save and activate the new snippet.

    Keep in mind when doing this, since the images are much smaller in Tile Plus, the images will be much smaller than cMap. My guess, about the size of a postage stamp when printed. So your milage may vary.

    Hope that helps!

    in reply to: change image in tile plus to be like cmap image #331348
    Steven Zahm
    Keymaster

    @ cheryl

    I see this was actually posted in the other original thread too. I’m going to close this thread and keep the conversation in the other thread. It’ll make it easier to reference if we ever need to come back to this.

    Thanks!

    in reply to: Print Directory #331346
    Steven Zahm
    Keymaster

    @ cheryl

    Great to hear! Maybe the other user had the Pro version too… I don’t know for sure.

    in reply to: Gravity Forms integration #331334
    Steven Zahm
    Keymaster

    @ teresa217

    Sorry, no, there has been no work on this. If you can export that data from GF as a CSV file, you could use the CSV Import extension to import that data.

    Hope that helps!

    in reply to: Licence Renewal #331333
    Steven Zahm
    Keymaster

    @ Colin

    No, you do not need to install the updated cMap. That said, it is highly recommended that it be kept up to date.

    As for installing updates… if you have a recent version of cMap (4.0 or newer) and you have activated your support license on the Connections : Settings admin page under the Licenses tab, you’ll receive updates in the admin about updates to the template like and can update it like any other plugin.

    Hope that helps. Let me know if you have any further questions.

    in reply to: Logo images disappeared #331332
    Steven Zahm
    Keymaster

    @ robert

    No problem!

    If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!

    https://wordpress.org/support/view/plugin-reviews/connections

    in reply to: Customizing Business Listings #331331
    Steven Zahm
    Keymaster

    @ John

    re: ability to add inline and custom css codes and html when creating the business listings.

    From your question, I do not think this will be sufficient, but, the bio and notes fields do accept HTML and will not strip out the inline style (CSS) attribute. Just tested it to be sure.

    Both the cMap and Market template display both fields by default, others show only the bio field with the notes off.

    That said, this would not change the way the template appears, only the way the text into those fields would be displayed. I think, from your question, it is the former and not the later your are looking for. If that is the case, I’m not aware of any plugin that would meet your specific need. Maybe something a plugin that would let you create a custom post type (CPT) with custom taxonomies (categories/tag). You could create a Business CTP with categories and tags. This would give you a way to enter businesses just like posts.

    Hope that that helps!

    in reply to: Logo images disappeared #331266
    Steven Zahm
    Keymaster

    @ robert

    Ok, that seems to explain it then…

    I visited your site. You are using the Default Card template. This template does not and has not ever displayed the logo. In the admin, on the Connections : Manage admin page, this only has ever displayed the the image, not the logo.

    My guess is that you may have edited or had someone edit the template to show the logo. Or maybe you were using a different template???

    Considering that the logo files are in the folder and are shown when you edit an entry in the admin, that tells me Connections seems to functioning correctly.

    If you edited the template, you need to change this line:

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

    Found in this file:

    ../wp-content/plugins/connections/templates/card/card-default.php

    To this:

    <?php $entry->getImage( array('image' => 'logo') ); ?>

    But if you decide to do this, you should follow the this QuickTip so the change is update safe.

    Hope that helps!

    Steven Zahm
    Keymaster

    @ Ben

    Great to hear!

    If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!

    https://wordpress.org/support/view/plugin-reviews/connections

    in reply to: Logo images disappeared #331262
    Steven Zahm
    Keymaster

    @ robert

    Ok, I’m a little confused… I can not tell if you can or can not see them in the admin. Let me phrase the question differently.

    • Can you see the images on the left side of the on the Connections : Manage admin page?
    • If you do not see an image…
      • Does it so “No Photo Available”?
      • Does it show nothing?
      • Do the entries have an image or a logo? On Images are shown on the Connections : Manage admin page, not the logos.
      • If you see an image…
      • When you click to edit an entry, do you see the image?

    Thanks for you patience!

Viewing 10 posts - 8,591 through 8,600 (of 15,332 total)