What file or function i have to modify to make a custom search using my own fields???
i need to do in the module contacts .. in the pop-up that appeairs in campaigns...
thanks...
What file or function i have to modify to make a custom search using my own fields???
i need to do in the module contacts .. in the pop-up that appeairs in campaigns...
thanks...
Sugar Version : 5.0.0e
Sugar Edition : SugarCE
Category : Campaigns,contacts,pop-ups,etc
Operating System : (Ubuntu Server 7.10 gutsy gibbon)
PHP Version : PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
Database : MySQL Client Version 5.0.45
Web Server : Apache 2.2.4
Browser : Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14
Hardware:
1 Gb de ram
Procesador Intel pentium 4 CPU 1,70 Ghz
Testing Computer
EUVE European Virtual engineering
http://www.euve.net/es/index.asp
Vitoria-Gasteiz
Basque Country
Spain
Maybe Enhanced Search fulfill your needs.
Take a look at this thread for more details.
Hi,
In a code-level perspective you can re-use SugarCRM Framework own method to get access the database and then use your own query to check/updat/do whatever you want.
The following is a hypothetical example to be put inside the class of a module.
PHP Code:$personalQuery = "SELECT accounts.id, accounts.name FROM accounts
WHERE accounts.id ='$this->specialId'";
$personalResult = $this->db->query($personalQuery,true," Error filling in additional detail fields: ");
$personalRow = $this->db->fetchByAssoc($personalResult);
if($personalRow != null) {
$otherField = $personalRow['id'];
}
if i wanna to make query on a pop - up for contacts.... wich class i have to modify ??
pop - updefs.php??
i think this won `t work
have u got any idea ?
the pop - up is when click on campaigns , select target list , and then click on select contacs ,
a lot of thanks......![]()
Sugar Version : 5.0.0e
Sugar Edition : SugarCE
Category : Campaigns,contacts,pop-ups,etc
Operating System : (Ubuntu Server 7.10 gutsy gibbon)
PHP Version : PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
Database : MySQL Client Version 5.0.45
Web Server : Apache 2.2.4
Browser : Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14
Hardware:
1 Gb de ram
Procesador Intel pentium 4 CPU 1,70 Ghz
Testing Computer
EUVE European Virtual engineering
http://www.euve.net/es/index.asp
Vitoria-Gasteiz
Basque Country
Spain
other question....
how we launch this custom query????
is there any way to do this by clicking on a button or something else???
thanks
Sugar Version : 5.0.0e
Sugar Edition : SugarCE
Category : Campaigns,contacts,pop-ups,etc
Operating System : (Ubuntu Server 7.10 gutsy gibbon)
PHP Version : PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
Database : MySQL Client Version 5.0.45
Web Server : Apache 2.2.4
Browser : Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.14) Gecko/20080418 Ubuntu/7.10 (gutsy) Firefox/2.0.0.14
Hardware:
1 Gb de ram
Procesador Intel pentium 4 CPU 1,70 Ghz
Testing Computer
EUVE European Virtual engineering
http://www.euve.net/es/index.asp
Vitoria-Gasteiz
Basque Country
Spain
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks