I am using Liferay Portal 6.2CE GA3 tomcat bundle.
I have created web content and I want to export the specific web content. But there is no option to select the specific web content. I have the only option to select on date of creation range. Can any one know how to export a specific web content?
Take a look at the image I've uploaded.
After selecting the specific web content on the edit web content page, there is a gear icon on the right top which provides users with the export option.
Related
I am looking solution to export/import site structures in Liferay 6.2.x.
Currently, Liferay supports the export/import of organization, roles, and user groups structures.
Liferay does allow Export/Import of Site pages as .lar file.
Control Panel -> Sites -> Click on the site that you want to export.
Please select Pages -> Site Pages in left side.
You will see that public pages tab get selected in right side. Make sure you select the first item, "Page Pages" in the pages hierarchy.
There should be a link "Export"
Please click on Export and select the option "Choose Content" if you do not want the data to be exported.
You can click on "Change" for Date Range and select in such a way that no data required to be included. Export as .lar file and then import to the target server, which again should be of same liferay version as source.
Another great option to use is Remote Publishing. This link provides some details for you.
http://www.liferay.com/en_GB/web/swerlen/blog/-/blogs/liferay-remote-publishing-troubleshooting
I have created a liferay portal website with web content portlets on each page and each page having theme.
I am able to export the lar file successfully but when I am importing it on another system, I get an error if I import the file without changing any options. It says that transfer has failed. And if I uncheck all applications and uncheck all COntent before importing, the lar file is successfully imported but while running it, only the theme is displayed and data from web content portlets is not present. THis I think is because I had unchecked web content portlet option in both Content and Applications. But without unchecking all these options,the transfer fails everytime.
What should be done?
If it is fine to overwrite in target environment, then choose select box "Delete portlet data before Importing". That will delete existed data and imports new data.
Note: Take backup of database before trying above solution.
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 have an issue: gather configuration of the WebPart before add it to a page. For instance, the Silverlight Web Part has the same behaviour. It show modal dialog with asking to enter path to .xap file.
The enviroment is SharePoint Foundation/Server 2010.
I hope that you has already solved this problem. Please share you solution, whever is has been solved or not.
Thanks.
Web parts properties and configuration are stored in the web parts .dwp file which is just an xml file.
You can manually setup your web part then export the .dwp file via the web part menu. If you examine it in a text editor you will be able to identify the configuration.
You can then import the pre-configured web parts .dwp file using the Add new web part link (can't give you exact instructions as you didn't specify SharePoint 2007 or 2010) or you can import it into the web part gallery so it will be automatically used with "Add new web part"
Is it possible to put a Content Editor Web Part in a sharepoint app page along with the ability to edit the web parts contents from the browser? In other words have it behave as it would on a web part page.
I can get the web part to show but I have no clue if it can be setup for in browser editing on the application page ... I can't get it to show the edit button.
Jay
You can put a Content Editor WebPart on an application page because it's just a special kind of web control, but there is no web part manager on the page and even if you added one it would not have a record in a content database for the page. So it would not know where to store the information.