Please explain for me why need make the Message Boards Admin Portlet that we can use tag in Message Boards Portlet to show in Control Panel.
I have read Liferay source code and didn't found any thing different between 2 portlet without view page.
Thank you!
Related
I'm new to liferay.
I imported a big lar into my liferay instance but, for the moment, have none of the required portlets : there are a lot of portlets in the project I'm joining.
Currently, I have the site structure, but the pages display the message that the portlet is not here (logical).
For comprehension purposes, I wanted to build my portlets one after the other, on the need, to see them appear by the grace of liferay ;-)
But for that I wanted to know which portlet is missing.
This thread : How can i find - which portlets are deployed on which pages in Liferay 6.1? explain how to achieve this through the DB.
Is there really no built-in solution to do it through the liferay interface? Have we really to hack in the DB to get the info or install plugin?
Thanks!
In your browser console, Liferay.Portlet.list contains all portlets in the page.
This value is generated by themeDisplay.getLayoutTypePortlet().getAllPortlets() on the server.
As an alternative you can also look at the HTML code of the page and look for elements with the class portlet-boundary. For example this belongs to an instance of the Journal Content Portlet (Portlet name 56):
<div class="portlet-boundary portlet-boundary_56_ portlet-static portlet-static-end portlet-borderless portlet-journal-content full-screen" id="p_p_id_56_INSTANCE_WdRdMGe86kDa_">
I have the next requirement: every user can change position of portlet in a page but this change is only applied for this user no for all. I know that it is possible with layout and it works fine (the portlets are possible move ), but my main problem is when "x" user changes the position of a portlet because it is applied for all users. so you have any idea for how do I this?
I work with liferay 6.2 CE
From liferay 6.1 onwards,it provides for page customizations,where in admin can defined certain sections of the page layout as customizable allowing users to add/move/delete portlets,in specific sections.These changes will be specific to the particular user and will not be visible for others.The user has the option to anytime view the default page or to reset his customizations as well.
In order to enable this,Edit page->customization settings->Show Customizable settings and check the required sections.
Please refer the Liferay documentation for further details.
Can any one please guide me that how can we render the custom web page view in the portlet?
For example, I have a input text box in my where user can enter the target URL and on click of the submit button the portlet content should display the target URL page.
I don't want to use the existing core portlet (IFrame). I need to design my own with some business logic.
Any guidelines or suggestions on how to render a webpage in the portlet?
This sounds like a question on how to build a basic portlet. Please check a tutorial (step-by-step).
If this is not your question, please specify further - your question is way too broad to assume that you have a specific (other) problem.
I am using web content portlet to develop a portal.
Each page has common theme (which includes header and footer) and we have many portlets placed on each page.
One of the portlet on right side is menu which is common on many pages.
I could have kept it as a part of theme but the menu can be subject to change in future and the end user who will be handling the portal is non-developer.
So if they want to change some data in that menu portlet, they will have to change it on every page which leads to duplication of effort.
Like I said, since end user is a non-developer, I cannot make that portlet part of the theme.
So is there any way where one web content portlet be created once and used on many pages?
You can embed web-content in theme as per link
Here articleId as in above link, you can set in theme-setting, refer to link
I have found a solution right now. If anyone has abetter solution than this..they are most welcome. I would like people to share alternate and better solutions
I am using Liferay 6.2
What I did was added a new web content display portlet which like I said created a new blank web content display portlet.
So my usual method was to add content to this portlet. THis was the method I followed. You can click on Select Web Content button and then select the already created portal from the list and you are done. NO need to create duplicate portlets
I'm looking for the Related Content portlet in Liferay, and in particular for Social Office. I know about the Asset Publisher and Related Assets portlet. But I can seem to find the Related Content portlet? I'm using 6.1 CE of Liferay and I just installed the newest Social Office CE yesterday. Was this portlet removed/deprecated?
This page claims that there is this feature: http://www.liferay.com/products/liferay-social-office/features
And this page says the portlet should already be there. But I don't see it.
http://www.liferay.com/documentation/social-office/2.0/user-guide/-/ai/lp-2-0-soen01-social-office-features-0
Any help would be great. Thanks.
Related Assets will only display when there actually are related assets. Further, AFAIK it will not show when you show all blogposts (the documentation says it's on the Blogs page), but when you select one article.
Alternatively, if you have sufficient permissions, enable "Edit Controls" in the dockbar and the portlet will appear (greyed out and without content).
Another alternative, if it indeed is not there, you might be able to change the social office site template and add it to the template.