Hi, in Contacts Module how can i remove the buttons 'Merge Duplicates' and 'Compose Email' from ListView?
Thanks in advance!
Hi, in Contacts Module how can i remove the buttons 'Merge Duplicates' and 'Compose Email' from ListView?
Thanks in advance!
Kind regards,
De Kleine Media
SugarCRM CE v.5.2.0h
Windows platform
MySQL v.5.1
phpMyAdmin - 2.11.2.2
Apache Server v.2.0
Hi ... I know answering a question with a question isn't always useful .... but why do you want to get rid of these functions? .... they're very useful and in the case of merge duplicates .... indispensable (IMHO).
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
Hi,
That's no problem, ask as many as you wantI'm creating this system for my company, and they want this system to include functions for the users as little as possible . That's why i want it to keep the system easy and simple.
I don't want to delete these functions for good, but just for a while so i can use them again when i go further develop the system.
Kind regards,
De Kleine Media
SugarCRM CE v.5.2.0h
Windows platform
MySQL v.5.1
phpMyAdmin - 2.11.2.2
Apache Server v.2.0
Create the file custom/modules/Contacts/views/view.list.php containing this code:
Create the folders and script custom/include/ListView/ListViewSmartyContacts.php containing this code:PHP Code:<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
require_once('include/MVC/View/views/view.list.php');
class ContactsViewList extends ViewList {
function preDisplay() {
require_once('custom/include/ListView/ListViewSmartyContacts.php');
$this->lv = new ListViewSmartyContacts();
}
}
?>
CheersPHP Code:<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
require_once('include/ListView/ListViewSmarty.php');
class ListViewSmartyContacts extends ListViewSmarty {
function buildMergeDuplicatesLink() {
return '';
}
function buildComposeEmailLink() {
return '';
}
}
?>
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.
André, again thanks a lot!.
It works fine now. I appreciate
Kind regards,
De Kleine Media
SugarCRM CE v.5.2.0h
Windows platform
MySQL v.5.1
phpMyAdmin - 2.11.2.2
Apache Server v.2.0
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks