<div dir="ltr">Workaround: <div>Create summarized version - add as sidebar widget. Provide option </div><div>to open the advanced version of the widget in the modal / popup.</div><div><br></div><div>Regards,</div><div>Prasad</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/vtiger6/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div></div>
<br><div class="gmail_quote">On Wed, Oct 15, 2014 at 1:49 PM, IT-Solutions4You <span dir="ltr"><<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, I know this, but I need to show more informations and this was very nice possible in 5.x version with DETAILVIEWWIDGET.<br>
<br>
Matus<br>
<br>
Dňa 14. 10. 2014 15:30 Prasad  wrote / napísal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Please use DETAILVIEWSIDEBARWIDGET instead - refer Google Maps on Contacts.<br>
<br></span>
*Connect with us on: *Twitter <<a href="http://twitter.com/vtigercrm" target="_blank">http://twitter.com/vtigercrm</a>> *I*<br>
Facebook <<a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" target="_blank">http://www.facebook.com/<u></u>pages/vtiger/226866697333578?<u></u>sk=wall</a>><br>
*I* Blog <<a href="https://blogs.vtiger.com/" target="_blank">https://blogs.vtiger.com/</a>>* I* Wiki<br>
<<a href="http://wiki.vtiger.com/vtiger6/index.php/Main_Page" target="_blank">http://wiki.vtiger.com/<u></u>vtiger6/index.php/Main_Page</a>> *I* Website<br>
<<a href="https://www.vtiger.com/" target="_blank">https://www.vtiger.com/</a>><span class=""><br>
<br>
On Tue, Oct 14, 2014 at 6:29 PM, Sreenivas Kanumuru <<a href="mailto:svk@vtiger.com" target="_blank">svk@vtiger.com</a><br></span><span class="">
<mailto:<a href="mailto:svk@vtiger.com" target="_blank">svk@vtiger.com</a>>> wrote:<br>
<br>
    Sorry, it is not currently possible to customize summary widgets in<br>
    Vtiger CRM. We will review this further and update this thread.<br>
<br>
<br>
    On Tue, Oct 14, 2014 at 1:40 PM, IT-Solutions4You <<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a><br></span><span class="">
    <mailto:<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>>> wrote:<br>
<br>
        I'm talking about vtiger CRM.<br>
<br>
<br>
<br>
        Dňa 13. 10. 2014 17:36 Pabiszczak, Błażej  wrote / napísal(a):<br>
<br>
            Do you see "*_/Widgets/_*" module in settings in our Yetiforce?<br></span>
            <a href="https://test.yetiforce.com/__index.php?module=Widgets&__parent=Settings&view=Index&__block=2&fieldid=58" target="_blank">https://test.yetiforce.com/__<u></u>index.php?module=Widgets&__<u></u>parent=Settings&view=Index&__<u></u>block=2&fieldid=58</a><span class=""><br>
            <<a href="https://test.yetiforce.com/index.php?module=Widgets&parent=Settings&view=Index&block=2&fieldid=58" target="_blank">https://test.yetiforce.com/<u></u>index.php?module=Widgets&<u></u>parent=Settings&view=Index&<u></u>block=2&fieldid=58</a>><br>
<br>
<br>
            Z poważaniem / Regards<br>
            Błażej Pabiszczak<br></span><span class="">
            M: +48.884999123 <tel:%2B48.884999123><br>
            E: <a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.pl</a> <mailto:<a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.<u></u>pl</a>><br>
            <mailto:<a href="mailto:b.pabiszczak@opensaas." target="_blank">b.pabiszczak@opensaas.</a><u></u>__pl<br></span><span class="">
            <mailto:<a href="mailto:b.pabiszczak@opensaas.pl" target="_blank">b.pabiszczak@opensaas.<u></u>pl</a>>><br>
<br>
            2014-10-13 15:31 GMT+02:00 IT-Solutions4You<br>
            <<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a> <mailto:<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>><br></span>
            <mailto:<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a> <mailto:<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>>>>:<span class=""><br>
<br>
                 And what's now? How can we (community) help vtiger to<br>
            implement this:<br>
<br></span>
            <a href="https://discussions.vtiger." target="_blank">https://discussions.vtiger.</a>___<u></u>_com/index.php?p=/discussion/_<u></u>___171186/detail-view-widgets-<u></u>____implementation/p1<span class=""><br>
<br>
            <<a href="https://discussions.vtiger." target="_blank">https://discussions.vtiger.</a>__<u></u>com/index.php?p=/discussion/__<u></u>171186/detail-view-widgets-__<u></u>implementation/p1<br>
            <<a href="https://discussions.vtiger.com/index.php?p=/discussion/171186/detail-view-widgets-implementation/p1" target="_blank">https://discussions.vtiger.<u></u>com/index.php?p=/discussion/<u></u>171186/detail-view-widgets-<u></u>implementation/p1</a>>><br>
<br>
                 Matus.<br>
<br>
                 Dňa 13. 10. 2014 13:04 Alan Lord  wrote / napísal(a):<br>
<br>
                     Ah,<br>
<br>
                     I think you might be right about vtiger_links &<br>
            DETALVIEWWIDGETS...<br>
<br>
                     I've started looking at creating a module which<br>
            allows the user<br>
                     to add a<br>
                     custom widget to other modules via my extension<br>
            module...<br>
<br>
                     But looking at the code in the standard models in<br>
<br></span>
            /modules/Vtiger/models/{____<u></u>Detail.php,DetailView.php} it<div><div class="h5"><br>
            looks like<br>
                     getDetailViewLinks() and getWidgets() will only<br>
            *ever* return<br>
                     specific<br>
                     widgets and will override information in the<br>
            vtiger_links table<br>
                     such as<br>
                     linkurl for example.<br>
<br>
                     Is this really the case or am I missing something?<br>
            Is there no<br>
                     way for<br>
                     me to add a new entry in the vtiger_links table<br>
            such that, for<br>
                     example,<br>
                     I could add a new "Libertus" widget that gets<br>
            displayed on the<br>
                     Contacts<br>
                     module Summary page or DetailView page?<br>
<br>
                              /**<br>
                               * Function to get the detail view links<br>
            (links and<br>
                         widgets)<br>
                               * @param <array> $linkParams - parameters<br>
            which will<br>
                         be used to<br>
                         calicaulate the params<br>
                               * @return <array> - array of link models<br>
            in the format<br>
                         as below<br>
                               *<br>
              array('linktype'=>list of link<br>
                         models);<br>
                               */<br>
                              public function<br></div></div>
            getDetailViewLinks($____<u></u>linkParams) {<br>
                                  $linkTypes =<br>
            array('DETAILVIEWBASIC','____<u></u>DETAILVIEW');<span class=""><br>
                                  $moduleModel = $this->getModule();<br>
                                  $recordModel = $this->getRecord();<br>
<br>
                                  $moduleName = $moduleModel->getName();<br>
                                  $recordId = $recordModel->getId();<br>
<br>
                                  $detailViewLink = array();<br>
<br>
<br></span>
              if(Users_Privileges_Model::___<u></u>_isPermitted($moduleName,<span class=""><br>
                         'EditView', $recordId)) {<br>
                                      $detailViewLinks[] = array(<br>
                                              'linktype' =><br>
            'DETAILVIEWBASIC',<br>
                                              'linklabel' => 'LBL_EDIT',<br>
                                              'linkurl' =><br></span>
                         $recordModel->getEditViewUrl()<u></u>____,<span class=""><br>
                                              'linkicon' => ''<br>
                                      );<br>
<br>
                                      foreach ($detailViewLinks as<br>
            $detailViewLink) {<br>
<br></span><span class="">
              $linkModelList['____<u></u>DETAILVIEWBASIC'][] =<br>
<br>
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>detailViewLink);<br>
                                      }<br>
                                  }<br>
<br>
                                  $linkModelListDetails =<br>
<br>
            Vtiger_Link_Model::____<u></u>getAllByType($moduleModel->___<u></u>_getId(),$linkTypes,$____<u></u>linkParams);<br>
<br></span><span class="">
                                  //Mark all detail view basic links as<br>
            detail view<br>
                         links.<br>
                                  //Since ui will be look ugly if you<br>
            need many basic<br>
                         links<br>
                                  $detailViewBasiclinks =<br></span><span class="">
                         $linkModelListDetails['____<u></u>DETAILVIEWBASIC'];<br>
<br>
              unset($linkModelListDetails['_<u></u>___DETAILVIEWBASIC']);<br>
<br>
<br>
<br>
            if(Users_Privileges_Model::___<u></u>_isPermitted($moduleName,<br></span><span class="">
            'Delete',<br>
                         $recordId)) {<br>
                                      $deletelinkModel = array(<br>
                                              'linktype' => 'DETAILVIEW',<br>
                                              'linklabel' => sprintf("%s<br>
            %s",<br></span>
                         getTranslatedString('LBL_____<u></u>DELETE', $moduleName),<span class=""><br>
                         vtranslate('SINGLE_'.<br>
                         $moduleName, $moduleName)),<br>
                                              'linkurl' =><br>
<br></span>
            'javascript:Vtiger_Detail_Js._<u></u>___deleteRecord("'.$<u></u>recordModel-__>__getDeleteUrl(<u></u>).'")',<span class=""><br>
<br>
                                              'linkicon' => ''<br>
                                      );<br>
                                      $linkModelList['DETAILVIEW'][] =<br>
<br></span>
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>deletelinkModel);<br>
                                  }<br>
<br>
<br>
              if(Users_Privileges_Model::___<u></u>_isPermitted($moduleName,<span class=""><br>
                         'EditView', $recordId)) {<br>
                                      $duplicateLinkModel = array(<br>
                                                  'linktype' =><br>
            'DETAILVIEWBASIC',<br>
                                                  'linklabel' =><br>
            'LBL_DUPLICATE',<br>
                                                  'linkurl' =><br></span>
                         $recordModel->____<u></u>getDuplicateRecordUrl(),<span class=""><br>
                                                  'linkicon' => ''<br>
                                          );<br>
                                      $linkModelList['DETAILVIEW'][] =<br>
<br></span>
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>duplicateLinkModel);<br>
                                  }<br>
