xhal44
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] datepicker doesn't let you select year/month?The datepicker plugin doesn’t let you choose month or year either, you have to scroll through the months. Am I just missing a setting somewhere? I can’t be the first on to want this feature.
This is a different site from the prior one I mentioned, this one’s already using qTranslate-x and I was exploring the options I had of keeping this plugin instead of changing to Polylang.
Polylang and Subscribe2 work OK in conjunction, but it’s not perfect. As far as I know public users can’t subscribe to only a certain language, without registering for an account and selecting categories (and the admin has to select a special lang category for each new post, instead of the plugin recognizing the post’s set language).
Further to that, the notification emails are only sent out in one language, so you have to inlcude all your languages in one email.
Forum: Plugins
In reply to: [qTranslate X] Does this work with subscribe2?Hmm not quite, I just wanted to send a notification for each new post.
Forum: Plugins
In reply to: [qTranslate X] Does this work with subscribe2?Polylang. The issue I’m having here is I think QTransx stores both language values in one field, so when Subscribe2 sends an email based on the new post, it (understandably) sends both languages.
Forum: Plugins
In reply to: [qTranslate X] Does this work with subscribe2?Not exactly, but I’ve used it on another multilingual site (different language plugin), and it sent individual emails for each language. Not ideal, but could partially be mitigated using categories or setting it to send emails once a week instead of for each post.
Do you have a suggestion for a different subscription plugin that will work with qTransx?
So it did change. You have to use:
$result->invalidate($tag, 'error message'); return $result;Wish this was in the FAQ or something.
Forum: Plugins
In reply to: [qTranslate X] Does this plugin have an equivalent to qtrans_use?Found it. qtranxf_use. Helps to read the FAQ. xD
Forum: Plugins
In reply to: [Polylang] Check lang from within functions.php?Spoke too soon. It’s not working after all it was just reading my else statement when lang was null.
Is there some documentation on how to use polylang from within a function in functions.php?
Forum: Plugins
In reply to: [Contact Form 7] Pipes in select to change value/displayed text not working.Apparently CF7 doesn’t actually change the value until submit? Why this strange functionality? I want to check the value with jquery before submit, not after.
That works. Redirects to site.com/home instead of site.com/?page_id=xxx which is cleaner.
Thanks!
I’m just using the shortcode now, [subscribe2]
This doesn’t seem to work. I replaced this:
// if ID is provided, get permalink $action = ''; if ( is_numeric($args['id']) ) { $action = " action=\"" . get_permalink( $args['id'] ) . "\""; } elseif ( 'home' === $args['id'] ) { $action = " action=\"" . get_site_url() . "\""; } elseif ( 'self' === $args['id'] ) { $action = ''; } elseif ( $this->subscribe2_options['s2page'] > 0 ) { $action = " action=\"" . get_permalink( $this->subscribe2_options['s2page'] ) . "\""; }With your above code, and it was redirecting to the blog again.
Thanks! That did the trick. It’s a shame it has to specifically point to the page id, making the url a little unsightly.
But I really appreciate you taking the time to come up with a fix, thanks again!
Unfortunately it still seems to be doing the content switch even with Use Referring Page. 🙁
I think I might just change it to post to my Blog page.