Para poder hacer ello es necesario actualizar el programa portal_normal.vm
(RUTA DEL ARCHIVO: liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/ROOT/html/themes/classic/_diffs/templates/portal_normal.vm)
<!DOCTYPE html>
#parse ($init)
<html class="$root_css_class" dir="#language ("lang.dir")" lang="$w3c_language_id">
<head>
<title>$the_title - $company_name</title>
<meta content="initial-scale=1.0, width=device-width"
name="viewport" />
$theme.include($top_head_include)
</head>
<body class="$css_class">
<a href="#main-content" id="skip-to-content">
#language ("skip-to-content")</a>
$theme.include($body_top_include)
## Agregar la pregunta, manteniendo #dockbar() para que solo puedan
## mostrarse cuando sea ADMINISTRADOR en liferay
#if
(($permissionChecker.isOmniadmin())||
$permissionChecker.isCompanyAdmin(
$themeDisplay.getCompanyId())||
$permissionChecker.isCommunityAdmin(
$themeDisplay.getScopeGroupId()))
## Mantener esta linea para que aparezca el DockBar
#dockbar()
#end
No hay comentarios:
Publicar un comentario