Why is record.php not being used when I install this package?

Here is the package.  Feel free to unzip it and take a look.

Lev_Contracts2013_09_20_Amy.zip

I am frustrated, because I have a file \SugarModules\modules\Lev_Contracts\clients\base\views\record\record.php

but after installing, it doesn't show up like that in record view or studio.

Parents
  • Hi ,

    I just took a quick look at your package, and looks like all of your views (list.php, record.php, etc, ) are having an old/test/incorrect module name: amy_test_module. Please search and replace that with the correct module name(Lev_Contracts) in all your files. 

    
    <?php
    $module_name = 'amy_test_module';
    $viewdefs[$module_name] = 
    array (
      'base' => 
    


    You can use find+sed if you're in Mac/Linux, something like:

    
    find ./ -type f -exec sed -i -e 's/amy_test_module/Lev_Contracts/g' {} \;
    
Reply
  • Hi ,

    I just took a quick look at your package, and looks like all of your views (list.php, record.php, etc, ) are having an old/test/incorrect module name: amy_test_module. Please search and replace that with the correct module name(Lev_Contracts) in all your files. 

    
    <?php
    $module_name = 'amy_test_module';
    $viewdefs[$module_name] = 
    array (
      'base' => 
    


    You can use find+sed if you're in Mac/Linux, something like:

    
    find ./ -type f -exec sed -i -e 's/amy_test_module/Lev_Contracts/g' {} \;
    
Children
No Data