Registered Access

Rand
Rand
Offline
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
Responses (2)
  • Accepted Answer

    Sunday, September 20 2009, 08:09 AM - #Permalink
    0
    hi,

    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
    The reply is currently minimized Show
  • Accepted Answer

    Rand
    Rand
    Offline
    Sunday, September 20 2009, 08:50 AM - #Permalink
    0
    Thank you :-)
    The reply is currently minimized Show
Your Reply