Hi there! I've bought this plugin as this is a fantastic way to give my users a personalized workout log! Really happy with the product so far!
I've followed the guide on the youtube link in my "related URL" section, I was just wondering if I could create a blank template (say 7 column table, but the first 3 columns are all predefined for 7 rows, and the user only has to fill in the remaining sections) displayed in the attached graphic.
I want rows created and prefilled for each user with the exercise, sets and reps target auto filled, and them having the ability to change the reps achieved, weights, feeling good and notes columns.
You can add predefined values to columns, but it has to be one value. So it can't be different for each row.
Now, if you would have only 7 rows, you can define the values for those 3 columns, and then disable editing for them. With this, you would need to have a separate table for each user, and I'm not sure how feasible that would be for you?
Hi Aleksandar, Is it not possible to have the first three columns of a table not be edited by user_id / locked, and have the other columns editable / unlocked? Thanks,
if you would have only 7 rows, you can define the values for those 3 columns, and then disable editing for them
Please bear in mind, though, that wpDataTables is a WYSIWYG (What You See Is What You Get) concept based plugin. This means that the table looks and behaves the same both in back-end and in front-end.
If you disable editing for these three columns, you won't be able to edit them in back-end. That is, you would need to enable editing, change the value, then disable editing again.
If those three columns will have only seven rows, you can edit them, then disable front end editing (from column settings), and they won't be able to edit them anymore.
Hi Aleksander. I don't know if I'm just completely misunderstanding. I've disabled editing on those columns, have enabled "Limit editing to own data only" and set that to the column "userid".
However, when I log in from another account, the entire table is completely empty.
I need it to look like the one in the admin panel for every user, with every user only being able to see their own data in the last 4 (excluding userid) columns.
Is that possible, and if so, could you walk me through exactly how to do it, as I'm really struggling with this implementation. Thanks,
As per our documentation on this feature, the UserID column needs to have the type "Integer", and values in that column define who will be able to see the rows in the table.
For example, if you need all these rows to be accessible to user who's WordPress User Id = 1, you would need to enter "1" in every row under "userid" column.
You can disable editing for the three columns, but in order for every user to see only their own data, you would need to add as many rows as there are users. So if you have 100 users, you would need to have 600 rows in sets of 6 rows, like this:
It is cumbersome, but with the current table set-up it is the only way. Also, all your users need to have a WordPress User created, since all logged-out users have ID = 0.
Hi there!
I've bought this plugin as this is a fantastic way to give my users a personalized workout log! Really happy with the product so far!
I've followed the guide on the youtube link in my "related URL" section, I was just wondering if I could create a blank template (say 7 column table, but the first 3 columns are all predefined for 7 rows, and the user only has to fill in the remaining sections) displayed in the attached graphic.
I want rows created and prefilled for each user with the exercise, sets and reps target auto filled, and them having the ability to change the reps achieved, weights, feeling good and notes columns.
Is this possible?
Thanks
Tom
Hello Tom
Thank you for your purchase.
You can add predefined values to columns, but it has to be one value. So it can't be different for each row.
Now, if you would have only 7 rows, you can define the values for those 3 columns, and then disable editing for them. With this, you would need to have a separate table for each user, and I'm not sure how feasible that would be for you?
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi Aleksandar,
Is it not possible to have the first three columns of a table not be edited by user_id / locked, and have the other columns editable / unlocked?
Thanks,
Tom
Hello again Tom.
Yes, of course it is, like I mentioned:
if you would have only 7 rows, you can define the values for those 3 columns, and then disable editing for them
Please bear in mind, though, that wpDataTables is a WYSIWYG (What You See Is What You Get) concept based plugin. This means that the table looks and behaves the same both in back-end and in front-end.
If you disable editing for these three columns, you won't be able to edit them in back-end. That is, you would need to enable editing, change the value, then disable editing again.
If those three columns will have only seven rows, you can edit them, then disable front end editing (from column settings), and they won't be able to edit them anymore.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi Aleksander.
I don't know if I'm just completely misunderstanding.
I've disabled editing on those columns, have enabled "Limit editing to own data only" and set that to the column "userid".
However, when I log in from another account, the entire table is completely empty.
I need it to look like the one in the admin panel for every user, with every user only being able to see their own data in the last 4 (excluding userid) columns.
Is that possible, and if so, could you walk me through exactly how to do it, as I'm really struggling with this implementation.
Thanks,
Tom
Hello again Tom.
As per our documentation on this feature, the UserID column needs to have the type "Integer", and values in that column define who will be able to see the rows in the table.
For example, if you need all these rows to be accessible to user who's WordPress User Id = 1, you would need to enter "1" in every row under "userid" column.
You can disable editing for the three columns, but in order for every user to see only their own data, you would need to add as many rows as there are users. So if you have 100 users, you would need to have 600 rows in sets of 6 rows, like this:
It is cumbersome, but with the current table set-up it is the only way. Also, all your users need to have a WordPress User created, since all logged-out users have ID = 0.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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