As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #1786769
Row appear by Date comparison to Current Date ... "Add condition?"
Closed

Comments

  • CopyrightSlap started the conversation

    I have a field that has a designated date for each row/entry. I would like to have only those entries show up whose dates are 3 days prior, or earlier, when compared to the Current Date (ie. At least 3 days old). Do I put this in the "add condition" feature on Create a Table or do I do this in a CSS in Conditional Formatting somewhere? I tried to understand previous tickets but could not follow fully. Also, wherever I enter, what is the proper format?

    Do I use %TODAY% or CURDATE()?

    Thank you.

    PS I am using the query of MySQL creation format.

  •  472
    Isidora replied

    Hi CopyrightSlap,

    Thank you for your purchase.

    Sorry for late response. 

    We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.

    My suggestion is to use MySQL query logic for such functionality, because it is not possible to show entries in table whose dates are 3 days prior with existing placeholders in Conditional formatting.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  • CopyrightSlap replied

    Thank you. How do I "use MySQL query logic" to achieve this functionality?

  •  472
    Isidora replied

    Hi CopyrightSlap,

    When I said "use MySQL query logic" I mean that you need to make a query that will return data that you need using MySQL functions. You can take a look on this link where you can find one of the examples for returning data depends of some condition(get records that are more than 7 days old)There is a lot of examples on Internet especially on stackoverflow.com where you can find a lot of useful examples. 

    Please note that writing custom queries are out of scope that we provide with standard support. Support with such requests can be provided on a paid basis.

    Best regards.


    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables