Okay
  Public Ticket #2487041
Filter Table & button action
Closed

Comments

  • jeffrey bernard started the conversation

    SOLVED!!! : Signed in as user in table and now it is executing the current user SQL Query. 

    I need help with the following.

    1. Getting the correct select where statement for wp tables
      my statement works in MySQL Workbench, but not in the datasource SQL query window. 
      MySQL Workbench query 
      SELECT * FROM loalistingsdb.available_listings
      Where agent_name = 'Agent's Name in MySQL DB;  

              WPDataTables SQL Query

    SELECT available_listings.`title`,

           available_listings.`land_type`,
           available_listings.`street_address`,
           available_listings.`locality`,
           available_listings.`tags`,
           available_listings.`region`,
           available_listings.`zipcode`,
           available_listings.`map_url`,
           available_listings.`primary_image_url`,
           available_listings.`price`,
           available_listings.`area`,
           available_listings.`description`,
           available_listings.`agent_name`,
           available_listings.`agency_or_company_name`,
           available_listings.`agency_location`,
           available_listings.`office_phone_number`,
           available_listings.`email_address`,
           available_listings.`image_urls`
    FROM available_listings
    WHERE agent_name='%CURRENT_USER_FIRST_NAME% %CURRENT_USER_LAST_NAME%';

    ****error is Signed in user aka Agent Name ( LIMIT 10 )

      2. In my table i need the ability to add a button to each row that will allow that row item to be posted as a post to another part of my wordpress site. Is this possible? 

     

  •  2,572
    Aleksandar replied

    Hello jeffrey

    Thank you for letting us know the issue is resolved.

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • jeffrey bernard replied

    I had a second part of my question. Which is as follows.   

    2. In my table i need the ability to add a button to each row that will allow that row item to be posted as a post to another part of my wordpress site. Is this possible? Where is the custom button functionality documentation? If I need to start another ticket for this, I can do that. 


  •  2,572
    Aleksandar replied

    Hi again jeffrey

    I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.

    It probably can be done with some custom work, but our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in near future.

    But we can recommend these services for customization:

    https://codeable.io/?ref=l1TW1

    https://wpkraken.io/?tms-plugins

    They do develop such solutions, so can you please send your inquiry to them?

    Also, if you have some coding experience, you may be able to develop a solution like this yourself with the help of our filters and hooks.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables