Results 1 to 4 of 4

Thread: My shortcuts disappear

  1. #1
    wisew is offline Senior Member
    Join Date
    May 2009
    Posts
    23

    Default My shortcuts disappear

    I have created a new module in module builder and choosed the account template. I have deployed it and everthing works fine until I started to modify my shortcuts to that module.

    In my module folder there wasn't any Menu.php so I created one and added the shortcuts I wanted.

    if(ACLController::checkAccess('ww_Insurance', 'edit', true))$module_menu[]=Array("index.php?module=ww_Insurance&action=EditV iew&return_module=ww_Insurance&return_action=Detai lView", "Create Insurance","Createww_Insurance", 'ww_Insurance');

    This part works fine. My shortcuts working. But when I go back to module builder and make changes and click on deploy again my Menu.php disappear from modules folder (modules/modulename/Menu.php). Why?

  2. #2
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: My shortcuts disappear

    Hi

    Module builder will override files, it is normal. Use "custom\Extension\modules\<Module Name>\Ext\Menus\menu.ext.php" for adding menus. Run Quick Repair after making changes.

  3. #3
    wisew is offline Senior Member
    Join Date
    May 2009
    Posts
    23

    Default Re: My shortcuts disappear

    "Module builder will override files, it is normal. Use "custom\Extension\modules\<Module Name>\Ext\Menus\menu.ext.php" for adding menus. Run Quick Repair after making changes."

    I have tried the above solution and it's work fine after Quick Repair. But when I deploy my module again after Quick Repair, my module disappear from modules/<ModuleName>. Under custom folder, everything in that folder also disappears: custom/Extension/modules/<ModuleName>/Ext/Menus/menu.ext.php.

    When I click deploy again my folder is back under modules/<ModuleName>, but under custom folder only module folder exists.

    Why is this happening? Whats wrong?

    What's the difference between Studio and Module Builder? I don't understand when to use Studio and when to use Module builder? When deploy or not?

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: My shortcuts disappear

    Here is another solution.

    Create Menu.php file in "custom\modulebuilder\packages\<package name>\modules\<module name>"

    Now Deploy the module from Module Builder and check.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dashboard Charts Disappear
    By breezy in forum Help
    Replies: 5
    Last Post: 2008-06-03, 07:58 AM
  2. Attachment disappear
    By red13 in forum Help
    Replies: 1
    Last Post: 2007-09-19, 05:33 AM
  3. Module Loader is disappear
    By nina in forum Developer Help
    Replies: 0
    Last Post: 2007-04-27, 04:36 AM
  4. Leads disappear
    By lushka16 in forum Help
    Replies: 1
    Last Post: 2007-02-25, 10:44 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
  •