Advanced scripts intro (from v7)

Contains tips for configurators working with Aware IM
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Advanced scripts intro (from v7)

Post by hpl123 »

Hi all,
Here are some (reposted) tips on how to work with advanced scripts (from v7). Is a great intro/starting point:
http://www.awareim.com/forum/viewtopic.php?f=1&t=8391

http://www.awareim.com/forum/viewtopic. ... b32#p36460
Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Advanced scripts intro (from v7)

Post by weblike »

Bootstrap buttons in Query->Toolbars (with great contribution by JohnTallbot)

http://www.awareim.com/forum/viewtopic.php?f=1&t=8549

1. In hamburger menu-> Panel Operations/buttons you have to put: <button type="button" class="btn btn-info"><i class="icon-folder-open"></i>My button</button> (you can find other examples on google (bootstrap buttons).
2. In advanced section of the query-> Render script put this code:
$("#" + parser.m_widgetInfo.wrapperId).find (".k-button").addClass ("mycssclass");
3. In C:\AwareIM\Tomcat\webapps\AwareIM\Custom\CSS\mybsvname folder create mycustom.css (the name is not important)
in this file add:
.mycssclass{
padding:0px !important;
}
This will remove the extra space between your added button on step #1 and the button generated by k-button class.
that's it.

thx,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

And here's what that could look like

Post by Jaymer »

Screen Shot 2016-03-23 at 1.53.52 AM.png
Screen Shot 2016-03-23 at 1.53.52 AM.png (28.08 KiB) Viewed 30050 times
Thanks to WEBLIKE (aka George)
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Advanced scripts intro (from v7)

Post by hpl123 »

Henrik (V8 Developer Ed. - Windows)
Post Reply