Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Eventbrite in LayTheme

Eventbrite in LayTheme

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 194 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ArneRobotA Offline
    ArneRobotA Offline
    ArneRobot
    wrote on last edited by
    #1

    Hello.

    I am trying to embed an "Eventbrite-Buy-Ticket" link but it doesn't seem to work. It's only some HTML and JavaScript that has to be embedded but it doesn't work as expected.

    Here is my site: http://musicbase-brandenburg.de/tickets

    And here is the info from Eventbrite: https://www.eventbrite.com/platform/docs/embedded-checkout

    Any idea how to make this work? Thanks and best regards,
    Arne

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @ArneRobot
      I will check with Armin how much this is possible!

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • ArneRobotA Offline
        ArneRobotA Offline
        ArneRobot
        wrote on last edited by
        #3

        That's cool, thank you! I am not really sure if the problem is with the Lay Theme since I didn't get the EventBrite-buttons to work in another installation. But maybe you could look ito it since it would be a nice to have feature to be able to incorporate such things.

        Cheers, Arne

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @ArneRobot
          does the link work on a theme wich is not LayTheme?

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            hey, i see this is the example they gave on the website:

            <div id="example-widget-trigger"></div>
            
            <script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script>
            
            <script type="text/javascript">
              var exampleCallback = function() {
                console.log("Order complete!");
              };
            
              window.EBWidgets.createWidget({
                widgetType: "checkout",
                eventId: "52766401728",
                iframeContainerId: "example-widget-trigger",
                iframeContainerHeight: 425,
                onOrderComplete: exampleCallback
              });
            </script>
            

            <script src="https://www.eventbrite.com/static/widgets/eb_widgets.js"></script>
            put this part in "lay options" -> "custom css & html" -> "Custom <head> content"

            put this html in your page in the gridder via "+more" -> "+html":
            <div id="example-widget-trigger"></div>

            in "lay options" -> "custom css & html" -> "Custom <head> content" I would insert the other code like this, according to: http://laytheme.com/documentation.html#custom-javascript

            <script type="text/javascript">
              var exampleCallback = function() {
                console.log("Order complete!");
              };
            laytheme.on('newpageshown', function(){
             if( jQuery('#example-widget-trigger').length > 0 ){
              window.EBWidgets.createWidget({
                widgetType: "checkout",
                eventId: "52766401728",
                iframeContainerId: "example-widget-trigger",
                iframeContainerHeight: 425,
                onOrderComplete: exampleCallback
              });
            }
            });
            </script>
            

            good luck

            this is all because lay theme is has a frontend that is a javascript app ..
            sry for the late reply

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search