Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 839 Views 2 Watching
  • 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
    ArneRobotA
    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
      mariusjopenM
      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
        ArneRobotA
        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
          mariusjopenM
          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
            arminunruhA
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            Online Users
            OLVVDBO
            OLVVDB
            L
            lstark
            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