#drupal #user module

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Soy_programador's picture

Ver y editar solo mis comentarios

Me gustaría que cada usuario solo pudiese ver y editar sus propios comentarios. Como si fuera por decirlo de alguna manera una especie de bloc de notas dentro de cada nodo.

Read more
RavindraSingh's picture

How to redirect the page by using their Roles in D7?

Example is below mentioned given
global $user;
$author = false;
foreach ($user->roles as $roleid => $rolename)
{
if (strtolower(trim($rolename)) == 'author')
{
$author = true;
break;
}
}
return $author;

Read more
Subscribe with RSS Syndicate content