WhatsApp Multi Agent - modification

Hello I am attaching an image, as you see in the red squared part the name of the user is cut. I would like to know if it is possible to create a new line and move the [user] part below.
Thanks
5 years 3 months ago #1 by diogene

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5262) Offline
Hmm it should automatically create new line when the text length exceeds the width.
Anyway, can you try to add this code to your css file :
.wa_agent_header h1 {
  padding-right:5px;
}
5 years 3 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Please excuse me for not having responded earlier and thank you for your reply.
Can I ask if there is a way to insert a personalized message to use in the first post? Eg the client writes his request "I would like information etc." Enter as msg. default This message comes from the website.
To understand its origin.
Thanks
5 years 3 months ago #3 by diogene

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5262) Offline
Hi, You can do that by modifying modules/mod_whatsapp_agent/tmpl/default.php.
At line 517 change this code :
var encordedUrl = URL+wa_phone+"&text="+encodeURI(wa_txt);
into
var encordedUrl = URL+wa_phone+"&text=Hi,%20This%20message%20coming%20from%20\"website\".%20Customer%20Message:%20"+encodeURI(wa_txt);
5 years 3 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thanks a lot. All perfect.
5 years 3 months ago #5 by diogene

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5262) Offline
Np. Glad could help ;)
5 years 3 months ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum