To implement popup on popup in liferay is quite simple. We need to have 2 pages one parent page on which 1st popup is already opened and 2nd page which will be opened in 2nd popup.For 1st page call:function parentPage(url) {var popup = Liferay.Popup({stack: true,draggable:false,title: 'Parent Page',position:[110,50],modal:true,width:450,height:365,url:url});}here stack:true property is important which is responsible for pop on popup.url is which page we want to load . It can be portlet url. Other parameters are self explanatory.In...
Free Wallpapers Collections Site
Click Here Go to Wallpapers Collections Site.
This is default featured slide 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
This is default featured slide 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Thursday, March 29, 2012
popup in liferay
To implement popup on popup in liferay is quite simple. We need to have 2 pages one parent page on which 1st popup is already opened and 2nd page which will be opened in 2nd popup.For 1st page call:function parentPage(url) {var popup = Liferay.Popup({stack: true,draggable:false,title: 'Parent Page',position:[110,50],modal:true,width:450,height:365,url:url});}here stack:true property is important which is responsible for pop on popup.url is which page we want to load . It can be portlet url. Other parameters are self explanatory.In...
popup in liferay
To implement popup on popup in liferay is quite simple. We need to have 2 pages one parent page on which 1st popup is already opened and 2nd page which will be opened in 2nd popup.For 1st page call:function parentPage(url) {var popup = Liferay.Popup({stack: true,draggable:false,title: 'Parent Page',position:[110,50],modal:true,width:450,height:365,url:url});}here stack:true property is important which is responsible for pop on popup.url is which page we want to load . It can be portlet url. Other parameters are self explanatory.In...
popup in liferay
To implement popup on popup in liferay is quite simple. We need to have 2 pages one parent page on which 1st popup is already opened and 2nd page which will be opened in 2nd popup.For 1st page call:function parentPage(url) {var popup = Liferay.Popup({stack: true,draggable:false,title: 'Parent Page',position:[110,50],modal:true,width:450,height:365,url:url});}here stack:true property is important which is responsible for pop on popup.url is which page we want to load . It can be portlet url. Other parameters are self explanatory.In...
Hiding portlet in liferay
Simple Approach:It is very difficult to hide or show portlet at user level. To get rid of these type of problem liferay provide us Roles. So we can create roles and on those roles we can easily assign permission on each portlet.Creating role in liferay is very simple.Just login as Admin and using dock navigate to control panel , click on Role from left panel and then click Add...for more details refer portal administration guide from liferay.Once this is done click on define permission and select portlet permission.e.g. Suppose you want to remove...
Hiding portlet in liferay
Simple Approach:It is very difficult to hide or show portlet at user level. To get rid of these type of problem liferay provide us Roles. So we can create roles and on those roles we can easily assign permission on each portlet.Creating role in liferay is very simple.Just login as Admin and using dock navigate to control panel , click on Role from left panel and then click Add...for more details refer portal administration guide from liferay.Once this is done click on define permission and select portlet permission.e.g. Suppose you want to remove...
Hiding portlet in liferay
Simple Approach:It is very difficult to hide or show portlet at user level. To get rid of these type of problem liferay provide us Roles. So we can create roles and on those roles we can easily assign permission on each portlet.Creating role in liferay is very simple.Just login as Admin and using dock navigate to control panel , click on Role from left panel and then click Add...for more details refer portal administration guide from liferay.Once this is done click on define permission and select portlet permission.e.g. Suppose you want to remove...
Hiding portlet in liferay
Simple Approach:It is very difficult to hide or show portlet at user level. To get rid of these type of problem liferay provide us Roles. So we can create roles and on those roles we can easily assign permission on each portlet.Creating role in liferay is very simple.Just login as Admin and using dock navigate to control panel , click on Role from left panel and then click Add...for more details refer portal administration guide from liferay.Once this is done click on define permission and select portlet permission.e.g. Suppose you want to remove...
Reading tempelates in liferay
Brief Overview:If we see in existing liferay source code then we can find the email tempelates regarding create account and forgot password in com/liferay/portlet/admin/dependencies/ and they are read from there.In 1 case I can tell you from UserLocalServiceImpl and corresponding entry for each tempelate is there inportal.properties Enough theory time to do your self:1.Just create a folder in ext-impl may be u can choose this path ext-impl\src\com\mytempelate2.Write a simple tempelate eg:Dear [$TO_NAME$],<br /><br...
Reading tempelates in liferay
Brief Overview:If we see in existing liferay source code then we can find the email tempelates regarding create account and forgot password in com/liferay/portlet/admin/dependencies/ and they are read from there.In 1 case I can tell you from UserLocalServiceImpl and corresponding entry for each tempelate is there inportal.properties Enough theory time to do your self:1.Just create a folder in ext-impl may be u can choose this path ext-impl\src\com\mytempelate2.Write a simple tempelate eg:Dear [$TO_NAME$],<br /><br...
CK editor in Liferay 6.0
Follow these 4 simple steps.Step 1.Add below line on your page<liferay-ui:input-editor width="80%" />.Step 2.Create hidden variable to set the value of CK editor like below<aui:input name="content" type="hidden" />Step 3.Add javascript init method like this<aui:script>function <portlet:namespace />initEditor() {return "<%= UnicodeFormatter.toString(content) %>";}</aui:script>Step 4:On submiting form we can assign CK editor value like thisfunction <portlet:namespace />saveEntry() {var message = window.<portlet:namespace...
CK editor in Liferay 6.0
Follow these 4 simple steps.Step 1.Add below line on your page<liferay-ui:input-editor width="80%" />.Step 2.Create hidden variable to set the value of CK editor like below<aui:input name="content" type="hidden" />Step 3.Add javascript init method like this<aui:script>function <portlet:namespace />initEditor() {return "<%= UnicodeFormatter.toString(content) %>";}</aui:script>Step 4:On submiting form we can assign CK editor value like thisfunction <portlet:namespace />saveEntry() {var message = window.<portlet:namespace...
Apply Color Schemes in Liferay Theme
Apply Color Schemes in Our ThemeThe technique documented here creates a "color scheme" that has the borders turned off, but preserves the other attributes of the theme, and does so with a single CSS source set (allowing for easier maintenance). It uses a CSS design pattern known as "CSS sub-class selectors." Note that this technique can be used for more than just borders. It can be used when you have several very small variations on a single theme, and you want to keep all of those variations in a single source file. Step1. import the color...
Apply Color Schemes in Liferay Theme
Apply Color Schemes in Our ThemeThe technique documented here creates a "color scheme" that has the borders turned off, but preserves the other attributes of the theme, and does so with a single CSS source set (allowing for easier maintenance). It uses a CSS design pattern known as "CSS sub-class selectors." Note that this technique can be used for more than just borders. It can be used when you have several very small variations on a single theme, and you want to keep all of those variations in a single source file. Step1. import the color...
Enable OpenOffice in liferay
To enable document conversion in the Document Library portlet, follow the instructions bellow:For Windows user1) Install OpenOffice.org v2.0.3 or higher (has been tested on many versions, include 3.2).2) Go to the folder where it was installed (for example, C:\Program Files\OpenOffice.org\program) and start OpenOffice service with the following command:soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizardFor Linux user1) ...
Enable OpenOffice in liferay
To enable document conversion in the Document Library portlet, follow the instructions bellow:For Windows user1) Install OpenOffice.org v2.0.3 or higher (has been tested on many versions, include 3.2).2) Go to the folder where it was installed (for example, C:\Program Files\OpenOffice.org\program) and start OpenOffice service with the following command:soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizardFor Linux user1) ...
Liferay’s Web Content Management
Liferay’s Web Content Management (WCM) is a system which allows non-technical users to publish content to the Web without having advanced knowledge of Web technology or programming of any sort. Liferay Content Management System (CMS) empowers you to publish your content with a simple point-andclick interface, and it helps you to keep your site fresh.You can use WCM to author both structured and unstructured content. Unstructured content is authored using an HTML-based WYSIWYG editor. Structured content is authored and displayed by combining Web...
Liferay’s Web Content Management
Liferay’s Web Content Management (WCM) is a system which allows non-technical users to publish content to the Web without having advanced knowledge of Web technology or programming of any sort. Liferay Content Management System (CMS) empowers you to publish your content with a simple point-andclick interface, and it helps you to keep your site fresh.You can use WCM to author both structured and unstructured content. Unstructured content is authored using an HTML-based WYSIWYG editor. Structured content is authored and displayed by combining Web...
Portal Architectur

