GithubHelp home page GithubHelp logo

Comments (4)

kovshenin avatar kovshenin commented on September 26, 2024

Does it work if you put it on a separate page (not home) instead?

from camptix.

discoverRG avatar discoverRG commented on September 26, 2024

Yeah, it works on a separate page (if you check that link again, you'll see a test page that I set up).

Also, now that I have this test page set up, the home page works - after you click the register button, it forwards you to that test page, rather than staying on the home page.

Is that the way that it's supposed to work?

For my purposes, this is probably okay.

from camptix.

kovshenin avatar kovshenin commented on September 26, 2024

CampTix currently looks for a single page with the shortcode and picks whatever it finds first. So you're just lucky, that the homepage ticketing page redirects to the page which works and not vice versa (picks newest first). Reopening as this is an actual bug and should be fixed.

from camptix.

iandunn avatar iandunn commented on September 26, 2024

It looks like this is the same problem reported at http://core.trac.wordpress.org/ticket/16373, and $post ends up being null in the template_redirect callback.

If we don't register tix_action as a query var, then $post is unaffected and the ticket form shows up.

Refactoring everything to use $_GET directly should do the trick, provided that doesn't have any side-effects. I'll look at it a bit closer tomorrow and test that out.

from camptix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.