Support » Plugin: Events Manager » problem with featured-image-public.php

  • Resolved marcosdipaolo

    (@marcosdipaolo)


    Hi there.
    If I’m using the event submission form, if i click the button to upload an event image nothing happens, well, actually if I submit the event the image is there but the “No image uploaded for this event yet” keeps showing which is really bad since users are going to think the image url failed to be loaded.
    I think in the forms/event/featured-image-public.php this is the if statement that manages that:

    
    <p id="event-image-img">
    <?php if ($EM_Event->get_image_url() != '') : ?>
    	<img src='<?php echo $EM_Event->get_image_url('medium'); ?>' alt='<?php echo $EM_Event->event_name ?>'/>
    <?php else : ?> 
    	<?php _e('No image uploaded for this event yet', 'events-manager') ?>
    <?php endif; ?>
    </p>
    

    comments?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    do you have sample link to your site with this issue for us to see and analyze please?

    Thread Starter marcosdipaolo

    (@marcosdipaolo)

    Hi, unfortunately I’m developing the site locally.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    Can you clarify if the upload isn’t working or whether the upload works but the message is wrong? Thanks.

    Thread Starter marcosdipaolo

    (@marcosdipaolo)

    Hi Caimin
    It was all a mistake of mine.
    It is working, i guess i was just expecting it to be better UX wise but then i understood my mistake.
    thanks.
    Visual/HTML editor not working though. It does work in default theme. No console errors.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    If it’s working with the default theme that suggests a conflict / problem with your normal theme, though usually you’d see an error.

    Might be worth testing your theme with all other plugins deactivated, in case it’s actually a plugin conflict somewhere.

    Thread Starter marcosdipaolo

    (@marcosdipaolo)

    All plugins already deactivated. No console errors. I’ll try with the debug line set to true in the wp-config file and I log back.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    ok, let us know if you have further update or questions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘problem with featured-image-public.php’ is closed to new replies.