In the illustration below, each arrow may be read using the words “can be a member of.” It is important to note that the diagram illustrates only users and their collections. Permissions ` do not flow through all of these collections; permissions can be assigned to roles only. The following concepts are used throughout Liferay:· ...
Portal Architectur

In the illustration below, each arrow may be read using the words “can be a member of.” It is important to note that the diagram illustrates only users and their collections. Permissions ` do not flow through all of these collections; permissions can be assigned to roles only. The following concepts are used throughout Liferay:· ...
Liferay Basics
Liferay is a portal server. This means that it is designed to be a single environment where all of the required applications (represented by individual portlets) can run, and these applications are integrated together in a consistent and systematic w...
liferay portal quick start guide
http://content.liferay.com/4.0.0/docs/quickstart/quickstart.pdfhttp://www.liferay.com/quick-starthttp://docs.liferay.com/portal/5.1/official/liferay-quick-start-guide-5.1.pdf&nb...
Liferay Basics
Liferay is a portal server. This means that it is designed to be a single environment where all of the required applications (represented by individual portlets) can run, and these applications are integrated together in a consistent and systematic w...
liferay portal quick start guide
http://content.liferay.com/4.0.0/docs/quickstart/quickstart.pdfhttp://www.liferay.com/quick-starthttp://docs.liferay.com/portal/5.1/official/liferay-quick-start-guide-5.1.pdf&nb...
What is the Liferay bundle
The Liferay Bundle is Liferay Portal pre-deployed and pre-configured on an application server. You simply download, unpack, and run. No configuration necessary, other than having Java runtime installed on your machine. It comes in many different varieties. The most common is the Tomcat bundle. As of Liferay 5.1.1, these are the bundles available:· Geronimo+Tomcat· Glassfish 3· Glassfish 2 for AIX· ...