Quote

We're also available for Custom Joomla Development

Hire us now

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

Attachments:

Resolved
The discussion has been resolved.
       
  • Replied by admin on Saturday, September 14 2019, 04:08 PM · Hide· #1
    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;
    }
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by superdiogene on Monday, September 16 2019, 02:09 PM · Hide· #2
    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

    Attachments:

  •  
  • Replied by admin on Monday, September 16 2019, 11:18 PM · Hide· #3
    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);
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by superdiogene on Tuesday, September 17 2019, 08:23 AM · Hide· #4
    Thanks a lot. All perfect.
  •  
  •  
    Replied by admin on Tuesday, September 17 2019, 09:07 AM · Hide· #5
    Np. Glad could help ;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments