Results 1 to 3 of 3

Thread: Custom Layoutdefs not working???

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Custom Layoutdefs not working???

    HI,

    I've a custom layoutdefs.ext.php in /custom/Extensions/Accounts/Ext/Layoutdefs.

    It containg the following entry for a number (10) of custom modules

    $layoutdefs["Accounts"]["subpanel_setup"]["custom_module"]["top_buttons"] = array()

    In my dev this works and after a repair the Create/Select buttons are removed from my 10 custom_modules under Accounts.

    I then copy this the exact same file into my live server and it only works on One custom module and all the others still have the Create/Select buttons.

    Any ideas on how to resolve this issue

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Custom Layoutdefs not working???

    Hello,

    Double check that, same $layoutdefs["Accounts"]["subpanel_setup"]["custom_module"] doesn't exist in any of the other files under custom/Extensions/Accounts/Ext/Layoutdefs.

    Check if, after Quick Repair and Rebuild, your code does exist under custom/Accounts/Ext/Layoutdefs/layoutdefs.ext.php
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  3. #3
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Custom Layoutdefs not working???

    Hi,

    Strangely the subpanel setup did exist in another two files. One file contained the subpanel setup for the module that it worked on the other file had the other 9 modules subpanel setup. The DEV instance also had these file but the new layoutdefs file worked - but in the production server I had to edit the older files to get them to work.

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Layoutdefs.ext consistency after installing a module
    By flymirco in forum Developer Help
    Replies: 3
    Last Post: 2011-07-12, 05:03 PM
  2. How do I save layoutdefs changes after Package deploy?
    By dvelguru in forum Developer Help
    Replies: 1
    Last Post: 2011-02-16, 08:15 AM
  3. custom field not working
    By kinshibuya in forum Help
    Replies: 3
    Last Post: 2009-07-18, 10:40 AM
  4. Subpanel order value not working with layoutdefs
    By rjohns621 in forum Developer Help
    Replies: 0
    Last Post: 2009-06-03, 04:11 PM
  5. Custom module's tab not working
    By kinshibuya in forum Help
    Replies: 2
    Last Post: 2009-05-11, 03:03 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
  •