<?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>Adding Custom button in Sugar 10.2 footer page</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/4281/adding-custom-button-in-sugar-10-2-footer-page</link><description>Please explain the steps to achieve adding custom button next to help link options in footer page in Sugar CRM Version 10.2 
 i.e., Append new View to Footer layout&amp;#39;s list of components</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Adding Custom button in Sugar 10.2 footer page</title><link>https://sugarclub.sugarcrm.com/thread/21997?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 19:11:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:5d4e7194-643a-48eb-aead-d0ca7e63686a</guid><dc:creator>Michael Shaheen</dc:creator><description>&lt;p&gt;As of 10.2, the footer is structured a bit differently. It now has a &amp;lt;footer&amp;gt; element within the &amp;lt;div id=&amp;quot;footer /&amp;gt; element. So, your existing viewdef is adding the view to the original &amp;lt;div id=&amp;quot;footer&amp;quot; /&amp;gt; but the &amp;lt;footer&amp;gt; element is the one that is actually positioned on the bottom of the screen. So, that element is broken into 2 new components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;footer-buttons - the right-hand side of the&amp;nbsp;footer&amp;nbsp;with the other buttons like &amp;quot;help&amp;quot;&lt;/li&gt;
&lt;li&gt;footer-logos - the left-hand side of the footer with the sugarcrm logo&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So, you need to change your references (and directory name) to one of those new values. If you want the button to display on the right side with the help button et al, use:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="php"&gt;$viewdefs[&amp;#39;base&amp;#39;][&amp;#39;layout&amp;#39;][&amp;#39;footer-buttons&amp;#39;][&amp;#39;components&amp;#39;][] = array (
    &amp;#39;view&amp;#39; =&amp;gt; &amp;#39;your-view-name&amp;#39;,
);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then be sure to put your layout file in&amp;nbsp;&lt;em&gt;custom/Extension/application/Ext/clients/base/layouts/footer-buttons&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Custom button in Sugar 10.2 footer page</title><link>https://sugarclub.sugarcrm.com/thread/21598?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 03:37:41 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:6d511c9c-26ad-4b1e-8ab3-358f26ec8c05</guid><dc:creator>Kumar J</dc:creator><description>&lt;pre class="line-numbers  language-php"&gt;&lt;code class=" language-php"&gt;&lt;span class="token php language-php"&gt;&lt;span class="token variable"&gt;As per reference : we created viewdefs, but Custom button not displayed in the footer page.&lt;br /&gt;and identified that this button present outside of the &amp;lt;footer&amp;gt;&amp;lt;/footer&amp;gt; tag.&lt;br /&gt;&lt;br /&gt;$viewdefs&lt;/span&gt;&lt;span class="token punctuation"&gt;[&lt;/span&gt;&lt;span class="token single-quoted-string string"&gt;'base'&lt;/span&gt;&lt;span class="token punctuation"&gt;]&lt;/span&gt;&lt;span class="token punctuation"&gt;[&lt;/span&gt;&lt;span class="token single-quoted-string string"&gt;'layout'&lt;/span&gt;&lt;span class="token punctuation"&gt;]&lt;/span&gt;&lt;span class="token punctuation"&gt;[&lt;/span&gt;&lt;span class="token single-quoted-string string"&gt;'footer'&lt;/span&gt;&lt;span class="token punctuation"&gt;]&lt;/span&gt;&lt;span class="token punctuation"&gt;[&lt;/span&gt;&lt;span class="token single-quoted-string string"&gt;'components'&lt;/span&gt;&lt;span class="token punctuation"&gt;]&lt;/span&gt;&lt;span class="token punctuation"&gt;[&lt;/span&gt;&lt;span class="token punctuation"&gt;]&lt;/span&gt; &lt;span class="token operator"&gt;=&lt;/span&gt; &lt;span class="token keyword"&gt;array&lt;/span&gt; &lt;span class="token punctuation"&gt;(&lt;/span&gt;
    &lt;span class="token single-quoted-string string"&gt;&amp;#39;view&amp;#39;&lt;/span&gt; &lt;span class="token operator"&gt;=&lt;/span&gt;&lt;span class="token operator"&gt;&amp;gt;&lt;/span&gt; &lt;span class="token single-quoted-string string"&gt;&amp;#39;footer-greet-button&amp;#39;&lt;/span&gt;&lt;span class="token punctuation"&gt;,&lt;/span&gt;
&lt;span class="token punctuation"&gt;)&lt;/span&gt;&lt;span class="token punctuation"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Custom button in Sugar 10.2 footer page</title><link>https://sugarclub.sugarcrm.com/thread/21590?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 15:30:12 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:3636c4fd-85d1-417e-ac56-9cf10526fdc1</guid><dc:creator>Dhanalaskhmi Vusirika</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please refer the below link for adding button in footer.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_10.0/Cookbook/Adding_Buttons_to_the_Application_Footer/index.html"&gt;https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_10.0/Cookbook/Adding_Buttons_to_the_Application_Footer/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>