WhatsApp Multi Agent - modification
- Posted by diogene (52) Offline
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
6 years 1 month ago #1
by diogene
Thanks
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5372) 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 :
6 years 1 month ago #2
by TemplatePlazza
Anyway, can you try to add this code to your css file :
.wa_agent_header h1 {
padding-right:5px;
}Please Log in or Create an account to join the conversation.
- Posted by diogene (52) Offline
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
6 years 1 month ago #3
by diogene
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
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5372) Offline
Hi, You can do that by modifying modules/mod_whatsapp_agent/tmpl/default.php.
At line 517 change this code :into
6 years 1 month ago #4
by TemplatePlazza
At line 517 change this code :
var encordedUrl = URL+wa_phone+"&text="+encodeURI(wa_txt);var encordedUrl = URL+wa_phone+"&text=Hi,%20This%20message%20coming%20from%20\"website\".%20Customer%20Message:%20"+encodeURI(wa_txt);Please Log in or Create an account to join the conversation.
- Posted by diogene (52) Offline
- Posted by TemplatePlazza (5372) Offline