Viewing 1 replies (of 1 total)
  • Plugin Author loushou

    (@loushou)

    Hey #bcurtis65nj,

    Currently, there is no ready made solution to accomplish this. The ticket selection interface is completely ajaxed in, and the templates for that interface are baked directly into the software. Without modifying some core OpenTickets code, currently, you won’t be able to put text between the event map image and the ‘select some tickets’ box. With that in mind, you do have a few options for workarounds.

    First, you could probably “fake it” by changing how you enter some of the data, and it will get you pretty close to what you actually want. Instead of adding the event map image to the event-area (under the venue UI), you could simply not add an image there. Then you could adjust your settings to show the ‘event synopsis’ above the ticket selection UI (find this on the OpenTickets -> Settings -> Frontend page). Then in your event description (the wysiwyg on the edit parent event page), you could add your event map image, followed by your desired text. That would get you pretty close to what you want.

    Alternatively, you could simply keep the current settings, and compromise on the position of your desired text. You can very easily add the special message above the event map image or below the ‘select some tickets’ box, simply by enabling the event synopsis display (OpenTickets -> Settings -> Frontend -> requires a couple checkboxes). Obviously, this is a little less work than above, but does not get you exactly what you want.

    Your final option, which I personally DO NOT recommend, is to edit the templates inside the plugin itself. This is generally a bad idea with any plugin, not just ours, because when I push an update to the plugin, and you use the updater to update to the latest version, your changes get blown out. Even worse, your changes may not even be compatible any more, and you may have to rethink them over and over again.

    There are plans, down the line, to make all of these templates able to be overridden in your theme, like all the current templates inside the opentickets-community-edition/templates/ directory; however, this project is not close to the top of the list of things to tackle right now . We have a backlog of feature requests, and we are constantly developing our extensions as well, so it may be a while before these are editable by a theme override. I can say for sure though, that eventually it will be a thing. In the mean time you can try some of the steps above, and if they work for your, awesome.

    Let me know how it goes,
    Loushou

Viewing 1 replies (of 1 total)
  • The topic ‘add custom field to event page’ is closed to new replies.