20 Nov

Online Preview in Liferay

Steps to install the online preview Liferay on linux:
1. Install ImageMagick:
apt-get install imagemagick
2. Log in as Administrator Portal
3. Navigate to ControlPanel -> Administration Server
4. On the menu tabs select External Service
5. To activate ImageMagick, check the enable ImageMagick
6. Fill Path with / usr / bin, how to find out by typing in the terminal :
"which convert"

Default settings:

imagemagick.resource.limit.area=2GiB
#imagemagick.resource.limit.disk=16GiB
#imagemagick.resource.limit.file=256
imagemagick.resource.limit.map=1GiB
imagemagick.resource.limit.memory=2GiB
#imagemagick.resource.limit.thread=2
#imagemagick.resource.limit.time=3600
note: "sign # is not filled"
Default setting: 
ImageMagick

Change to::

imagemagick.resource.limit.area=3GiB
imagemagick.resource.limit.disk=10GiB
imagemagick.resource.limit.file=512
imagemagick.resource.limit.map=3GiB
imagemagick.resource.limit.memory=2GiB
imagemagick.resource.limit.thread=1
imagemagick.resource.limit.time=3600

 ImageMagick

20 Nov

OpenOffice Integration Liferay

Installing OpenOffice in your Operating System:
If your OS is XP / Windows7 follow these steps:
1. Install OpenOffice.org v2.0.3 or any other version.
2. Navigate to C: \ Program Files \ OpenOffice.org \ Programs folder in the command prompt .
3. run the following command:
soffice-headless-accept = "socket, host = 127.0.0.1, port = 8100, URP,"-nofirststartwizard.
4. Then Restart

If your Linux Operating System follow these steps:
1. Install Package v2.0.3 OpenOffice or any other version.
2. Run the following command from the Command Prompt: cd / usr / lib / LibreOffice / program ​​.
3. sudo . / soffice - headless - accept = "socket, host = 127.0.0.1, port = 8100; URP;" - nofirststartwizard.
4. Then Restart

Enable OpenOffice in Liferay:
1. Log in as Administrator Portal.
2. Navigate to ControlPanel -> Administration Server.
3. On the menu tabs select External Service.
4. To activate the check box on OpenOffice enable openoffice.
5. If you want to change the port you can change it.
6. Then Save Settings.

Implement the functionality in Open Office web content portlet:
1. Now you add a portlet in the portal Web Content Display in one page.
2. Then navigate to your portlet configuration page.
3. Select Add Web Content and write the Title and content of information that will be created,
4. Click Publish.
5. It will appear articel that have been made ​​earlier.
6. On the Web Content Display portlet
Navigate to Settings / Options -> select Configuration
Below Enable Conversion To we check box PDF, DOC, TXT, ODT, RTF.
7. Then save.
8. It will appear the option Convert PDF, DOC, TXT, ODT, RTF.

20 Nov

New Features in Alfresco Ver.4.2a

In the second week of October 2012, Alfresco launched the new Alfresco Community Edition, Alfresco 4.2a. Some new features available in Alfresco 4.2a, which are:

1. Multi-File zip file processing and quick sharing
This feature will help the user use “share” command and sharing their file which are being preview. In this process, this feature will create a short link to sharing files automatically. The users are also used multiple selection of their file to process downloading. This process also supported by single zipped package.

2. Enhancing in Share Dashlets
Some new features in this facility are improvement in liquid layouts which are more attractive, illustration of selection file address in image subcategory, and improvement in lightbox facility layout.

Dashlets New Layout
Dashlets New Layout
A New Dashlets Tasks:
A new task in dashlets “filter all” previously, now in Alfresco 4.2a, this tasks is dived into two categories, “active” and “completed” category. Additional task is adding the number of page.

Editing the content:
Instead of filtering task, there is dashlet conversion feature. These features will split loading process, in order to increase displaying speed of dashboard initial process.

3. Better integration to google docs
Now the user in Alfresco 4.2a are able to create and edit their google docs document in google docs service, easier and better integrated. The user will used directly this system in real time and user activity in google docs will be recorded.

4. Springsurf 1.2
This feature will help the user clearing their internet cache. The user no needs to clear their recorded activity after they have internet browsing (using “clear internet cache”). Alfresco 4.2a users directly get this feature when they have installed this new Alfresco edition. Therefore, the user no needs to busy clearing internet temporary cache regularly.

In addition, this feature is also help the user saving their drive resources more capacity in their hardware. Some files are recorded as temporary files in their hardware when they perform browsing the internet, a great way of saving resources reducing.

Furthermore, having RemoteClient feature configuration, some complete configuration are able to perform. Some of these complete configurations are: timeouts, buffer sizes, setting on http proxy, tcp configuration, setting on white/black list of unsecure HTML when editing wiki page, and inline preview of html. 

5. The new dashboard dashlets
Site searching:
This site searching feature of dashlets allows the user to find fts-Alfersco search and directly can see a previewing page in the result of site searching. The users are also able to configure previewing only related sites. The picture below is a preview of the result site searching features

