Hello Cooks
I am requesting your help to determine the best way to solve a problem I am working on. I have a site were users can apply for services.
I have created a front-end link to the applications table which displays all applications. Which is a simple list view; however, this is not what I need. I need to test if the logged in user has a record in the applications table:
1. For "no” – I need to load the create a new record
2. For "yes" – I need to load the edit record
This way the logged in user never sees the list view and only interacts with their record.
I believe I can modify the entry point "view.html.php" file of the application collections-view and achieve the desired result; via a conditional redirect. However, I am not sure if it is the best way to approach the problem.
Any ideas or links to similar solutions would be greatly appreciated.
Thanks in advance
v