Support

Home Forums Event Espresso Premium Problems with Calendar and Grid addons

Problems with Calendar and Grid addons

Posted: June 25, 2018 at 2:15 pm


fisarlivorno

June 25, 2018 at 2:15 pm

Hi, i’m testing the grid template addons and the calendar addon but i think i have some problem.
Reults are here:
CALENDAR: https://www.fisar-livorno.it/test-calendar/
GRID: https://www.fisar-livorno.it/test-grid/

i can only see the calendar if i choose the EMBED option but still with some css problem.
Can you help me? Thanks


Josh

  • Support Staff

June 25, 2018 at 3:02 pm

Hi there,

The problems you’re having may be the result of a plugin or theme conflict, and you can rule out a plugin or theme conflict by installing the Health Check plugin. After you’ve installed the Health Check plugin you go to WP → Dashboard → Heath Check → Troubleshooting. There you’ll Enable Troubleshooting Mode, then once that’s activated you’ll reactivate Event Espresso only via the Health Check’s Troubleshooting item in the WP admin bar. At that point, can you check to see if the issue persists?


fisarlivorno

June 26, 2018 at 2:05 am

Hi, maybe i had a connection problem because now the calendar is ok.
For the grid i think i can work a bit with CSS.
Only a think, i can change the grid image from thumbnail to somenthing big?
How can i do that?
Thanks


fisarlivorno

June 26, 2018 at 3:22 am

i solved some css issues but i think that with visual composer will be lots problems with css styles


Tony

  • Support Staff

June 26, 2018 at 5:13 am

It looks like you have been editing the CSS file directly within the plugin, is that correct?

Your currently forcing a 150px by 150px image to display 320px by 180px so the image is distored slightly (more if you increase the size), is that expected?

but i think that with visual composer will be lots problems with css styles

Which issues?


fisarlivorno

June 26, 2018 at 5:18 am

right, i try but i’d like to get not the thumb image but another size without resizing


fisarlivorno

June 26, 2018 at 5:19 am

if i put the shortcode on the home page i can’t see columns but all the style is broken.
i try to make a test page to show you


Tony

  • Support Staff

June 26, 2018 at 5:33 am

right, i try but i’d like to get not the thumb image but another size without resizing

Ok, please don’t modify files within the plugin itself, there’s no need and when you update the plugin any customizations made that way will be lost.

To change the image size that is in use you’ll need to load your own copy of the template used by that add-on. To do that you copy /eea-grid-template/templates/espresso-grid-template.template.php to your themes root directory.

Preferably a child theme if you are not using one already:

https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

Then on line 27 you’ll find this:

$feature_image_url = $post->EE_Event->feature_image_url();

Change that to pass the size of the image you want to use, what that it depends on what sizes your themes creates. So something like:

$feature_image_url = $post->EE_Event->feature_image_url('medium');

Or for a specific size:

$feature_image_url = $post->EE_Event->feature_image_url( array( 320, 180 ) );

Will return an image 320px wide by 180px height.

Is that what you are looking for?

if i put the shortcode on the home page i can’t see columns but all the style is broken.

EE currently does not support page builders, so you need to add the shortcode to the main content (not using Visual Composer) so that EE can track the shortcode, after that you can use VC and add the shortcode where you prefer in the page.


fisarlivorno

June 26, 2018 at 5:40 am

Great! Thank you.let me do the test page so you can see what i mean


fisarlivorno

June 26, 2018 at 5:48 am

This is how i changed it: https://www.fisar-livorno.it/test-grid/ and works

This is how looks in home with the shortcode: https://www.fisar-livorno.it/test-home/

SHORTCODE: [ESPRESSO_GRID_TEMPLATE button_text=”REGISTRATI” LIMIT=4 order_by=start_date SORT=ASC alt_button_text=”REGISTRATI”]


Tony

  • Support Staff

June 26, 2018 at 9:45 am

That looks like its working correctly to me, is it not working for you?


fisarlivorno

June 26, 2018 at 9:49 am

NOW YES, SO IT’S OK 🙂
THANKS

The support post ‘Problems with Calendar and Grid addons’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso