Okay
  Public Ticket #1956752
Attachments List problem
Closed

Comments

  • drummah started the conversation

    Hello! I've purchased latest version.


    Everything is working, but I got a problem - when I'm editing event in admin area, also filling attachment tab (attaching PDF file), then I'm clicking "UPDATE EVENT". Everything is fine - I can see attachment at frontend.

    But when I'm editing this event again - updating some other info, like "Ogranizers List", then again hitting "UPDATE EVENT" - attachment is disappearing.

    OR EVEN you can just enter edit mode for this event again, and just hit "UPDATE EVENT" button without changing anything - attachments disappear.

    All other info remaining in place. (as far as I did not filled EVERY field in EVENT, but most of them).

    That's bug. Can I fix it myself via plugin code edit? I need this fix as soon as possible, since we are launching our project soon. 

    Thanks!



  •   drummah replied privately
  •  894
    Zhivko replied

    Hi,

    Yes, it seems to be a bug.

    Open file stachethemes_event_calendar/admin/view/events/tabs/attachments.php

    on line 24 add:

    <?php Admin_Html::html_hidden('attachment[][id]', $attachment->id); ?>



    Stachethemes Developer

  • drummah replied

    Yes, that worked! 

    Thanks for quick resolution.