Mary Linville
Forum Replies Created
-
Ah, I think I may have figured it out.
I use the
forminator_field_email_validation_rules
andforminator_email_field_validation_message
filters, do I have that right?If that is right I will post back example code for others looking to do similar when I have it working.
- This reply was modified 2 years, 6 months ago by Mary Linville.
Thanks for the quick response.
One thing I want to do is compare two email fields to ensure that they are equal. If not, like the other validations you add via the Forminator UI, it should halt form submission and display an error message.
In my case, this will be fields
email-1
andemail-2
.Since the aforementioned library is what is being used, I first tried calling
jQuery.rules()
using theequalTo
rule andmessages
as the library documentation describes. But for some reason therules()
method could not be found no matter what I did.So when I saw that there was other stuff going on anyway, I tried to call the custom methods that Forminator has, like
ForminatorFrontValidate()
but I believe that was when I only succeeded in replacing the validation rules, not adding to them.I am probably close(?) I just can’t see it, LOL.
Thanks. ??
Same here. Causes the error in other pages too.
Forum: Plugins
In reply to: Plugin API: WP_Rewrite, implementation help neededOkay, I have also tried using both the Ultimate Tag Warrior and Feed Director plugins, and both do not work, the urls that is – trying to view the urls supported causes 404s.
Regular clean permalinks (pages, posts, categories, etc) work fine, but not permalinks added through the plugin api. So I now know it’s not just my attempt.
Any ideas what’s the deal here?
Forum: Plugins
In reply to: Remove Yahoo header from Admin pageUh, it’s not from WordPress.
You’re likely viewing a page either embedded in some frame or automatically has ads injected into the page. If there’s a legitimate reason to remove it (i.e: it shouldn’t be there) I highly doubt Yahoo would be unresponsive. Have you checked your Yahoo hosting documentation?
Forum: Plugins
In reply to: Extend/customize permalinks with wp_query and wp_rewriteUh, thanks for the response spencerp, but the regular, built-in permalinks are not what I’m talking about. I’m talking about extending them, customization not available via the admin interface, with the WP_Rewrite ands WP_Query classes, using plugin filter hooks. For example, the new WordPress “tag” plugins extend them beyond what you can do in the admin interface.
Amien, that’s strange that exact permalink works great for me. Where are these incorrect permalinks getting output? You could try additionally customizing the category permalinks, perhaps that will help.
Forum: Plugins
In reply to: Extend/customize permalinks with wp_query and wp_rewriteOkay did something change between 2.0 and 2.0.1? I had the basics working, and now (on 2.0.1) it doesn’t work. It’s so frustrating because I had it working just fine before. Maybe it was just a fluke, I don’t know. The important thing is, as far as I can tell it should be working, but it isn’t.
I want to have this:
/%category%/%postname%/discussion
(enable comments on their own page). If I were making the rewrite rule by hand, I’d have(.+?)/([^/]+)/discussion/?$
point toindex.php?category_name=$matches[1]&name=$matches[2]&discussion=1
.Adding to the query string (so I can do the template magic) isn’t the problem, the problem is that the rules are not getting added at all. I know they aren’t because I not only get a 404 error, nothing even remotely like my rule shows up in the rules array returned by a call to the class’ rewrite_rules method.
I’ve now tried all the variations I could find – and yes, my plugin is activated. ??
I’ve tried doing it the Feed Director way, the jaseone way, the ChristineD way, the mcnicks way, in various combinations with the generate_rewrite_rules, rewrite_rules_array, and post_rules_array filter hooks.
Please help.
Forum: Fixing WordPress
In reply to: Background disappears for pagesEr, we need the url to the pastebin entry?
I wasn’t suggesting that was the permanent fix, just that it was the source of the problem: a missing closing tag. ??
Forum: Fixing WordPress
In reply to: Background disappears for pagesThe template file being used (category templates can be separated from the rest of the archives, it depends upon the theme you’re using).I take it you’re just using one archive template.
If you add in a closing div just before
<div id="sidebar">
, that fixes it.What have you got for your archive template? (use pastebin.com to share it)
Forum: Fixing WordPress
In reply to: need more space on page for paragraphYou’re entering 40 lines as your category title?
Forum: Fixing WordPress
In reply to: Background disappears for pagesI don’t think it’s anything from a post – notice this page is screwy, but this one is not.
My guess would be that you’ve used some conditionals in your category template, which didn’t open/close some html tags properly.
Forum: Fixing WordPress
In reply to: Having some text appear only pagesChange your “Comments” template. You’ll want to make use of the
is_page()
tag. For example:<?php if (is_page()) : ?>
<p>This is on a page.</p>
<?php else : ?>
<p>This is on a post.</p>
<?php endif; ?>
Forum: Fixing WordPress
In reply to: How do I customize headers for ‘Pages’ and ‘Categories’?Look in your “Sidebar” template. The parts you want to change are:
<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
and
<li><h2>Categories</h2></li>
Forum: Everything else WordPress
In reply to: Stupid SearchA couple things aren’t working (search, favorites) or available (post preview), which is disappointing and often frustrating.
I must say I really like the way the forums look now. I’m tired of all the forums that have so much visual clutter. The user activity stuff is nice too.