Hi guys,
I need to hide a form if the user is not registered.
I need to do it with code, cause the form is not a published page but accessible through a fake select form, that act as a menu, launching a link at the different options.
I was thinking a check with the userID, if the userID is =<0, the page will not shown and a message will appear instead.
How to not display the page?
Should the code go in server validation or whereelse?
How to call teh message of Joomla: you should be login to access this private area?
I need to hide a form if the user is not registered.
I need to do it with code, cause the form is not a published page but accessible through a fake select form, that act as a menu, launching a link at the different options.
I was thinking a check with the userID, if the userID is =<0, the page will not shown and a message will appear instead.
How to not display the page?
Should the code go in server validation or whereelse?
How to call teh message of Joomla: you should be login to access this private area?