How to place Chat widget in all the pages in Liferay DXP? - liferay-7

We are using Liferay DXP Portal for our customer facing website and we like to implement chat widget in all the pages.
If we click on chat widget then chat window is opening , this logic we have but we are stuck in implementing chat widget in all the pages to the right.
Eg, if customer navigates to any page in our site then he/she should see chat widget in the right side of the browser, I have attached screen for example.
How can I achieve this in Liferay DXP portal?

As Liferay also has their own chat on Marketplace, with the source code available, you can start there and look up its implementation: It's a portlet that gets added to all pages, and the code is on github. Note that with any #Activate, there's a #Deactivate, and you'll find it a few lines down (implement both!).
Another option is to implement your theme to statically and unconditionally include this portlet on your page.
This is assuming that you've implemented your chat as a portlet, of course.

Related

Shopify product tab and facebook description issue

I'm newbie on shopify and Right now I'm creating a shopify store. I'm facing two issues on my shopify store.
I'm using the paid theme and it does not have any tabs option on product page so from long time I'm putting the content by using simple HTML code (Ul/li tags) in the description box. But now I wanted to add a proper tab section because I have a lot of products and it takes a lot time to code every time for individual products. So please suggest some plugin or way to add tab sections on the product page backend. (I've no issues in paying for plugin as well)
Another issue is that my facebook is automatically picking up all the content from description and tabs as my shopify store is connected to facebook and whenever I try to add products on facebook it takes the complete content from description and tabs as well. I just wanted to put product description on my facebook and do not want to add tab content. (This could be because right now I don't have separate tabs section and I'm using html code in the description section to add the tab section on my shopify store)
So I'm hoping that separating a tab and description section will resolve my both issues. but If it doesn't resolve the issue then what option option I can try to resolve the facebook issue.
The best would be to start with a Shopify built theme.
Then you can arrange a chat with the Shopify Theme guys, they help you with lots of additional resources to tweak the theme. The support team for Shopify is very helpful.
Also, the FB channel within your Shopify page can be tweaked to solve this issue.

Chat Extensions on Facebook Messenger web app

Facebook just launched Chat Extensions and open-sourced an example extension called TaskBot, which works in a chat between two people. The Github repo is here, and the official docs are here.
I tried to play around with it. Works fine within mobile app. But not within the web app (via messenger.com). When I try to edit a task list, I get redirected to the page https://messenger-taskbot.herokuapp.com/lists/{id} and I have the following message:
So I guess there isn't going to be Chat extensions for messenger.com on browser yet?
Chat Extensions use webviews, and on "desktop" Facebook Messenger and messenger.com webviews open in new tabs. Chat Extensions rely on webview windows opening within the chat thread itself.
From the docs you linked to:
When the user taps the chat extension's icon, it opens a webview-based
UI specified by the developer. The user can then create or select
content to be shared into the thread. The message shared into the
thread can contain images, links, and more.
So yes, it seems that chat extensions are meant to be mobile only.

Don't open intercom messenger on load

I am integrating Intercom into my website, but when a user loads the page, the chat window automatically opens up. I have gone through their documentation, adding things like Intercom('hide'), turning off and removing auto messaging, etc, but the messenger still opens up. I have reached out to their customer support (on their own chat app) and no one has responded back or reached out. Kind of bad UX to have it open without anyone clicking the chat button. Anyone know how to disable this feature?
The answer is in one of their guides Customize the Intercom Messenger (technical) rather than the technical documentation:
First, you’ll need to hide the Messenger for all of your customers. Just visit your Messenger settings and deselect the options for turning the Messenger on.
Next, you’ll need to think about which users you’d like to show the Messenger to (for example, your VIP customers).
Finally, add the hide_default_launcher attribute to your intercomSettings object on your site. The value of thehide_default_launcher attribute should be true or false, depending on if you want to hide or show the launcher.
So hide_default_launcher is the key.
You can go to App Settings > Messenger Settings section and blank Welcome Message:
click to open an image

How to keep view state on navigation in GWT

I'm developing app for my home server. It's dashboard with several pages such as cloud, admin, mediacenter. On each page I have an iframe where appropriate app is displayed, for cloud it's owncloud, for admin is webmin etc. What I want is to keep page state when I navigate to another, I mean when I'm doing sth in cloud page and I navigate to another page and after that I navigating back to cloud, I would like to see the same state as I when I leaved, how can I archieve it? I'm also using GWTP framework.

One Facebook app multiple users

I'm thinking of a facebook app that fetches a website's content (already developed with my own web builder) and display in a custom facebook fan page format. Clients already using the Web builder will only have to add the App to their fan page and they have their website's content already plugged into facebook.
The problem I'm having is knowing how exactly to automate this process. I can't seem to find the "Add app to page" menu when you click the Gear Icon, and the link below gives an approach I can't be explaining to every client (video further down in the link)
http://onlinewealthpartner.com/add-facebook-application-fan-page/
My head might swirling from everything I've read so far, but I'm just easing into the facebook app development. Help/insight would be much appreciated.
If I understand, your central problem is to make it as user-friendly as possible for your users to add your app to their fan pages?
Bottom line is they would need to visit the link mentioned in your tutorial:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
However, since you're the one creating the Facebook Tab Application, then you would already have and could supply to your users the "app_id" and "next" parameters, so all they would need to do is click on the custom link you provide. You could even give them a button in your web builder. Your users would just click a button, go to this link, and pick their fan page in a drop down menu.