Comments (4)
Does it work if you put it on a separate page (not home) instead?
from camptix.
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.
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.
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)
- Redirect from PayPal returns blank screen HOT 1
- Optional 'default' questions and/or ticket add-on options...
- Fields don´t validate HOT 1
- Purchase ticket page broken in Divi Builder pages HOT 2
- Italian language localization HOT 1
- Allow tickets to be shown in a custom order HOT 2
- Discount is Being Applied to EVERY Ticket on Order, rather than Total Order Price HOT 8
- Ability to Refund a Discounted FREE Ticket
- Edit Attendee to Change Ticket Type & Apply Discount Code
- Uncaught ReferenceError: CampTixStripeData is not defined HOT 1
- How to change Font color
- Tickets with titles greater than 40 characters result in failed payments when using Stripe HOT 1
- New Stripe Integration - Bug & Enhancement HOT 2
- Allow display "sold out" or "future" tickets
- Add captcha.
- How can I add the questions in notification email? HOT 4
- Strange message for coupon code on wrong ticket
- camptix.js code not working because of timing condition. (tix-js, has-dynamic-js, wp_footer) HOT 2
- CampTix Tools: Audit screens/flows for accessibility improvements
- Issue with Razorpay - Indian Payment Gateway HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camptix.