Forums

[Plugin: Custom Field Taxonomies] compatibility and help with tdo mini forms plugin (8 posts)

  1. Ovidiu
    Member
    Posted 2 weeks ago #

    hey scribu,

    I am trying to use this plugin: http://wordpress.org/extend/plugins/tdo-mini-forms/ to allow visitors to submit events. Most of the fields they submit are custom fields.

    Now I want to use your plugin to filter for those fields, i.e. the event month...

    The TDO plugin gives certain names ot its custom fields, I tried copying those and creating them in your plugin but none of my filters work.

    i.e. I have a custom field created by TDO: Author Name
    I created the same custom field in your plugin: Author Name then I try and filter like this: http://021club.co.za/?Author+Name=testname01 and it doesn't show anything.

    Do I first need to set up the template?

    Would you mind giving the other plugin a test run with your plugin?

    Or can I submit more info for you?

    http://wordpress.org/extend/plugins/custom-field-taxonomies/

  2. scribu
    Member
    Posted 2 weeks ago #

    The query you should be doing is:

    http://021club.co.za/?author-name=testname01

    CFT doesn't allow spaces in custom field keys.

  3. Ovidiu
    Member
    Posted 2 weeks ago #

    any chance to allow spaces as the other plugin that generates the custom fields doesn't allow me to chose the names... it simply creates them similar to this: "TDF form#1 customfield#1"

  4. scribu
    Member
    Posted 2 weeks ago #

    As a temporary fix, you can do this:

    In the plugin directory, open admin.php and comment out this line:

    $key = sanitize_title_with_dashes($key);

    Then re-add your custom field keys.

  5. Ovidiu
    Member
    Posted 2 weeks ago #

    ok, will try that.
    so even if the custom fields are created automatically by the other plugin I still need to manually add them via your plugin?

  6. scribu
    Member
    Posted 2 weeks ago #

    Yep. You might not want to make all of them searchable, you know.

  7. Ovidiu
    Member
    Posted 2 weeks ago #

    ah, ok makes sense :-) but just to make sure: creating those custom fields inside your plugin that I want to be searchable, doesn't kinda overwrite the ones generated by the other plugin? Anyway, even if it did, its the same name, so I should be fine, thanks.

  8. scribu
    Member
    Posted 2 weeks ago #

    No, each plugin stores it's keys separately.

Reply

You must log in to post.

About this Topic