Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Liferay can be used as a simple CMS, without much Java knowledge : creating, editing and positioning of web content fragments are drag'n'drop and use of the included rich text editor. But to start using Liferay for your company, there are two main steps : a technical configuration (database, etc.), and a look'n'feel customization.</p> <h2>The technical part</h2> <p>First of all, you should get rid of the 7cogs website : this is called a hook in the Liferay wording. To do that, if you are using Tomcat for the application server, just delete the 7cogs directory as stated <a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/7Cogs+sample+data" rel="noreferrer">here</a>. You can now create the configuration file for your installation : it's a simple text properties file, named portal-ext.properties and placed in the webapps/ROOT/WEB-INF/classes folder of your tomcat installation. This file handles most of the configuration of the Liferay portal, for example :</p> <ul> <li>the name of your company</li> <li>if you want to display a terms of use page on first login</li> <li>if you want anybody to be able to create an account on your portal</li> <li>the database where the data will be stored</li> </ul> <p>To do this, the properties in the portal-ext.properties override default properties found in a embedded portal.properties file located in the jar file portal-impl.jar, in the webapps/ROOT/WEB-INF/lib directory. Just unzip the jar file in a temporary folder to access the portal.properties file. </p> <p>A sample portal-ext.properties file : </p> <pre><code>company.default.web.id=yourcompany.com terms.of.use.required=false company.security.strangers=false jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&amp;characterEncoding=UTF-8&amp;useFastDateParsing=false jdbc.default.username=root jdbc.default.password=root </code></pre> <p>Once done, you can startup your application server. As the default admin (named test, something you can change in the portal-ext.properties file), you can access to the centralized web "control center", located in the "dock" (the strange menu labelled "welcome Test" in the upper right part of any page once logged in). I would advise you to read the <a href="http://docs.liferay.com/portal/5.2/official/liferay-administration-guide.pdf" rel="noreferrer">administration guide</a>, useful for most administrative tasks.</p> <h2>The "branding" part</h2> <p>Liferay uses "Themes" to automatically decorate the portal pages (logo, navigation, portlet borders...) using images, CSS, Javascript (JQuery) and the templating language Velocity. The themes are bundled in a .war file, like a standard web application, and deployed on the fly either via the control center or by dropping the file in the deploy directory of the server. Liferay can use several themes at the same time, one for each community (a group of pages, users and content) for example. Creating your own theme can be done afterwards, using the "<a href="http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Plugins+SDK" rel="noreferrer">Plugins SDK</a>".</p> <p>The <a href="http://www.liferay.com/web/guest/community/wiki" rel="noreferrer">Wiki</a>, <a href="http://www.liferay.com/web/guest/community/forums" rel="noreferrer">forums</a> and <a href="http://www.liferay.com/web/guest/community/blogs" rel="noreferrer">blogs</a> can be very useful.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload