Hi there,
I've installed this great component. I particullary appreciate the way you can assign a folder to a specific user (or group of users). This is awfull, thanks a lot.
So, in the user menu I did a link to the component and in the parameter area I had had to specify to wich "
jfu's profile Id" this link refer.
This is in my case inappropriate. I do not want to create as many links as my webste's users ...
I did had a look at components/com_joomla_flash_uploader/joomla_flash_uploader.php.
It seems thaht in that part of the code:
Code:
// Parameters
$menu = new mosMenu( $database );
$menu->load( $Itemid );
$params = new mosParameters( $menu->params );
$id = $params->get( 'tfu_id' );
$sel_id = $params->get( 'tfu_sel_id' );
the component retrieve the right configuration profile Id.
My questions:
I want to modify the code above with a little sql query that will retrieve the right profile Id depending on the logged user. Wich one of these two parameters $sel_id and $id in the right one ?
I've read that I can use a so called .htusers.php file. Maybe this could be a simplier way to achieve my task but I didn't find more informations on how to use that ...
Thank you for help and regards from France.