profile_profile.tpl.php is not at all invoked in my case. Please help.. I cleared cache also but still not working.
What I did is, I added following code in template.php of my active theme directory:
function phptemplate_profile_profile($user, $fields = array()) {
/**
* This snippet catches the default user list pages layout
* and looks for a profile_profile.tpl.php file in the same folder
* which has the new layout.
*/
return _phptemplate_callback('profile_profile', array('user' => $user, 'fields' => $fields));
}
and then wrote something in profiile_profile.tpl.php .. but the changes are not reflected. Please help..
Ok. But how can I achieve the following in drupal 6.x?
I have three roles in my website Admin, Operator and Expert.
I want that Operator can see himself as well as other experts within the list of users. At this moment, operator can view Admin. I managed that they cannot update the admin details. But how I can restrict the avialability of admin account from the list of users for the operators?
I have gone there. For operator role, I don't want that they can see admin user existing in application and I cannot achieve this with various options avialable on permission page. Please explain how can I achieve this.
I have 3 roles namely admin, operator and expert. When I login as operator, in the user list I see all users even with admin roles. I want that they can see users only with operator or expert role.
I have 3 roles namely admin, operator and expert. When I login as operator, in the user list I see all users even the users with admin roles. I want that operator can see users only with operator or expert role and not with admin roles.
Comments
I'm pretty sure that that is
I'm pretty sure that that is already integrated into v5&6 of drupal you dont need to add any code
Please help
profile_profile.tpl.php is not at all invoked in my case. Please help.. I cleared cache also but still not working.
What I did is, I added following code in template.php of my active theme directory:
function phptemplate_profile_profile($user, $fields = array()) {
/**
* This snippet catches the default user list pages layout
* and looks for a profile_profile.tpl.php file in the same folder
* which has the new layout.
*/
return _phptemplate_callback('profile_profile', array('user' => $user, 'fields' => $fields));
}
and then wrote something in profiile_profile.tpl.php .. but the changes are not reflected. Please help..
any clue??
any clue??
yes take all of that code out
yes take all of that code out what you want is already integrated into 6.x
Ok. But how can I achieve the
Ok. But how can I achieve the following in drupal 6.x?
I have three roles in my website Admin, Operator and Expert.
I want that Operator can see himself as well as other experts within the list of users. At this moment, operator can view Admin. I managed that they cannot update the admin details. But how I can restrict the avialability of admin account from the list of users for the operators?
go to
go to www.yoursitehere.com/admin/user/permissions
I have gone there. For operator
I have gone there. For operator role, I don't want that they can see admin user existing in application and I cannot achieve this with various options avialable on permission page. Please explain how can I achieve this.
I have 3 roles namely admin, operator and expert. When I login as operator, in the user list I see all users even with admin roles. I want that they can see users only with operator or expert role.
Please explain.
thanks in advance.
Please help..
Please help to achieve the following:
I have 3 roles namely admin, operator and expert. When I login as operator, in the user list I see all users even the users with admin roles. I want that operator can see users only with operator or expert role and not with admin roles.
I'm the only one who got
I'm the only one who got stuck with this.
Administer -> User Management -> Permission doesn't provide any help to hide any profiles based on roles.
It hides all or none.
Finally I managed it by
Finally I managed it by changing anysome code in user module.