Our Company's Blog

...

Liferay 7: override Resource Permissions

In Liferay 6 when you needed to change default permission set for some resource, then Ext plugin could be used to override such definitions. The reason of Ext using was the point that all permission definitions were stored in portal-impl.jar and Ext was the only way to override it. Starting from Liferay 7 the portal is moving to OSGi architecture where the other rules take place. Since now each OSGi module (e.g. Calendar) has its permissions defined in its own module, and not in the core of the portal. That’s why a new approach should be applied and this post shows how to achieve this.

Read More

Comments (4)

Tags: liferay

...

Alfresco Solr: enable search of special characters

Alfresco’s out of the box search engine Solr is configured in a way that searching of special characters is disabled by default. So, for instance, if you would like to find all documents in a system containing “c++” string then you may get tons (depending on the uploaded documents amount) of results that contain “C”-character without “++”-signs in its name and content: document content Fusce dapibus, tellus ac cursus commodo, search key c++, results “Fusce”, “ac”, “cursus”, “commodo”. In order to configure the correct search behavior please follow down to read current post.

Read More

Comments (0)

Tags: alfresco

...

How to build Liferay theme using SDK and Ant

Liferay Theming is a very common Liferay technology that widely used to define the look of a portal. It consist of different sets of Javascript, CSS and HTML delivered as a single WAR-file, which should have a special folder structure and configuration files. To create and build such WAR, Liferay SDK can be used that is designed to automate the process of Liferay Theme development. This article describes how to build already existing Theme and customize it using Liferay SDK Ant builder.

Read More

Comments (0)

Tags: liferay

...

Odoo 10 setup and debug in Eclipse

Hi everyone, I’m writing this post to describe an installation process of Odoo and its debug in Eclipse IDE on Windows. There are articles exist on the internet dedicated to this theme, but none of them covers this task in relation to Odoo version 10. Odoo 10 differs from the other versions, plus it ships with another set of setup files, so if you’re interested in detailed description of Odoo setup in Eclipse – this post may be helpful.

Read More

Comments (1)

Tags: odoo

...

Liferay PHP Portlets: a few recommendations prior development

It’s well known, that Liferay includes special types of portlets called PHP Portlets which allow to use a standard PHP code in order to provide desired functionality. But there are some issues may occur during PHP-portlet development that are not so evident to fix and find a solution on the internet. Such common issues are covered in this post, solutions to them are also provided.

Read More

Comments (0)

Tags: liferay

...

Liferay: Play Video in Popup Window

During Liferay customizations one may need to embed playable videos to portal: to a body of a page or to a popup. There are different posts exist on the internet about how to create a popup in Liferay, but none of them covers this common task – a video within a window. And in this article we’ll see 2 short ways how we can accomplish that.

Read More

Comments (0)

Tags: liferay

...

Alfresco: extend Share javascript component

There is very common task that many developers face during Alfresco Share customization – how to extend client side javascript of a Share component. We all know that Alfresco combines for a component both server side javascript as well as a client side JS. For the first case Alfresco provides Module extension approach to alter server side JS and for the second case – the answer is not so clear. Sure we can modify core JS files directly on a web server, but it’s a bad practice since they can be later overwritten during Alfresco update, so it’s better to use extensions keeping changes in separate files. In this article we’ll take as an example the core Discussions Dashlet and then modify its client side javascript code.

Read More

Comments (6)

Tags: alfresco

...

Liferay 7 embed Language Portlet in Header

Hey there, the new Liferay 7 is out now. With this version we become a brand new concept (which implements the OSGi specification) of Liferay Plugins development and integration within a portal. Having OSGi implemented, Liferay moves from a hack-like style of Plugin management, where each Plugin is a separate web application stored as a war-file on an app server, to a much cleaner concept. There are many global changes in Liferay 7 and in this post we’ll see how to insert Language Portlet to custom Theme header in accordance with this new architecture.

Read More

Comments (3)

Tags: liferay

...

Linux PostgreSQL automated backups (Alfresco ECM as an example)

One of the common tasks for any online business is to keep its data consistent. To achieve this task a database backing up technique can be used. PostgreSQL is a wide spread DBMS that is very popular within web application world and in this guide we’ll see how to automate backups creation process for PostgreSQL on Linux taking as an example Alfresco ECM web application.

Read More

Comments (0)

Tags: alfresco

...

Enable SSL https for Alfresco or any other web application

Enabling of SSL-secured connection for some web application (Alfresco ECM, for instance) is a very common task within web community. That’s right, most of the companies running their own business over the internet require a protection of exchanged data. In current post I’ll show how to switch on such connection by means of Apache Web Server.

Read More

Comments (2)

Tags: alfresco

...

Alfresco CAD (dxf, dwg) preview support

Hey there! Recently I got a chance to implement CAD format (DXF, DWG) support within Alfresco Share 5.0 so users could preview engineering documents. What’s an Alfresco previewer? The main concept lying behind it is to convert all variety of complex formats (doc, excel, txt, etc.) to a single one – PDF which is then can be rendered by Alfresco previewer. To handle word/excel/other conversion OpenOffice is used, to support DXF and DWG we need to find an appropriate CAD to PDF converter. To do this I will take a look at existing converters, evaluate them and show how to inject one of them to Alfresco to provide the preview of engineering drawings. This solution will work on Alfresco 5 (4th should also be fine) on Windows and Linux.

Read More

Comments (10)

Tags: alfresco

...

Софт 29: Основные направления деятельности

Компания Софт29 является одним из ведущих экспертов по внедрению систем электронного документооборота на базе Alfresco и корпоративных порталов на Liferay по Северо-Западному округу и другим регионам РФ, в том числе г. Москва, Санкт-Петербург

Read More

Comments (0)

Tags: company

...

Liferay 7 alpha/beta ServiceBuilder

Hey, we are all watching with great interest to the first coming stable Liferay 7 release (link). By now alpha and even beta releases are available for testing, they include new cool features and improvements. But still some old functionality is not migrated to the new releases. In this post I’ll talk about ServiceBuilder which is still not officially published and is missing in current alphas and betas. Anyway it is possible to find and use Liferay 7 ServiceBuilder (in liferay-ce repository). In this post I’ll show how to do it.

Read More

Comments (0)

Tags: liferay

...

Alfresco: resolve node path programmatically in Java

If you have a requirement to retrieve a particular Node path within an Alfresco repository by means of Java then this article for you. Also I’ll show how to get a subpath of this path and use it in Lucene search queries.

Read More

Comments (0)

Tags: alfresco

...

Alfresco basic content operations in Java

The post is dedicated to the task of file (content) operations (create, search, copy, aspect management) in Alfresco Java. As an example is taken some production case which demonstrates how to implement all these operations.

Read More

Comments (0)

Tags: alfresco