Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 5 replies, 3 voices, and was last updated 9 years, 12 months ago by
Steven Zahm.
-
AuthorPosts
-
08/11/2016 at 10:46 pm #386302
Jana
ParticipantI’m using Form for submissions and the cMap template which displays the logo in the upper left and the photo in the bio area (by default). My entries will be a mix of organisations and individuals. The problem I anticipate on the entry form is that organisations will tend to upload a logo and individuals will tend to ignore the logo field and only upload a photo into the photo field. This results in some entries showing no image on the listing page.
Currently the only way I can make sense of it is to just use one of the two fields. I’m using the ‘photo’ field for both organisations and individuals, and have uploaded the logo into that field for organisations or the photo in the case of individuals. Then I suppressed the logo display on the detail page, so that only one image is displayed.
Alternatively, I guess I could tell individuals to put their photo in the logo field, and a second image if they want for their bio. That way I could set both the logo and photo to display on the detail page, and always have an image showing in the listing as long as there’s something in the logo field.
I hope I’m making sense. I’d appreciate your suggestions for the best way to manage these options.
Regards
-
This topic was modified 10 years ago by
Jana.
08/12/2016 at 11:58 am #386414Steven Zahm
Keymaster@ Jana
The couple solutions you already presented are the easy ones. The only other solution I can offer is to edit the template file to detect the entry type and then load the image based on type. Making this type of change will obviously break the Customizer feature but that may be worth it for you.
08/19/2016 at 5:48 pm #387167Lori Versele
ParticipantIs this something being worked on so the logo can be set to display on the summary page and the photo can be displayed on the detail page in the cMap Template? We currently are just putting the logo in the image field and the person’s photo in the logo field and setting the display to “Photo” so it shows the logo on the summery page of the organization and the person’s photo on the detail page once clicked through to. Please let us know because if it is not something being corrected then we will document it so our editors know where to put which image. But if it is being worked on we don’t want to continue doing it this way and then an update comes along that messes all our work up. We attached screen captures to show what we mean.
Attachments:
You must be logged in to view attached files.08/19/2016 at 6:23 pm #387173Jana
ParticipantLori, you made a good point. We don’t want to use a work-around procedure that messes our entries up if Steven Zahm modifies the cMap code for how this is handled in the future. You got me thinking about possible solutions.
I wonder if the simplest approach, if Steven plans any programming work on this, would be for the cMap template to be modified to:-
* display the logo by default on the summary page, but if there is no logo, then display the photo on the summary page instead… then we could continue to use the default display settings which display the logo on the summary page and the photo on the detail page, and it wouldn’t matter which image users uploaded as long as they uploaded one (either logo or photo) so that something would always appear on the summary page.
It’s just a thought and depends on Steven’s response. My guess is that everyone using cMap who has a mixture of organisations and individual listings is going to have this problem.
-
This reply was modified 9 years, 12 months ago by
Jana.
08/22/2016 at 9:34 am #387368Steven Zahm
Keymaster@ Lori
Just to make sure we’re on the same page… You wish to show the logo on the results list (summary page) and display the photo on the single entry (detail page) uploading the images into the correct fields when adding the entry, correct? If so, you can already do this, here’s how.
- Navigate to the Connections Templates admin page.
- Click the Customize button for the cMap template.
- The page will reload with the Customizer on the left and a preview on the right.
- Click the back arrow in the upper left of the Customizer.
- Click the Image panel.
- Choose Logo for the Image Type to display (adjust any other image related settings while you’re here).
- Click the back arrow in the upper left of the Customizer.
- Click the Bio Tray Image panel. YOu may or may not wish to change the settings, now is a good time to do it.
- Important, click an entry name in the Preview. Any entry will do.
- The Preview will refresh displaying the single entry (detail page).
- Important, make your image settings changes, as applicable, again, ie. Change the Image Type to Photo. Why? The settings for the results list (summary page) and single entry (detail page) are configured separately so they can be configured differently.
Hope that helps!
08/22/2016 at 10:25 am #387372Steven Zahm
Keymaster@ Jana
re: I wonder if the simplest approach, if Steven plans any programming work on this, would be for the cMap template to be modified to:-
* display the logo by default on the summary page, but if there is no logo, then display the photo on the summary page insteadYou can do this already, although it is not covered in the docs because I rather users use the Customizer since it is point and click with a live preview.
There are two shortcode options
image_fallbackandtray_image_fallback. Theimage_fallbackoption will affect the image in the upper image and thetray_image_fallbackwill affect the image in the bio area. Add the options to the existing shortcode like so:[connections image_fallback="type" tray_image_fallback="type"]
The valid options for
typeare:noneblock:: Empty block with no image found text.photologo
Points to keep in mind:
- These options will affect to both the results list view and the single entry view, so, if you use the Customizer to display different images in both views, in one of the views the fallback image will be the default image set in the Customizer. Hope that makes sense.
- These options will override the “placeholder” checkbox option in the Customizer for the Image and the Bio Tray Image.
re: My guess is that everyone using cMap who has a mixture of organisations and individual listings is going to have this problem.
Yes, but, in my experience, this type of setup is rare. The only real solution I can see in this usage case would be to display the logo/photo based on entry type which is not something that I plan on integrating into a template because it’ll add a lot of complexity very few will use. If course the simple work around in this scenario is to load the image into the field so it display where you want regardless if the image is a logo or photo.
Or, just thought of this… you could rename the fields using the Say What? plugin to be more descriptive to the image placement rather the image type.
Hope that helps!
-
This topic was modified 10 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
