Hi guys.
I am using sugar 6.3
I make a module but I need to know how to remove the search function.
I attach image for my request.
Could you help me?
Thanks in advance
Hi guys.
I am using sugar 6.3
I make a module but I need to know how to remove the search function.
I attach image for my request.
Could you help me?
Thanks in advance
A simple way to "remove" that is deleting all fields from basic and advanced search of your searchdefs.php file.
A more sofisticated solution is extending the display function from view.list.php, then is possible to include a few lines fo code to hide search panel.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
You can do it via Studio, or in you case, since you are talking about a custom module, it'd be best if you do it in Module Builder. Once in there, edit the layouts and you'll see there is one for basic and advanced search. That's what Rafael was suggesting, as edits made via that screen would end up being stored in searchdefs.php
That being said, I second Rafael's point that the more sophisticated approach would be to apply the change via a custom view.list.php file
Regards,
Angel Magaña
Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
Blog: http://cheleguanaco.blogspot.com.
Twitter: @cheleguanaco.
________
| Projects: |_____________________________________
|
| CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
| GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
| CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
| Round Robin Leads Assignment
| Phone Number Formatter
| CaseTwit (Twitter Integration)
______________________________________________
Hi thanks for your answers.
I copy from
/modules/Calendar/views/view.list.php
to
/modules/mymodule/views/view.list.php
I modify the file but the search block appear.
These are the files that I have in my module.
Folders
Dashlets
metadata
views
language
Files
key_efficiency_sugar.php
Forms.php key_efficiency.php
vardefs.php
Inside of metadata I program all my module
connectionDB.php , searchdefs.php , dashletviewdefs.php , listviewdefs.php, SearchFields.php, detailviewdefs.php, metafiles.php, sidecreateviewdefs.php, editviewdefs.php, popupdefs.php, studio.php
Thanks in advance
You need to copy view.list.php from include/MVC/View/views. If you continue to have a problem with it, post the customized version of the view.list.php you are attempting to use.
Regards,
Angel Magaña
Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
Blog: http://cheleguanaco.blogspot.com.
Twitter: @cheleguanaco.
________
| Projects: |_____________________________________
|
| CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
| GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
| CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
| Round Robin Leads Assignment
| Phone Number Formatter
| CaseTwit (Twitter Integration)
______________________________________________
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks