Sorry but I did not quite understand what are you trying to achieve.
Can you please explain me little bit more and send me some example/screenshot so I can give you my suggestion.
The first one is a table that I created and contains a list of foods with pricipal info about nutrients. If you click the row in blue (for example), it will open a specific page of the food that you clicked with all info about nutrient (second screenshot).
Everything is created manually using php code but obviously it’s not simple and also very long to develop. The cose is structured in this way:
- the table code create the food name with a link <a href=“http://website/?id=food id from mysql”>
- when you click on food name the link <a href=“http://website/?id=food id from mysql”> will be opened. This page contains some <input> that take info of the food from mysql using the food id indicated in the URL through $_REQUEST
My request is: there is a way to have a table like above usign wpDataTable plugin?
Unfortunately that is not possible with built in features of plugin. What you can do is to make one more table with that info about all nutrients and insert on some page. Then make one more string column in first table and make links with html tags and for href use link to that page where you insert table with that info with Pre-filtering tables through URL. Like this if users click on the link it will be linked to the page where is table info with search value which will filter that table and show only info for that nutrient. It will be shown in table format, not like format that you provide in screenshot.
Hi,
I am creating a food table with info like carbo, proteins, grass and so on.
The table show only some info. If you want other details, you can click on food name that open a page with all info.
In the "related URL" there is what I have manually created in http, php.... but I want something more simple. Can I do it with wpDataTables?
Thanks
HI Thepaky91,
Thank you for your purchase.
Sorry but I did not quite understand what are you trying to achieve. Can you please explain me little bit more and send me some example/screenshot so I can give you my suggestion.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
hi Milan,
I have attached two screenshots.
The first one is a table that I created and contains a list of foods with pricipal info about nutrients. If you click the row in blue (for example), it will open a specific page of the food that you clicked with all info about nutrient (second screenshot).
Everything is created manually using php code but obviously it’s not simple and also very long to develop. The cose is structured in this way:
- the table code create the food name with a link <a href=“http://website/?id=food id from mysql”>
- when you click on food name the link <a href=“http://website/?id=food id from mysql”> will be opened. This page contains some <input> that take info of the food from mysql using the food id indicated in the URL through $_REQUEST
My request is: there is a way to have a table like above usign wpDataTable plugin?
I hope that my request it’s more clear now.
Thanks in advance
HI Thepaky91,
Unfortunately that is not possible with built in features of plugin. What you can do is to make one more table with that info about all nutrients and insert on some page. Then make one more string column in first table and make links with html tags and for href use link to that page where you insert table with that info with Pre-filtering tables through URL. Like this if users click on the link it will be linked to the page where is table info with search value which will filter that table and show only info for that nutrient. It will be shown in table format, not like format that you provide in screenshot.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables