Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-06-22 08:25:12

ncoul
New member
Registered: 2020-06-15
Posts: 8

Template Widget

Hello LHC team !

I'm searching to modify the starting form with username and accept TOS on the v2 widget. I tried to a activate the debug mode to found where I can find this info but no info appear, I have only debug info on admin interface.

So my question is : Where can I modify the v2 widget starting form, I just need to enlarge the username field to take all the place (from col-6 to col-12)

Offline

#2 2020-06-22 08:29:05

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Template Widget

Hi,

Easiest way just make one character change there. Dirty way smile https://github.com/LiveHelperChat/liveh … s.php#L156 to 12
Proper way would be just write small extension and listen to erLhcoreClassChatEventDispatcher::getInstance()->dispatch('widgetrestapi.onlinesettings', array('output' => & $outputResponse));
And override this single number there.

And third way just override widget css. /intel/git/livehelperchat_mysql_com/design/defaulttheme/css/widgetv2/widget_override.css https://doc.livehelperchat.com/docs/ext … ide-quick/ create in your extension css file with identical path.

Offline

#3 2020-06-22 08:30:05

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Template Widget

Simple extension if you just want to listen to an events.
https://github.com/LiveHelperChat/liveh … verifyuser

Offline

#4 2020-06-22 08:54:45

ncoul
New member
Registered: 2020-06-15
Posts: 8

Re: Template Widget

Yes, It works. lol

Really thank you !

Offline

Board footer