Okay
  Public Ticket #3184426
Master Details, Button Format, and HTML Links in a Table
Closed

Comments

  • John started the conversation

    Hi,

    I have a few general questions I was hoping someone might be able to help me with.

    1. Master Details

    I was wondering if it was possible to make the Master Details page open in the same tab rather than a new tab. I'd rather have it open in the same window and then just put a back button. The opening of a new tab makes navigation awkward and confusing for users.

    2. Button Format

    I seem to be having issues with the custom css for a Master Details button. The custom CSS seems to conflict with my theme formatting and doesn't show. I use Astra Pro. Do you know of any workarounds?

    3. Links with URL Parameters from row data in a Table

    I'd love to be able to create a URL and/or an HTML column in a table with links automatically populated with URL parameters from the table row where the links show. For example, if I have a table of students, I could click on the link and it would go to a new page where I could sort other tables with that student's information by the URL parameter of that student's ID. Is that possible?

  •  1,819
    Miloš replied

    Hi, John 

    Thanks for reaching out to us

    1.

    Unfortunately it is not possible to change the opening of the Master Details template page in the same window,

    but this is a good idea for future improvements, we might add an option to choose opening in same or new tab.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    2.

    Could you share what custom CSS are you adding, and how are you implementing the CSS on site,

    perhaps in the Table's Customize settings/Custom CSS,

    or in main plugin settings/Custom JS and CSS/Custom CSS  or on the WP page?

    We can try to add same CSS to try to replicate the issues on our end.

    -

    If i understand,  when you change the WP Theme, then the styles work as expected on your site?

    -

    And if we might take a look at the back and front-end of this table?

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    3.

    I am sorry but not sure if i correctly understood this one.

    1. If you need to prefilter  tables via URL, please check out this documentation.

    2. If you need to concatenate data to form a URL in cells in certain way, please check out our SQL CONCAT functionality,  we have a Video with an example here.

    -

    Let me know if that helps,

    or if i misunderstood any of the points, please correct me. Thanks


    Kind Regards, 

    Miloš Jovanović
    [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

  • John replied

    Hi Milos,

    Thanks for getting back to me. 

    1. I've added the suggestion for opening Master Details page in same window to the suggestions forum you mentioned. I'd absolutely love to see that updated since it doesn't seem like it would be particularly difficult to do.

    2. The CSS issue isn't mission critical although I'd like to be able to adjust it eventually. For now, I don't have the time to work on this so I'll create another ticket specifically for this if needed in the future.

    3. This one would be incredibly helpful so let me try to explain a little more clearly. I know how to filter a table by URL parameter and love that functionality. What I would like to be able to do is click on link in a a table row on one page and have it take me to the next page and sort the table on the next page by parameters from the row I clicked on from the previous page. 

    For example, I have a table of students on one page. I have a table of assessment results on another page. I would like to be able to click on a link for a student on the first page and then be taken to the assessment results page where the assessment results are filtered to only show that particular student I clicked on. Maybe there is another way of doing this that I haven't discovered. 

    Another example which might be more common would be if I have a table of customers and I want to click on a customer and show all of that customer's invoices. How would I accomplish that?

    Thanks so much for your help! 

  •  1,819
    Miloš replied

    Hi John 

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    1. Thank you for the suggestion.

    In the meantime, there was another user who requested this,

     so we will follow it, and i hope that our developers should be able to devise a solution soon for a built-in option of setting if the master-detail content should open in a new tab or in the same window.


    2.

    I completely understand.  If you get around to it, you can always open a new ticket for this subject and we will do our best to help


    3.

    I think i can see what you mean now,

    and i am trying to get a solution with some test tables, but can't seem to get it right.

    I am thinking maybe it could be done with some dynamic placeholders through SQL Query,  or setting up a CONCAT link in the cells that might do the dynamic prefiltering,

    to filter the resulting table after redirection,  depending on the clicked cell value, etc... but can't get a working example yet.

    -

    I will have to check with our 2nd level Team if we have a working solution for something like this.

    Thank you for providing the example use-cases and thanks for your patience.

    As soon as they confirm i am reporting back right away.


    Kind Regards, 

    Miloš Jovanović
    [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

  • John replied

    Hey Milos,

    Thanks so much for the response and the support. It means a lot. I'll look forward to hearing back from you about #3 and I'll definitely be super excited if #1 gets updated with the plugin.

    Talk soon,

    John

  •  1,819
    Miloš replied

    Hi, John

    No problem, i am happy to help.

    Absolutely, i hope that the #1 will be added soon, we will keep a lookout for it , and it will certainly be noted in the changeLog when it's finished.


    3. Still waiting to confirm if we have any workarounds for this,

    but i keep checking, and we will keep you posted.

    Thank you for your patience.

    Kind Regards, 

    Miloš Jovanović
    [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

  •  1,819
    Miloš replied

    Hi, John

    Firstly my sincerest apologies for all the waiting time.

    We have been advised by our 2nd level Team on a possible workaround to achieve what you need.

    -

    There is a way to use the SQL CONCAT function with our plugin's tables.

    You would have to first create a "main" Manual table with our plugin, this will create a new table in your database and you would place this table on a page.

    Then, on a second page , place this "assessment" table ,  where you will have previously checked which ID you need for a filter through URL.

    CONCAT in this case would be :

    CONCAT('<a href="http://localhost/current/index.php/assessment-page/?wdt_column_filter[2]=',`wp_wpdatatable_5`.`firstname`,'" target="_blank">',`wp_wpdatatable_5`.`firstname`,"</a>") AS Student Name,

    Please check out more details with an example explained on this Video https://we.tl/t-nfose8V9vq

    Let us know if that makes sense. Thank you

    Kind Regards, 

    Miloš Jovanović
    [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