Something has changed in Views. I have a content type "Event" with a field that is a Vendini button defined as
Text (formatted long), with the text format "php" which has no editor and has the php evaluator checked. The button content is shown below. But on the page: https://orcma.org/chamber-series all the buttons are displayed in the first Event, rather than in individual events.
This used to work--many Drupal updates ago. I made no changes at my end.
The problem definitely relates to the javascript. If I replace it with text, it appears in the proper event.
<script type="text/javascript" id="vendiniTicketLineLaunch_0c9108002ece1bb69bf362669bcd50f7">
var VendiniTicketLineLaunch = VendiniTicketLineLaunch || {};
VendiniTicketLineLaunch['992bd5cee7370abfe3551d7227715d4a'] = VendiniTicketLineLaunch['992bd5cee7370abfe3551d7227715d4a'] || [];
(function() {
VendiniTicketLineLaunch['992bd5cee7370abfe3551d7227715d4a'].push({id: '0c9108002ece1bb69bf362669bcd50f7', type:'tix', eventID:'dc8fe96286b470617653c8edf282abad', image:'buy-now.png'});
if (document.body) {var buttonContainer = document.getElementById("vendiniTicketLineLaunch_0c9108002ece1bb69bf362669bcd50f7").parentNode;}
else {document.write('<body></body>'); buttonContainer = document.body;}
var span = document.createElement("span");
span.id = "0c9108002ece1bb69bf362669bcd50f7";
buttonContainer.appendChild(span);
if (!document.getElementById('VendiniTicketLineLaunch_992bd5cee7370abfe3551d7227715d4a')) {
var script = document.createElement('script'); script.id = 'VendiniTicketLineLaunch_992bd5cee7370abfe3551d7227715d4a'; script.type = 'text/javascript'; script.async = true; script.src = 'https://red.vendini.com/ticketLine/js/launch/992bd5cee7370abfe3551d72277...';
buttonContainer.appendChild(script);
}
})();
</script>