<br>
                                  if(!empty($____<u></u>detailViewBasiclinks)) {<span class=""><br>
                                      foreach($detailViewBasiclinks as<br>
            $linkModel) {<br>
                                          // Remove view history, needed<br>
            in vtiger5<br>
                         to see<br>
                         history but not in vtiger6<br>
                                          if($linkModel->linklabel ==<br>
            'View History') {<br>
                                              continue;<br>
                                          }<br>
                                          $linkModelList['DETAILVIEW'][]<br>
            = $linkModel;<br>
                                      }<br>
                                  }<br>
<br>
                                  $relatedLinks =<br></span>
            $this->____<u></u>getDetailViewRelatedLinks();<span class=""><br>
<br>
                                  foreach($relatedLinks as<br>
            $relatedLinkEntry) {<br>
                                      $relatedLink =<br>
<br></span>
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>relatedLinkEntry);<br>
<br>
              $linkModelList[$relatedLink->_<u></u>___getType()][] =<span class=""><br>
                         $relatedLink;<br>
                                  }<br>
<br>
                                  $widgets = $this->getWidgets();<br>
                                  foreach($widgets as $widgetLinkModel) {<br>
<br></span>
              $linkModelList['____<u></u>DETAILVIEWWIDGET'][] =<br>
                         $widgetLinkModel;<br>
                                  }<br>
<br>
                                  $currentUserModel =<span class=""><br>
                         Users_Record_Model::____<u></u>getCurrentUserModel();<br>
                                  if($currentUserModel->____<u></u>isAdminUser()) {<br>
                                      $settingsLinks =<br>
            $moduleModel->getSettingLinks(<u></u>____);<br>
                                      foreach($settingsLinks as<br>
            $settingsLink) {<br>
<br>
              $linkModelList['____<u></u>DETAILVIEWSETTING'][] =<br>
<br>
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>settingsLink);<br>
                                      }<br>
                                  }<br>
<br></span><span class="">
                                  return $linkModelList;<br>
                              }<br>
<br>
<br>
<br>
<br>
                              /**<br>
                               * Function to get the detail view widgets<br>
                               * @return <Array> - List of widgets ,<br>
            where each<br>
                         widget is an<br>
                         Vtiger_Link_Model<br>
                               */<br>
                              public function getWidgets() {<br>
                                  $moduleModel = $this->getModule();<br>
                                  $widgets = array();<br>
<br>
                                  $modCommentsModel =<br>
<br></span><span class="">
            Vtiger_Module_Model::____<u></u>getInstance('ModComments');<br>
                                  if($moduleModel->____<u></u>isCommentEnabled() &&<br></span>
                         $modCommentsModel->____<u></u>isPermitted('DetailView')) {<span class=""><br>
                                      $widgets[] = array(<br>
                                              'linktype' =><br>
            'DETAILVIEWWIDGET',<br>
                                              'linklabel' => 'ModComments',<br>
                                              'linkurl' =><br>
<br></span><span class="">
            'module='.$this->____<u></u>getModuleName().'&view=Detail&<u></u>____record='.$this->getRecord(<u></u>)-__>__getId().<br>
<br>
<br>
                         '&mode=showRecentComments&____<u></u>page=1&limit=5'<br>
                                      );<br>
                                  }<br>
<br>
<br>
              if($moduleModel->____<u></u>isTrackingEnabled()) {<br></span><span class="">
                                      $widgets[] = array(<br>
                                              'linktype' =><br>
            'DETAILVIEWWIDGET',<br>
                                              'linklabel' => 'LBL_UPDATES',<br>
                                              'linkurl' =><br>
<br></span><span class="">
            'module='.$this->____<u></u>getModuleName().'&view=Detail&<u></u>____record='.$this->getRecord(<u></u>)-__>__getId().<br>
<br>
<br></span>
                         '&mode=showRecentActivities&__<u></u>__page=1&limit=5',<span class=""><br>
                                      );<br>
                                  }<br>
<br>
                                  $widgetLinks = array();<br>
                                  foreach ($widgets as $widgetDetails) {<br>
                                      $widgetLinks[] =<br>
<br></span><span class="">
            Vtiger_Link_Model::____<u></u>getInstanceFromValues($____<u></u>widgetDetails);<br>
                                  }<br>
                                  return $widgetLinks;<br>
                              }<br>
<br>
<br>
                     Al<br>
<br>
<br>
                     ______________________________<u></u>_____________________<br>
            <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br>
                 ______________________________<u></u>_____________________<br></span><span class="">
            <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br>
<br>
            ______________________________<u></u>___________________<br>
            <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
</span></blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></blockquote></div><br></div>