0
Hi,
I would like to set up my Music Collection site so that only registered users can access the 'detailed' album view.
I don't have much experience with Joomla, so could you tell me where to look so I can find out how to do it.
Thank you.
Rand
I would like to set up my Music Collection site so that only registered users can access the 'detailed' album view.
I don't have much experience with Joomla, so could you tell me where to look so I can find out how to do it.
Thank you.
Rand
Responses (2)
-
Accepted Answer
0hi,
well, first of all, there no detailed ALBUM view but detailed ARTIST view (I know it can be confusing: on detailed artist view is where you see the detailed albums)
the best you can do is to check wheter the user is registered or not on the file
/components/com_muscol/views/artist/view.html.php
if I'm not wrong, the variable containing the view will be
$this->_layout
so you should write somewhere something like...
if($this->_layout == 'detailed'){
//your user checking code here
}
hope it helps
Germi
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »