Creato da
Share My Page
My Social Accounts
Account FaceBook Account LinkedIn Account Twitter Account Google Plus Account Git Hub

First of all, you have to create a Hook Project.


  1. Add a New Liferay Hook (click on right on the project, New, Liferay Hook)
  2. Check "Cusotm JSPs"
  3. In the next window click on "Add from Liferay..."
  4. Now choose: "html/common/themes/top_js-ext.jsps" anc click on Finish


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.1.0//EN" "">



 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
<!-- jQuery -->
<link rel="stylesheet" href="">
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<!-- API Google Maps -->
<link href=""
rel="stylesheet" type="text/css" />
<script type="text/javascript" src=""></script>
<!-- API Google Charts -->
<script type="text/javascript" src=""></script>
Then you can:
Liferay -> SDK -> clean
Liferay -> SDK -> compile
Liferay -> SDK -> war
You can find the source code of Pasturenzi Hook on My Public GitHub Repository
Average (1 Vote)
The average rating is 5.0 stars out of 5.