For the purpose of this article, we will use an intranet website called book.com which is created for a fictions company named “Palm Tree Publications”.
In order to let employees enjoy chatting and instant messaging with others, we should use the Liferay Chat portlet. Let’s experience how to enjoy chatting and instant messaging first.
As an administrator of “Palm Tree Publications”, you need to create a Page called “Instant Messaging” under the Page, “Community“, at the Book Lovers Community and also add the Chat portlet in the Page, “Instant Messaging“.
First of all, log in as “Palm Tree” and do the following:
After adding the Chat portlet, you can view it as shown in the following figure.
Then, we need to add a participant in the Chat portlet. As an editor at the Editorial department, “Lotti Stein” wants to ping the manager, “David Berger“, online and further share some comments about Liferay books. Let’s do it as follows:
You will see the participant’s full name appear, such as “David Berger“. After adding more participants, such as “John Stuckia” and “Rolf Hess“, you can view all participants as shown in the following figure.
All the Users you’ve invited will appear as a list of participants. If the User “David Berger” is online ,then the icon to the left of the User name becomes light blue. Otherwise, it remains light gray; for example, User “John Stuckia”. As shown in the following figure, only two Users (“David Berger” and “Lotti Stein“) are online in the server. For details about OpenFire, refer to the forthcoming section.
The participants are removable. For example, “Lotti Stein” wants to remove a participant “Rolf Hess“, from the list of participants. Let’s do it as follows:
In short, to remove a User from the list of participants, simply locate the User you want to remove by clicking on the icon to the left of the User name. Then, click the Remove icon. The selected User name will be removed from the list of participants.
Irrespective of whether the participants are online or not, you can begin to Chat with them. For example, as an editor of editorial department, “Lotti Stein” wants to start chatting with the manager, “David Berger“. Let’s do it as follows:
As a manager of the editorial department, “David Berger” will have to do the following, to receive the messages from “Lotti Stein“:
Generally, to start chat, locate the User you want to chat with, by the User name first. Click on the User name link. A Chat box will appear. You can chat with many Users at the same time. To do this, just click on the Users‘ name link. Each Chat box is only for one unique User.
The Chat box contains the User’s name on the upper left. You can close the current Chat box by clicking on the mark X to the upper right.
Note that the Chat box is hidden in your current Page initiatively. Whenever a new message comes from the User, you are chatting with, the Chat box will pop up with the new message and possible previous messages.
To send messages, simply input your messages in the message input box first, and then press the Enter key. Your messages will appear starting with the keyword, Me, in the message box, and the messages sent by the other Users will appear starting with their User names.
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…