- using Workflow
- on Schedule
- With/Without Structure and Template
- on Staging/Production
Community:- Community is a logical group of users, who are having common interest or skill.
Organization :- Organization is used to manage users in hierarchical manner.
Get more information about Community and Organization from http://www.liferay.com/web/jorge.ferrer/blog/-/blogs/7858337
we will see how to create Simple Web content and how to access it with out of the box Web Content Display Portlet.
First open control panel by clicking on Manage–>Control Panel (From top horizontal navigation bar). You must be logged in to open the control panel.
- Personal (You will find various tools which are user specific like personal pages, account etc)
- Content (You will find various out of the box portlets (shown as various icon) scoped by community / organization like Web Content,Blogs,Wiki,Polls etc)
- Portal (You will find various tools to manage various activities in portal instance)
- Server (You will find various tools to manage various activities in server).
I would recommend looking at index page ‘A Complete Liferay Guide‘ to browse all topics about liferay.
Creating Community :-
- Click on Communities from portal section in control panel.
- You will find all created communities over here.
- To add new, click on Add button from right part of the page.
- Give community name as Nilang (Or whatever you want).
- Give appropriate description (like Community for Web content testing).
- Keep the type as Open (Which is by by default selected) and click on Save button without touching any other options.
- Public Pages (By default selected)
- Private Pages
- Settings.
Again under Public Pages there are another three links.
- Pages(By default selected)
- Look and Feel
- Export / Import.
Just below that, you will observe the name of the community (Nilang) and its right side, New Page section will be displayed.
Fact about friendly URL:-
- All public page’s friendly URL will start with /web.
- All private page’s friendly URL will start with /group.
- In above URL,Next to /web is /nilang. This is friendly URL of community(Nilang) and next to /nialng is /web-content which is friendly URL of this page.
- Liferay will automatically create friendly URL of page from its name (putting all alphabets in lower case and remove space with ‘-‘ (dash) character).
- Liferay also create friendly URL for community with same logic. (From communitie’s name, making all alphabets in lower case and replacing all space with ‘-‘ (dash) character).
- Click on Communities link from Portal section.
- Click on Action button and again click on Manage Pages.
- From the top three links (Public Pages(default selected link), Private Pages ,Settings), click on Settings.
- From the first link Virtual Host (By default selected), you will observe Friendly URL (/nialng) at the end of the page.
Creating Web Content for community Nilang
Now click on community Nilang. After clicking on community Nilang, you will observed the title of the content section will be Nilang (The selected community) as per below screenshot.

Now whatever content /other thing we will create, it will be scoped by Nilang Community (means it will be only available in Nilang community).
Now click on Browse Server button. You will see few default created folders (This folder are part of Liferay CMS and not the OS file system folder) as per below screenshot.
Click on 18-Liferay ( the number 18 may different in your case) and again click on Web Content folder in it.
Our web content is read to publish. Click on Publish button at the end of the page.On successfully published, you will see the entry of this web content as below.
Once Web Content Display portlet placed on page, we need to configure it to show the web content we published.
Click on Configuration icon at the end of the portlet window as per below screenshot.
On clicking on Configuration icon, it will show configuration pop up window where all published content will be displayed as below screenshot.
And its done. Our work is done. You will see our web content is being displayed by Web Content Display portlet as per below screenshot.
If you want, you can edit web content by just clicking on Edit icon shown at the lower left corner in above screenshot. On clicking on Edit link, it will open the web content in edit mode. Click on Return to Full Page on header section of web content or <<Back link to see all changes done.
For simplicity, I created content with just one line of text and one Image.
Try some hands-on with more rich content. In my next blog, I will show how to write more complex web content with the help of Structure and Template.
I would recommend looking at index page ‘A Complete Liferay Guide‘ to browse all topics about liferay.
How to know where are the files of full community’s project was creating…hmmm it’s correct to say these files are in a place of Tomcat (or any application server) ?
Thanks for your help ! 🙂
How to keep the url same on editing.
Please reply asap.