<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/488/is-it-possible-to-create-button-beside-field</link><description>Hi all, I would like to trick function by click on button beside phone number, is it possible to do this? Look like below: SugarEnt 7.6 Thanks, May</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1612?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 09:02:19 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:71f61b34-5d7e-45e3-95b3-e62471c4e832</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;&lt;span class="emoticon_laugh emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1611?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 08:11:58 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:133ccbd3-6b1e-4ede-8788-bbf1aaa2fdc1</guid><dc:creator>Autchara Chaiprom</dc:creator><description>&lt;p&gt;Thanks for helping me again. I owe you one!&amp;nbsp; &lt;span class="emoticon-inline emoticon_wink" style="height:16px;width:16px;"&gt;&lt;/span&gt; &lt;span class="emoticon-inline emoticon_wink" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1610?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 07:42:24 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:7002e053-7efb-4874-8106-1b7ea39e51d9</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;Hi Autchara&lt;/p&gt;&lt;p&gt;onclick=&amp;quot;one(&amp;#39;{{value}}&amp;#39;,&amp;#39;{{module}}&amp;#39;,&amp;#39;{{model.id}}&amp;#39;);&amp;quot;&lt;/p&gt;&lt;p&gt;value of field&lt;/p&gt;&lt;p&gt;module name&lt;/p&gt;&lt;p&gt;record id&lt;/p&gt;&lt;p&gt;&lt;span class="emoticon-inline emoticon_cool" style="height:16px;width:16px;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1609?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 07:35:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:44da0738-309b-4055-9321-e23dfea0065a</guid><dc:creator>Autchara Chaiprom</dc:creator><description>&lt;p&gt;&lt;a href="https://sugarclub.sugarcrm.com/members/mehulsbhandari"&gt;Mehul&amp;nbsp; Bhandari&lt;/a&gt; Can I ask you again how to get ID from view when we click on bottom.&lt;/p&gt;&lt;p&gt;I would like to get ID to do something.&lt;/p&gt;&lt;p&gt;I saw how to pass parameter to view and it need to modify phone.js&lt;/p&gt;&lt;p&gt;I put code below in phone.js but it return undefined&lt;/p&gt;&lt;p&gt;loadData: function (options) {&lt;/p&gt;&lt;p&gt;myData = new Object();&lt;/p&gt;&lt;p&gt;myData.userID = app.user.id;&lt;/p&gt;&lt;p&gt;this.myData = myData;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;in detail.hbs in put like this:&lt;/p&gt;&lt;p&gt;onClick&amp;quot;one({{myData}});&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1608?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:52:46 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:1e3bd90c-9dc6-435c-90a5-42cb3c9d7bf5</guid><dc:creator>Autchara Chaiprom</dc:creator><description>&lt;p&gt;Work ! yeahh &lt;span class="emoticon-inline emoticon_grin" style="height:16px;width:16px;"&gt;&lt;/span&gt; &lt;span class="emoticon-inline emoticon_grin" style="height:16px;width:16px;"&gt;&lt;/span&gt; &lt;span class="emoticon-inline emoticon_grin" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Many thanks to you &lt;a href="https://sugarclub.sugarcrm.com/members/mehulsbhandari"&gt;Mehul&amp;nbsp; Bhandari&lt;/a&gt;&amp;nbsp;&amp;nbsp; I really appreciate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1607?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 09:05:16 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c1a06bbb-ca8c-4ccd-a82f-c8e38424c633</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Change your JsGrouping file with this&lt;/p&gt;&lt;p&gt;$js_groupings[] = $sugar_grp_sidecar = array_merge($sugar_grp_sidecar,array(&lt;/p&gt;&lt;p&gt;&amp;#39;custom/testJS.js&amp;#39; =&amp;gt; &amp;#39;include/javascript/sugar_sidecar.min.js&amp;#39;,&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;);&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Rebuild JS Grouping Files&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Quick Repair &amp;amp; Rebuild&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1606?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 08:16:40 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:266b427b-91a5-4657-bd49-22b3b862cb40</guid><dc:creator>Autchara Chaiprom</dc:creator><description>&lt;p&gt;Why we not copy phone.js from &lt;span style="color:#000000;font-size:14px;"&gt;clients/base/fields/phone/ &lt;/span&gt;&lt;/p&gt;&lt;p&gt;I got this message in console log:&lt;/p&gt;&lt;p&gt;&amp;#39;//@ sourceURL&amp;#39; and &amp;#39;//@ sourceMappingURL&amp;#39; are deprecated, please use &amp;#39;//# sourceURL=&amp;#39; and &amp;#39;//# sourceMappingURL=&amp;#39; instead.&lt;/p&gt;&lt;p&gt;It&amp;#39;s make my phone number disappear.&lt;/p&gt;&lt;p&gt;What I do wrong or I miss something ?&lt;/p&gt;&lt;p&gt;My code below:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;detail.hbs same as you&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;in /custom/Extension/application/Ext/JSGroupings/newGrouping.php&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?php&lt;/p&gt;&lt;p&gt;//creates the file cache/include/javascript/newGrouping.js&lt;/p&gt;&lt;p&gt;$js_groupings[] = $newGrouping = array(&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;custom/testJS.js&amp;#39; =&amp;gt; &amp;#39;include/javascript/newGrouping.js&amp;#39;,&lt;/p&gt;&lt;p&gt;);&lt;/p&gt;&lt;p&gt;&lt;strong&gt;in custom/testJS.js&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;function one(){&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(&amp;quot;Hello World!&amp;quot;);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;strong&gt;in my /custom/clients/base/fields/phone has 4 files .hbs&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;- detail.hbs&lt;br /&gt;- disabled.hbs&lt;br /&gt;- edit.hbs&lt;br /&gt;- list.hbs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1605?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 07:38:46 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:25a685b7-5bab-4f27-83d3-5dd22cb21016</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&lt;strong&gt;this is detail.hbs&amp;nbsp;&amp;nbsp; try this&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;{{#if value}}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img style=&amp;quot;cursor:pointer;float:left;margin-right:5px;padding-top:2px;width:24px&amp;quot; src=&amp;quot;custom/themes/default/images/abc.png&amp;quot; onclick=&amp;quot;one();&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class=&amp;quot;ellipsis_inline&amp;quot; data-placement=&amp;quot;bottom&amp;quot; title=&amp;quot;{{value}}&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{#if skypeValue}}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&amp;quot;callto:{{skypeValue}}&amp;quot;&amp;gt;{{value}}&amp;lt;/a&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{else}}{{value}}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {{/if}}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/p&gt;&lt;p&gt;{{/if}}&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Rebuild JS Grouping Files&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Quick Repair &amp;amp; Rebuild&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1604?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 06:59:40 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:cce5672f-9cd6-4021-9f55-9d5a2f5d82f1</guid><dc:creator>Autchara Chaiprom</dc:creator><description>&lt;p&gt;Thank you for your suggest.&lt;/p&gt;&lt;p&gt;I do following you suggest copy all file then do following below link&lt;/p&gt;&lt;p&gt;I found this &lt;a href="http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/Extension_Framework/JSGroupings/" rel="nofollow" target="_blank"&gt;http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/Extension_Framework/JSGroupings/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;in my custom.js we create like this to test:&lt;/p&gt;&lt;p&gt;function one(){&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(&amp;quot;Hello World!&amp;quot;);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;but no log appear.&lt;/p&gt;&lt;p&gt;How can related my js with custom/clients/base/fields/phone ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to create button beside field</title><link>https://sugarclub.sugarcrm.com/thread/1603?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 11:04:54 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:17bb2496-5342-401b-b520-4ee0f1c25a08</guid><dc:creator>Mehul  Bhandari</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;yes , you can do by overriding phone handlebar files.&lt;/p&gt;&lt;p&gt;copy clients/base/fields/phone/*.hbs to custom/clients/base/fields/phone&lt;/p&gt;&lt;p&gt;and then load js file using jsgrouping&lt;/p&gt;&lt;pre class="php"&gt;&lt;/pre&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p&gt;custom/Extension/application/Ext/JSGroupings&lt;/p&gt;&lt;p&gt;you can click on that and perform action..&lt;/p&gt;&lt;p&gt;&lt;a href="/cfs-file/__key/CommunityServer-Components-MultipleUploadFileManager/4c939de7_2D00_6256_2D00_47fb_2D00_9384_2D00_6d09b4fb129d-3525-complete/_5F00_contentimages_5F00_25450.png"&gt;&lt;img alt="Screenshot from 2016-05-11 16:31:37.png" src="/cfs-file/__key/CommunityServer-Components-MultipleUploadFileManager/4c939de7_2D00_6256_2D00_47fb_2D00_9384_2D00_6d09b4fb129d-3525-complete/_5F00_contentimages_5F00_25450.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>