Hello,
Can subpanels move up before account information ?
Tpl
Hello,
Can subpanels move up before account information ?
Tpl
Yes, it is possible!
You need to create a custom view for the module and override the methods display and process. Actually you need to remove the $this->displaySubPanels() from process function and add it in the display prior to Account info.
Have a look on these functions in the file include/MVC/View/SugarView.php to understand the process.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
hmm, im not quite sure if I get this..
Can you please post example for me? Or more details how to do this..
Timo
Can someone help, I really need this modification..
Andopes,
Is SugarView.php only place I need to modify account view ?
Timo
AHAAA!!
$this->buildModuleList();
$this->preDisplay();
$this->displayErrors();
if ($this->_getOption('show_subpanels')) $this->displaySubPanels();
$this->display();
$GLOBALS['logic_hook']->call_custom_logic('', 'after_ui_frame');
Copy this "if ($this->_getOption('show_subpanels')) $this->displaySubPanels();" two lines up![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks