DX Unified Infrastructure Management

  • 1.  Enabling Liferay Webcontent Display portlet - How To?

    Posted Jan 06, 2013 07:20 PM

    From the start of UMP I have been posting issues about a way to enable the standard Liferay webcontent (CMS) features in UMP. Unfortunately never had a response (or explanation or reason) from productmanagement why they keep leave out these very powerful and handy portlets that are standard in Liferay. Instead UMP productmanagement persist in adding collaboration portlets that were are very appreciated as I understand the responses on all my post over the years. Also features-request were neither successful sofar.

     

    Instead we were forced to seek for a work-around and it appears to be possible to cerate html-files under the C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\ROOT\html\common  directory. Not an elegant way to do but it worked.

     

    Now after a new attempt to solve this issue, based on a tip of Les Hull in a private message, here is a solution that seems to work. Not found earlier on the forum as far as I know and I am testing it now - so far so good. We have UMP 6.0 running and I hope it will works also with future UMP versions.

     

    1) go to the UMP server and look for the file liferay-display.xml  (can be found under C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\ROOT\WEB-INF\liferay-display.xml)

     

    2) open this file for editing and look for the lines: (on the top of the file)

     

    <!-- <category name="category.cms"> <portlet id="20" /> <portlet id="31" /> <portlet id="56" /> <portlet id="59" /> <portlet id="62" /> <portlet id="64" /> <portlet id="71" /> <portlet id="73" /> <portlet id="77" /> <portlet id="85" /> <portlet id="101" /> <portlet id="102" /> <portlet id="110" /> <portlet id="118" /> <portlet id="122" /> <portlet id="141" /> <portlet id="148" /> </category> -->

     

     

    uncomment it and it becomes:

     

    <category name="category.cms"> <portlet id="20" /> <portlet id="31" /> <portlet id="56" /> <portlet id="59" /> <portlet id="62" /> <portlet id="64" /> <portlet id="71" /> <portlet id="73" /> <portlet id="77" /> <portlet id="85" /> <portlet id="101" /> <portlet id="102" /> <portlet id="110" /> <portlet id="118" /> <portlet id="122" /> <portlet id="141" /> <portlet id="148" /> </category>

     

    3) Restart the robot / wasp and you have a bunch of CMS portlets extra available including the Webcontent Display including an embedded html-editor.  

     

    Using the Webcontent Display portlet gives you the ability to edit and create html content (beside others), wich is very handy when you like to inform your customers about the function or features of the specific page they are visiting.

     

    Although I am still testing it - ie if it is not conflicting with other custom UMP features - I have no idea why these powerfull Liferay features have never been standard enabled in UMP and any post (me and others) have never lead to any response of producmanagement or a tip or hint to this solution: uncommenting a peace of code in one specifc file.  - it appears it was always there but it just needed to be released :-(

     

     

    Hope you enjoy the CMS features as much as  I do.

     

    regards

    Ashley Pietersen

     

    And thanks again to Les Hull for this solutions.



  • 2.  Re: Enabling Liferay Webcontent Display portlet - How To?

    Posted Jan 09, 2013 12:32 PM

    Hi Ashley,

     

    Thanks for sending these details. I don't have a development environment available so can't test it right now but will surely try it whenever it is available.

     

    Just for reference, apart from "web-content", what are other portlets which were commented earlier and now available when it is uncommented ?

     

    Regards,

    Amit Saxena

     



  • 3.  Re: Enabling Liferay Webcontent Display portlet - How To?

    Posted Jan 09, 2013 12:42 PM

    Hi Amit,

     

    see image below:

     

    cms-portlets.PNG

     

    Hope you enjoy it too - using the Webcontent Display saves a lot of time and configured text/html appears to be available after upgrade to UMP 6.2 (wich I am in the proces of doing right now)

     

    Ashley



  • 4.  Re: Enabling Liferay Webcontent Display portlet - How To?

    Posted Jan 09, 2013 02:10 PM

    Hi Ashley,

     

    Thanks for the screenshot.

     

    I am also waiting for the VMs so that I can install and try this.

     

    Regards,

    Amit Saxena

     



  • 5.  Re: Enabling Liferay Webcontent Display portlet - How To?
    Best Answer

    Posted Jan 11, 2013 01:12 PM

    Have also uncommented some other categories , see image 1 - (especialy the Alert box might also be interesting, see image 2, portlet-id=39)

     

    portlets-1.PNGalerts-1.PNG