Jump to content


Photo

Adding Custom Modules

custom module extention

  • Please log in to reply
2 replies to this topic

#1 martynj1980

martynj1980

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 13 December 2013 - 03:06 PM

Hi,

 

I recently installed Zurmo and have been familiarizing myself with the system.

 

I would like to create a custom module called sales based on the opportunities module, I have cloned the entire opportunities module folder in "app\protected\modules\" and renamed all files/classes and references from (opportunities/sales, opportunity/sale).

 

I now have the module folder "app\protected\modules\sales"

 

Then in "app\protected\config\perInstance.php" I added the line:

 

    $instanceConfig   = array(
            'modules' => array(
                'sales',
            ),
        );

 

 

Do I need to take any further steps to install the module?

 

I cleared the cache by entering the url /app/index.php?clearCache=1 but i cannot get the module to show in Zurmo.

 

 

Any advice would be appreciated, thanks in advance.

 

Martyn

 

 



#2 redjim

redjim

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 14 April 2014 - 12:53 AM

I would also be interested to see if this is an approach that will work. :)



#3 fredmertz

fredmertz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 15 April 2014 - 04:21 PM

+1







Also tagged with one or more of these keywords: custom, module, extention

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users