• Great plugin but unfortunately contains a bug in html-code like line-breaks.

    Example can be found on test-event-123 in the dev.myeventon.com shows the bug as well.

    Click “Test Organization 123” and see there are no line-breaks <br> in description and organizer secondary description texts. Unfortunately there’s no way to file a bug-report unless you have a paid version which is quite pitty because everybody would like to purchase a product only when it’s working as supposed and not firstly to file a report.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ashan Perera

    (@ashanjay)

    Hi there thank you for the message. WordPress sanitize those content by default. If you go to event edit page, and then under Organizer edit, you can add lines breaks and save.

    Thread Starter nl1gsd

    (@nl1gsd)

    @ashanjay Adding a <br> in “description” will be removed as soon as it’s saved. As soon as “Organizer Secondary Description” contains a line-break <br> it will be filtered when saved as well. So it’s not be?ng saved at all due to filtering. This is why a line-break isn’t showed at the front-end either.

    Added <br> by pressing the enter key a few times here and there…

    Now pressing, “SAVE”… result?

    Saved and gone are the line-breaks <br>… so the front-end will not show any line-breaks.

    Let’s try normal description instead of Organizer Secondary Description, thus… “Description”….

    <br> has been added, so now let's save and see.... but wait!!!
    
    

    That is also gone after pressing “Save”.

    So you can add as many <br> <br /> etc. line-breaks or even press the enter key as many as you want… but it’s not be?ng saved as the line-breaks are filtered.

    By the way… above examples I posted are from your own developer/demo/testing WordPress site… So it isn’t only with the installation with the Free plugin or with the installation on a WordPress site a friend has, it’s even on your own WordPress site where it isn’t saved due to filtering.

    The normal description does save \n line-breaks but that does require nl2br to be added in the front-end, which means:

    includes\calendar\class-calendar-event-structure.php

    AND!!!

    includes\class-event-tax.php

    • This reply was modified 1 year, 1 month ago by nl1gsd.
    • This reply was modified 1 year, 1 month ago by nl1gsd.
    Plugin Author Ashan Perera

    (@ashanjay)

    Thank you for clarifying this information. We will see what we can do to allow br on organizer edit page. If you look close at my previous reply, if you edit Organizer FROM event edit > Organizers > Edit descriptions with line breaks are saved correctly.

    We will see what we can do to also allow organizer page edit save to also support line breaks ??

    Thread Starter nl1gsd

    (@nl1gsd)

    Did you take a look at https://youtu.be/6eJK1vIDZbA?feature=shared which i mentioned at the codecanyon comments page as well? Because the video shows it’s not saved, the line-breaks < br > aren’t saved afterall and when viewing the source they are missing. Just have a look at the video I posted.

    The video shows both description as well secondary description not saving line-breaks (<br>). With the WYSIWYG editor I also show the source code of the Secondary description showing it contains <br> before save, and doesn’t contain <br> when saved.

    • This reply was modified 1 year ago by nl1gsd.
    • This reply was modified 1 year ago by nl1gsd.
    Plugin Author Ashan Perera

    (@ashanjay)

    Sorry for not getting back to you please try the latest version 2.2.12 the secondary description should preserve the line breaks. The original description field strips out HTML and it is controlled by wordpress code.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug in Organization details’ is closed to new replies.