• Resolved robgranholm

    (@robgranholm)


    Perhaps this modification is easier than I can see from rummaging through the plugin files, but I need something straight forward that I believe the author could likely do quickly for a quick buck, please let me know.

    Is has to do with modifying the search field.

    Can you add the words

    IS ___ Paleo? with the ___ being the search space? ..and Have the text “[your food here]” dummy text in the search box before someone starts typing.

    Thank you!

    -r

    https://wordpress.org/plugins/tablepress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This is already possible 🙂 Just use the TablePress Extension from http://tablepress.org/extensions/change-datatables-strings/

    For the placeholder text, just add

    "fnInitComplete": function() { $('.dataTables_filter input').attr('placeholder', '[your food here]'); }

    to the “Custom Commands” textfield on the “Edit” screen of the table.

    Regards,
    Tobias

    Thread Starter robgranholm

    (@robgranholm)

    Oooo, nice I’m on it. Thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Thread Starter robgranholm

    (@robgranholm)

    I don’t see anything in the strings for dummy text in the search field, could you advise on that?

    Thread Starter robgranholm

    (@robgranholm)

    I’d also like to place a word after the Search field. I want it to read like this… IS ___ Paleo? with the ___ being the search space

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the command for the dummy text is not in that file. You will need to use the “Custom Command” that I posted in my first reply.

    To place a word after the search field, you should use

    "sSearch": "Is _INPUT_ Paleo?",

    in the file.

    Regards,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Quick Paid Customization’ is closed to new replies.