DX Unified Infrastructure Management

Expand all | Collapse all

How to modify the login page in UMP to include extra information

  • 1.  How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 12:36 PM

    Hi all,

     

    I want to modify the login page of UMP to include extra information like company logo, company information, "demo" account username and password etc.

     

    Please let me know how to do the same.

     

    Regards,

    Amit Saxena



  • 2.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 02:05 PM

    Hi Amit,

     

    The same question I have asked several times ago. Als here in this forum. In standard Liferay environment there is a Content Portlet that you can use for the things you mentioned. Unfortunately Nimosft removed that specific portlet from their UMP implementation. Even in the new UMP251 it ihas not been included. The reason for this is not clear to me. I understand that you need it as nuch as we do. Let us keep asking them to get it back.

     

    See also: Question about UMP 2.0 - html-widgets

     

    Regards

    Ashley



  • 3.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 02:19 PM

    Hi Ashley,

     

    I am actively following your thread at http://forum.nimsoft.com/t5/General/Question-about-UMP-2-0-html-widgets/td-p/3893/highlight/true and like you and others, I am also eagerly looking forward to the inclusion of this feature. However my requirement might not require specific portlet / widget. I just want to modify the login page to include some text. Specially I want to mention to the end user that there is a user created in UMP with username as "demo" and password as "demo". Perhaps that might require modification of index.jsp . I can modify by editing it directly however I am looking for the standard and better approach.

     

    Regards,

    Amit Saxena

     



  • 4.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 02:39 PM

    Hi Amit,

     

    I think I understand what you mean. And with the Content Portlet I asume that is only 3 minutes work. You can add html input as you like whereever you like, not only your loginpage. With much control about the design. We also like to inform our customers with that same sort of infotmation as you mentioned. Blog, WiKi ,Forums and the other community portlets are much to complex for these easy tasks without any control over design. 

     

    nb. We do not like to make changes in jsp files when there is a simple solution for this. The only reponse I got sofar was that my request would be forwarded to the UMP productmanager. Have never heard an argument or a reason since.

     

    nb: After the introduction of UMP we have installed Liferay 5 / 6 test environment to get more experience and understanding of the UMP environment.

     

    Kind regards

    Ashley



  • 5.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 02:45 PM

    Hi Ashley,

     

    Ironically I earlier came across an online video of how Nimsoft on-demand works and in that video, the login page has a listing of two users, one as a demo user and one as administrator.

     

    I think the best idea would be to raise a wishlist and ask others to support the same by voting on it. Have you created yet ? If yes, let me know and I will support by voting for the same.

     

    Regards,

    Amit Saxena

     



  • 6.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 03:02 PM

    Hi Amit,

     

    In the support aera there is already a kind of wishlist: / feature requests: See

     

    https://na4.salesforce.com/ideas/viewIdea.apexp?id=08760000000GpDJ

     

    please give it some points...:-)

     

    Kind regards

    Ashley



  • 7.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 03:04 PM

    Hi Ashley,

     

    I "promoted" the idea from my side. Let's hope for the best :-).

     

    Regards,

    Amit Saxena

     



  • 8.  Re: How to modify the login page in UMP to include extra information
    Best Answer

    Posted Aug 19, 2011 06:39 PM

    Amit,

     

    The login information is displayed on the login page of the demo site by using the web content portlet. An HTML page was created elsewhere with that small amount of content, and the portlet just references that URL. This was added to the public pages.

     

    -Keith



  • 9.  Re: How to modify the login page in UMP to include extra information

    Posted Aug 19, 2011 11:51 PM

    Hi kruepke,

     

    Yes, there are some workarounds for this , but why not use the most logical feature that is  standard in all Liferay version. I do not understand.

     

    regards

    Ashley



  • 10.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 02, 2011 03:48 PM

    Hi Keith / Ashley,

     

    What I have observed that even after modifying the public page to include extra portlet to include web page, the UMP login page still reflects the usual home page. Only if I log in to UMP and then select public page, then only I am able to access the modified page with the web portlet.

     

    Please help.

     

    Regards,

    Amit Saxena

     



  • 11.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 02, 2011 04:32 PM

    Hi Amit,

     

    Did you add the web-content on the right cummunity adn page? That I find still the most confusing part of Liferay.

     

    It also could be an issue about the setting for the virual host settings in :

     

    1 - UMP-topbar / settings / Vitual Hosts / for public, private and guest (as I can remember I used: /group, /user adn /guest *)

    2 - Control Panel / settings / virtual host &  landing pages

    3 - and do not forget to clear the cache of your browser regularly

     

    * notes; I have changed these field several time because I had the same sort issues. Unofrtuantely after depoying the settings and checking the same menu-item, the setting did not show up. But apparently was active anyhow because since then it works.

     

    Ashley



  • 12.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 02, 2011 05:11 PM

    Hi Ashley,

     

    Hi Ashley,

    Here's the procedure I used for modification of a public page.

    1. Created a web page on external web server and refer it through http://external_ip/login.php . This web page prints username and the password information of the demo user.

    2. After that, I logged in to UMP with administrator user and then went to My Places -> My Community -> Public Pages

    3. I only had "Home" page there so I created a new page "Home1", set a 50-50 horizotal splitted layout and then added portlet SignIn on the left frame and Web Content on the right frame. I customized the web content for http://external_ip/login.php .

    4. Then I deleted "Home" page and renamed "Home1" to "Home"

    Now the issue is that when I access UMP through http://UMPIP:smileytongue:ort/ it only displays the login box however if I access it using http://UMPIP:smileytongue:ort/web/administrator/home , I get the page with two frame layout

    I also need to know how to create a demo user with a read only view of UMP that has an access only to the custom dashboards and performance reports designer.

     

    Also I could not get the settings mentioned by you in step 1 and step 2.

     

    Please help

    Regards,

    Amit Saxena

     



  • 13.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 02, 2011 05:29 PM

    Hi Armit

     

    I think you have created it on the wrong community/page. Again this I find the most difficult part of Liferay.

     

    What I do is this when I need to change the login page:

     

    1 - I go to control-panel

    2 - goto cummunity - (if this is a standard UMP you will probably find only one namen "Public pages")

    3 - select Manage page

    4 - selct View page

    5 - now you should have the page that guest will see

    6 add and configure your web-content portel

     

    Check by logging out and see if its is there...

     

    (note: while trying to help you with this issue I have tested it on my own environment but it does not show up anymore..:-).probably because of the setting I have made recently in the virtual hosts setting. So I have an issue myself now)

     

    In the way described above I have added the message_board on my home page (allthough I realy need a HTML/text portlet here as we discussed before . In the beginning I have used the iFrane portlet but was to workly for dynamic infromation like Service Messages etc..)

     

    Our portal can be found on http://portal.eremote.nl

     

    regards

    Ashley

     



  • 14.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 05, 2011 09:26 AM

    Hi Ashley,

     

    Thanks, it worked for me in my development instance where the UMP version is 2.1.1 (more details below).

     

    UMP development

    Version      = 2.1.1 Build Label  = UMP_211_GA Build Date   = April 26, 2011 12:06:47 PM MDT Build Number = 88

    However, it's not working completely in the production instance which however is on the version 2.1.0 (more details below).

     

    UMP production

    Version      = 2.1.0 Build Label  = UMP_210_GA Build Date   = March 15, 2011 2:55:26 PM MDT Build Number = 78

    For me, the "demo" account still had the control panel drop down etc available after logging in. The "demo" account was associated with the "Guest" ACL with an addition to the QoS permissions (so as to view performance reports designer). As the drop down was still reflecting, I went to Control Panel -> Communities -> Public Pages -> Look and Feel -> Regular Browsers and applied the current theme as "UMP Read-only". This resulted in only 3 drop drows for "demo" user as follows.

     

    1) Help

    2) Sign Out

    3) My Places -> My Community ->

              3.1) Public Pages

              3.2) Private Pages

     

    When I select Public pages, I do get all the drop down options along with the toolbar for "Add Page".

     

    Can you please confirm whether the steps which I am doing is right or not ? Apart from that, let me know how to remove options for public pages as well.

     

    Regards,

    Amit Saxena

     



  • 15.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 06, 2011 01:38 AM

    Hi Amit,

     

    Sorry for the delay...

     

    1 - we use UMP 2.5.1. now.  The first UMP was based on Liferay ver 5xx. UMP 251 is based on 6xx)

     

    2 - yes, I think you are on the right track, At least it is the same route I take ...again: I am not an expert on Liferay. I am just a Nimosft user trying to understand more of the Liferay concept.

     

    3 - I have earlier asked in this community about the possibility to get rid of the public pages, no way.. as I understand sofar. Allthough I think Liferay might be a solid platform for creating a web-based environment for the Nimsoft functions, I still have some doubts about the social & community accents in UMP sofar. Most of our customers have their own platforms for that kind of stuff and are not tempting to step over.

     

    4 - have installed several Liferay 5 & 6 versions to test the standard environment to understand better how it works and how it differs from the UMP.

     

    5 - the UMP read-only theme is the way I know that Nimosft provides for disabling control-panel menu's - you can select that for public and private pages, as you have discovered yourself allready. As far as I can recall: in standard Liferay you can do this similar with using groups, roles and permission. But UMP has some limitation in the administration right. And such limitation have always two sides...

     

    regards

    Ashley

     

     

     



  • 16.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 06, 2011 07:34 AM

    Hi Ashley,

     

    Thanks for the reply. From my experience so far, things are different in UMP versions 2.1.0 and 2.1.1 with reference to disabling the control panel menu.

     

    I might be wrong though however I feel that Liferay seems to be complex even for doing simple tasks like providing read only layout etc. I would have prefered a simple interface. The official UMP documentation does not talk much about Liferay in general.

     

    Regards,

    Amit Saxena

     



  • 17.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 06, 2011 06:12 PM

    You can remove public pages totally as well as private and alot of other options. Read the below link from liferay, this explains a lot to me.

     

    http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Properties+5.1.1#section-Portal+Properties+5.1.1-Layouts

     



  • 18.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 11, 2011 09:28 PM

    Hi Ashley,

     

    I have one more query regarding this. If UMP is configured in https mode (reference http://forum.nimsoft.com/t5/General/UMP-1-5-1-SSL-support/m-p/9559/message-uid/9559/highlight/true#U9559 ), then will the web page in web content portlet continues to be displayed even if the web page in web portlet is not https ?

     

    In other words, will the http version of the web page in web content portlet i.e. http://www.helloworld.com works in a UMP configured in https mode like https://UMPHost:IP/ ?

     

    Regards,

    Amit Saxena

     



  • 19.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 12, 2011 12:46 AM

    Hi Amit,

     

    Sorry, I am afraid I can not give you any suggestion on this issue. As said in the post you refer to, I have posponed that SSL issue until  UMP grow more mature.  And I am still hoping that Nimsoft will introduce a more easy way to handle security certificates in UMP in the near future, instead of crawling around and adding code in exotic tomcat/liferay files.

     

    Again a html-editor (fckeditor) funtion, instead of an url_link, in the webcontent_portlet would make life much easier as I would expect it be running under the same security cetrificate.

     

    regards

    Ashley



  • 20.  Re: How to modify the login page in UMP to include extra information

    Posted Sep 12, 2011 06:50 PM

    Hi Ashley,

     

    I tested the same in my development instance and confirmed that the http version of the web page in web content portlet i.e. http://www.helloworld.com works in a UMP configured in https mode like https://UMPHost:IP/ . IE gives a message box stating that there is at least one content in current https web page which is loaded with http and do the user wants to view only the secure web page or both secure and unsecure web page. Selecting "No" will do the trick. 

     

    I did some research on the internet and found that upcoming versions of popular browsers like Chrome 14 will not allow a https web page to be loaded if there is at least one element which is loaded in non-secure web page. More information can be found at http://news.softpedia.com/news/Chrome-14-to-Block-HTTPS-Mixed-Scripting-by-Default-206738.shtml .

     

    This is one more reason for Nimsoft to accomodate content widget in current version of Liferay used in UMP (Unified Management Portal) 2.5+ .

     

    Regards,

    Amit Saxena