Thursday, July 26, 2012

template pages which are copied while creating themes

The following velocity templates are copied from Liferay to your theme's /docroot/templates folder:
  •  init_custom.vm: This file allows you to override and define new    velocity variables.
  •  navigation.vm: This file is called by portal_normal.vm and provides the
  •  portal_normal.vm: This file controls the basic skeleton HTML of the page HTML to make the navigation menus that Liferay will serve.
  •  portal_pop_up.vm: This file controls the layout of portal templates for pop-up notifications.
  •  portlet.vm: This file wraps the content of every portlet.

Wednesday, July 18, 2012

My Sample Alfresco DM, setup

Recently I had to setup  a demo on Alfresco 4.0.d as DM, the requirement was having Own document type. This document types has its own properties. I was able to do it by following the document by Jeff Potts "http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf" and help from the Alfresco forum.

Here I am planning to write it down, the steps which I had followed so that new comers can refer it.

Demo Requirement :- Customized document types, with properties. Some of the properties are text field, other have drop down, check box and dates.





Alfresco footer customization


To modify the footer of ALfresco Share

To see your organization in "GoTo" option in LR

To see your created organization on the "GoTo" menu
  •  You should be a member of those organization. 
  •   For the Organization, there should be a site created and existing 

file conversion using VLC

You can convert media files to different format using VLC
Go to menu
Media => Convert /Save file
Select the file which you want to convert
then click "convert/ save" option
name the file with extension and click "start"

Sunday, July 15, 2012

Liferay entry in portal-ext.properties for Linux system

redirect.url.security.mode=ip
redirect.url.ips.allowed=127.0.0.1,SERVER_IP

To see more than default 9 sites in Liferay

You need to modify "portal-ext.properties" to reflect the values
my.sites.max.elements=10