Redirect to login when not authorised - Joomla! Forum - community, help and support
hi all,
i'm building own components, , need restrict access components based on whether user guest (or if can view access level).
ideally i'd keep same url of user attempting access, show the same login form. rather redirecting standard login form (which requires url change) or having login form view each component (which result in multiple copies of 1 view)
many in advance,
sam
edited: re-angled question! wasn't thinking straight...
i'm building own components, , need restrict access components based on whether user guest (or if can view access level).
ideally i'd keep same url of user attempting access, show the same login form. rather redirecting standard login form (which requires url change) or having login form view each component (which result in multiple copies of 1 view)
many in advance,
sam
edited: re-angled question! wasn't thinking straight...
if own component can add plugin or shown if area restricted. plugin can designed show when not prohibit see item or if need login.
Comments
Post a Comment