• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: display data based on user selection (passwords)

display data based on user selection (passwords) 11 years 1 month ago #26932

i created a simple passwords system. the menu link to the submissions directory is set to 'login' for the logged-in user. users can add new passwords, see and edit their own passwords. there is another superuser menu link with submissions directory set to '0' to show an admin users all the passwords. works great!

the password records have a field called 'visable' where default is 'Me Only' and the other option is 'everyone'. I would like to display the password records from all other users if the 'everyone' is selected. Users should be able to see their own passwords and all the passwords marked 'everyone' by any other user.

I'm not sure how to go about this... set the menu to '0' for all and then filter with a mysql query? build the table in the form scripts fields? build a query in the details layout? is there shorthand code i can put in the submissions directory menu link? Please advise.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!