Results 1 to 8 of 8

Thread: Add prospects on the tab

  1. #1
    roberto.fabbri's Avatar
    roberto.fabbri is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Add prospects on the tab

    Hi everybody,
    sorry in advance for (probably) such a newbie question, but I wasn't able to find the right answer in past threads so... How do I put the prospect view in the menu bar, like all other principal modules?
    I can't find the voice "prospect" in the "configure sections" panel.
    The prospects list it's however available in the shortcut menu on the left.

    If it helps, my sugar version is the 5.2 CE.

    Thank you
    Roberto

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Add prospects on the tab

    Hi Roberto

    You need to create an extended include file (custom/Extension/application/Ext/Include/include.ext.php) to remove the Prospects from $modInvList and add it into $modList.
    Go to Admin -> Repair -> Rebuild Extension

    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.

  3. #3
    roberto.fabbri's Avatar
    roberto.fabbri is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: Add prospects on the tab

    Quote Originally Posted by andopes View Post
    Hi Roberto

    You need to create an extended include file (custom/Extension/application/Ext/Include/include.ext.php) to remove the Prospects from $modInvList and add it into $modList.
    Go to Admin -> Repair -> Rebuild Extension

    Cheers
    Thank you for the quick answer. Sadly my php knowledge it's not something to be proud of...
    Is there any step by step procedure I can follow to get the result I want, without the need to write down lines of code from scratch? E.g. something like editing and renaming an existing file.

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Add prospects on the tab

    Hi Roberto

    The content of the file should looks like that:

    PHP Code:
    <?php
    foreach($modInvisList as $id => $module) {
        if(
    $module == 'Prospects') {
            unset(
    $modInvisList[$id]);
        }
    }
    $moduleList[] = 'Prospects';
    ?>
    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.

  5. #5
    ckd1987 is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    88

    Default Re: Add prospects on the tab

    greetings 2 everybody!

    I do following steps:

    add new file include.ext.php in folder
    /var/www/sugarcrm/custom/Extension/application/Ext/Include/
    copy+paste your code :
    PHP Code:
    <?php
    foreach($modInvisList as $id => $module) {
        if(
    $module == 'Prospects') {
            unset(
    $modInvisList[$id]);
        }
    }
    $moduleList[] = 'Prospects';
    ?>
    save, add writables for www-data.
    Go to Admin - repair and repait extensions...(after repair all)
    but... there is nothing in Panellist and nothing to add "Prospects"

    whats my failure ?

    greetings from Munich/Bavaria

    Alexander Fried

  6. #6
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Add prospects on the tab

    If you edit /custom/application/Ext/Include/modules.ext.php

    and add Andres code it works

    Code:
    foreach($modInvisList as $id => $module) {
        if($module == 'Prospects') {
            unset($modInvisList[$id]);
        }
    }
    $moduleList[] = 'Prospects';
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  7. #7
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: Add prospects on the tab

    mikesolomon;172021
    If you edit /custom/application/Ext/Include/modules.ext.php
    Hi, this file gives a auto message;

    //WARNING: The contents of this file are auto-generated

    I thought that your were not suppose to edit or change this file?
    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

  8. #8
    vaineh is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    31

    Default Re: Add prospects on the tab

    hi

    i've entered the php code into both...
    /var/www/sugarcrm/custom/Extension/application/Ext/Include/include.ext.php
    and
    /var/www/sugarcrm/custom/application/Ext/Include/modules.ext.php

    and neither seems to have had any effect. what am i doing wrong?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Prospects
    By Niggy in forum Developer Help
    Replies: 6
    Last Post: 2008-11-14, 08:24 AM
  2. Replies: 0
    Last Post: 2008-08-20, 10:11 PM
  3. Prospects on the tab bar
    By kbrill in forum Developer Help
    Replies: 3
    Last Post: 2007-01-28, 11:58 PM
  4. BUG: Prospects
    By belesisj in forum Developer Help
    Replies: 0
    Last Post: 2005-06-13, 12:13 PM
  5. Prospects!!
    By sriraj in forum Help
    Replies: 0
    Last Post: 2005-05-19, 03:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •