I have created a web content using default test user in Liferay 6.2 GA2. I want to export that web content to the LAR file. When I go to Admin -> Content where all the web contents are listed, I am not able to see any export option on this page.
I do see export option in web content display portlet. Can anybody throw some light on what I am doing wrong? Thanks in advance!
Related
I can't add normally a web content display or other portlet like form etc ...
I am using LIFERAY 7 and Hypersonic as database
Here is a gif image that shows the problem
Try restarting the portal. Clear browser cache. Try adding the portlets to new page. This shall help.
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.
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 use Liferay to manage web content. I would like my end users to create web content but I don't want them to go to back office to manage it.
So I would like a portlet that I can setup in public pages and which allows the end users to create web content directly in public pages.
Is there a simple way to do it using Liferay 6.1 or code is needed ?
Have you tried OOTB Web Content Display portlet? You can add Web Content Display portlet on any page and content can be created in that portlet itself which on publishing(if no workflow involved) will be visible on the page.
If Sandeep's answer is not what you're after (but I suspect it is) then you can write a custom portlet that uses Liferay's JournalArticleLocalServiceUtil methods to interact with Liferay Web Content. However I'd go with Sandeep's suggestion first as it doesn't involve coding! :)
If you want to develope another webcontent portlet as avaiable in control panel. You have to go for custom portlet creation and use the db tables like JournalArticle, JournalArticleImage, JournalArticleStructure and JournalArticleTemplate.
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"