
Liferay 7: override Resource Permissions
by Stanislav on Saturday Jul 22, 2017
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 MoreTags: liferay

Alfresco Solr: enable search of special characters
by Stanislav on Monday May 01, 2017
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 MoreTags: alfresco

How to build Liferay theme using SDK and Ant
by Stanislav on Thursday Mar 23, 2017
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 MoreTags: liferay

Odoo 10 setup and debug in Eclipse
by Stanislav on Tuesday Jan 24, 2017
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 MoreTags: odoo

Liferay PHP Portlets: a few recommendations prior development
by Stanislav on Wednesday Dec 14, 2016
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 MoreTags: liferay

Liferay: Play Video in Popup Window
by Stanislav on Saturday Oct 15, 2016
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 MoreTags: liferay

Alfresco: extend Share javascript component
by Stanislav on Tuesday Sep 27, 2016
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 MoreTags: alfresco

Liferay 7 embed Language Portlet in Header
by Stanislav on Wednesday Jul 20, 2016
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 MoreTags: liferay

Linux PostgreSQL automated backups (Alfresco ECM as an example)
by Stanislav on Tuesday Jul 05, 2016
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 MoreTags: alfresco

Enable SSL https for Alfresco or any other web application
by Stanislav on Wednesday Jun 08, 2016
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 MoreTags: alfresco

Alfresco CAD (dxf, dwg) preview support
by Stanislav on Tuesday Apr 05, 2016
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 MoreTags: alfresco

Софт 29: Основные направления деятельности
by Stanislav on Tuesday Mar 01, 2016
Компания Софт29 является одним из ведущих экспертов по внедрению систем электронного документооборота на базе Alfresco и корпоративных порталов на Liferay по Северо-Западному округу и другим регионам РФ, в том числе г. Москва, Санкт-Петербург
Read MoreTags: company

Liferay 7 alpha/beta ServiceBuilder
by Stanislav on Sunday Jan 31, 2016
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 MoreTags: liferay

Alfresco: resolve node path programmatically in Java
by Stanislav on Thursday Nov 19, 2015
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 MoreTags: alfresco

Alfresco basic content operations in Java
by Stanislav on Wednesday Oct 28, 2015
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 MoreTags: alfresco