Dashlets of Site Search

Dashlets of Site Search

Search collection:
This feature is similar to site search, however query in this features of saved search previously only addressed to site manager. Only site manager is able to access this dashlet control panel. Where, filtering process which only able performs by site manager, support in report organizing. Therefore, fts-alfresco search syntax is fully supported the user, especially to site manager. Dashlets title is also changed into specific title from control panel, and then the user will easily recognize what dashlet is reporting on.


Sample preview of saved search feature
Sample preview of saved search feature

My Discussion:
Dashlet dashboard is also able to display recent posting in the forum. Consequently, the user will able to discuss, create, and reply the posting quickly. 

My Discussion dashlets
My Discussion dashlets

6. More variations in media galley or document library
The earlier version of image preview for gallery view features, now available in document preview for document library. This new feature is more interesting and attractive. This new view is support standard feature for document library, such as multi file selection, uploading process by drag and drop technique, and also additional new feature, which is setting on document size view directly, thus the view is dynamically view, especially in image size changing view in document library. 


Preview of Media Gallery
Preview of Media Gallery

7. Desktop dropbox synchronization or your enterprises
Alfresco is not only release their new feature for community user, but also release Desktop Sync Client in Alfresco Community 4.2a, Alfresco Enterprise or Alfresco cloud. Configuration in dropbox service will be easily recognized by Alfresco user, mainly the new feature of Alfresco Desktop Sync. 

20 Nov

Liferay MarketPlace

In August 2012, Liferay have officially launched their Liferay Marketplace to this world. Where, The Liferay Marketplace is an application store which designed specifically for Liferay users. A Liferay Marketplace initial is announced in May 2012 at the East Coast Symposium. Liferay, Inc. is a provider of open source portal and also leads in enterprises. This enterprise has offers more than 70 applications for enterprises use. Independent software vendors (ISVs) and other developers are requested by Liferay to begin build their application for Liferay Marketplace during a launching of Liferay Marketplace.

As the third party, the ISVs will support Liferay in creating the application as the next stage of Liferay step in developing Liferay Marketplace. ISVs will develop additional function of Liferay application in transaction and payment processing functionality. The availability of Liferay application in the market is an essential step for Liferay, in present high access to their user around this world. Additionally, Liferay Marketplace provides ISVs a new distribution channel in presenting their enterprise application to a global audience that includes over 500,000 deployments of the Liferay platform around the world.

Liferay application was able accepted the concept of application store from others application provider, such as Microsoft and Cisco. Instead of the concept of consumer space, Liferay was rising as a fixture of the enterprise user. In addition, people who are often used other application and opens Alfresco, will recognize Alfresco as a solution for their customer in finding and acquiring platform extensions. Liferay application have a simple application with its one-click capability to others application provider, especially customer who use a phones or their tablet.

As a formal Liferay Marketplace site, this site provides a dozens of application, templates, and themes. This market place content will support Liferay customer in expanding and straighten Liferay implementation. Presently, Liferay Marketplace site is providing application browsing based on their category or searching according its keywords.

       Liferay Marketplace site page
                             Liferay Marketplace site page

In Liferay Marketplace, visitor/ user will able to find the most popular application or detail information of application. ISVs have committed to providing their innovative application for Liferay Marketplace application store. In addition, instead of searching based on the keywords or the category, the customer was able review Liferay application and also downloads this application from public repository. Then, the user can runs this application, after installing this application in their local portal or Liferay portal. Therefore, it will adapted and broaden operation for Liferay user, simple and fast processing in technical or non-technical for the user.

Liferay's Chief Software Architect, Brian Chan, stated that, “Liferay Marketplace supports multiple goals we have wanted deliver over the last few years.”. Additionally, Liferay Marketplace is a solution for Liferay user in saving their times and their cost. "It greatly enhances our customers’ abilities to extend their existing web solutions in a manner that saves them on time and the costs associated with solution upgrades. Also, in keeping with Liferay’s longstanding commitment to creating value for the open source community, Liferay Marketplace aims to make it easier for a larger community of developers to share and distribute innovations as easily consumable modular applications.”, Chan said.

Liferay application store is not only for personal use, but this market place is also a place for the software vendor and Liferay developer in exhibit and sells their application functionality in developing for the portal. Application in market place must be running in Liferay 6.1 or later. Liferay carry out validation process to application component, before this application is publish for the customer. These validations are:

•    Checking by basic antivirus or malware

•    Clear application title, description, image or etc

•    Testing Functionality (basic test)

Even Liferay have performs for the malware checking, Liferay is does not guaranteed on malware free or pass the security standard procedure. However, this problem is not exclusive in Liferay application store. Organization in Liferay development and application validation function is expected not introducing any security issues.

“The Liferay Marketplace allows anyone to have their applications be seen and deployed by our users around the world,” Chan said. “We believe this will allow Liferay and the Liferay community to deliver more innovations faster than ever before to enterprise customers.”