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 8 replies, 2 voices, and was last updated 11 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
04/13/2015 at 11:17 am #331194
cheryl lyman
Participanthow and where do you put the template short code to override a template? Ex. I have cmap for families. On a page that I have set for print, I want to use tile plus and also have address show. I don’t understand how to use those short codes to make those things happen. thanks
04/13/2015 at 1:12 pm #331220Steven Zahm
Keymaster@ cheryl
You can use the template override on any page, like the print page, like so:
[connections template='tile-plus']Like all the other shortcode options, you can combine them into a single shortcode, like so:
[connections template='tile-plus' show_addresses=true]Hope that helps!
04/13/2015 at 1:22 pm #331221cheryl lyman
ParticipantI tried that but I’m also only wanting to print family. So I use the above short code and also [connections list_type='family']
If I put the template short code first then it shows all and not just family. If I show family short code first it then shows family only but in original cmap layout.
04/13/2015 at 1:50 pm #331225Steven Zahm
Keymaster@ cheryl
As explained in my reply in the other thread… you use add the shortcode only once. All the advanced shortcode options are adding to the one shortcode. That said the correct usage is:
[connections template='tile-plus' show_addresses=true list_type='family']Oh, something that I have not said… the order of the options so not matter. Just in case you might have been thinking that is does.
Hope that further clarifies how to use these advanced options.
04/14/2015 at 12:23 pm #331269cheryl lyman
ParticipantIt all works great, but for one thing. I’m not sure how to correct this.
When I use CMAP, the image looks great and is sized proportional but on tile plus it is a smaller image, but it cuts off the image instead of sizing proportionately. can that be fixed? what do i do?
04/14/2015 at 4:41 pm #331303cheryl lyman
ParticipantI’ve searched more on the forum after sending the previous post today. It appears that tile plus changes the size and it isn’t cropped proportionally. This has made many of the images chopped off.
It appears it used logo instead of photo,
Is there a short code or something to let the images be resized according to the settings within connections?
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?
I’m trying to see how to fix this without having to reload all the images. Thanks for your help. I’m using pro version of print o matic so I could get support. They added one line of code to the custom print and it works fantastic. Perfect solution to printing directory.
Thanks
04/15/2015 at 12:46 pm #331350Steven 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
imageandtray_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!
04/16/2015 at 10:57 am #331434cheryl lyman
ParticipantI think getting into the code is over my head. So is there not an easy way with short code to just change size of image or logo on tile plus?
04/16/2015 at 1:11 pm #331446Steven Zahm
Keymaster@ cheryl
There’s this:
[connections image_height=150 image_width=200]change accordingly… though it will not change the crop mode and you’ll need to change the tile size.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
