Results 1 to 8 of 8

Thread: Where are studio layout files held?

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

    Default Where are studio layout files held?

    Where is the studio data for layouts held?

    I am having a problem with the detail view for tasks

    I copied detailviewdefs.php from a clean install into my sugar installation

    Then if I look at a task the details on the clean install show but if I go into studio I still see the problem one

    Can someome point out to me where the studio gets it's layout information from

    Thanks

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

    Default Re: Where are studio layout files held?

    As usual posted then found the information

    custom/working/modules/

  3. #3
    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: Where are studio layout files held?

    HI, Mike.

    Copy this clean detailviewdefs.php for custom/working/modules/Tasks/metadata/
    The Studio look for the layout at the custom/working directory.

    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.

  4. #4
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Where are studio layout files held?

    Yep. You will note that when you export your customizations from Studio in Sugar 5.0, it creates a module that you can load into other systems. The manifest.php file defines where your custom layouts are installed when loading the module.

    Note that your custom layouts are installed into both custom/modules/ and custom/working/modules/. This means that your custom layout files are then also accessible by Studio.

    Copying to both directories is the best practice when loading custom layouts via a module.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

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

    Default Re: Where are studio layout files held?

    Thanks chaps

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Where are studio layout files held?

    Quote Originally Posted by mikesolomon
    Where is the studio data for layouts held?

    I am having a problem with the detail view for tasks

    I copied detailviewdefs.php from a clean install into my sugar installation

    Then if I look at a task the details on the clean install show but if I go into studio I still see the problem one

    Can someome point out to me where the studio gets it's layout information from

    Thanks
    What does exactly happen when you go in Studio?
    Anyway, since you copied \modules\tasks\metadata\detailviewdefs.php from a fresh install, copy \modules\tasks\metadata\studio.php too.
    Take a look also at the files in \modules\ModuleBuilder\Module\


    EDIT: it doesn't matter, I've just seen you solved the problem
    EDIT2: I've just seen you haven't solved it yet
    Last edited by DragonflyMaster; 2008-04-15 at 09:50 AM.
    What do you think the cookie monster eats ?

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

    Default Re: Where are studio layout files held?

    Quote Originally Posted by DragonflyMaster
    What does exactly happen when you go in Studio?
    Anyway, since you copied \modules\tasks\metadata\detailviewdefs.php from a fresh install, copy \modules\tasks\metadata\studio.php too.
    Take a look also at the files in \modules\ModuleBuilder\Module\

    I got studio back in sync but still havent solved my main problem

    See http://www.sugarcrm.com/forums/showthread.php?t=32408

    The studio issue was a bit of a Red Herring but this information is very useful

  8. #8
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Where are studio layout files held?

    Quote Originally Posted by mikesolomon
    I got studio back in sync but still havent solved my main problem

    See http://www.sugarcrm.com/forums/showthread.php?t=32408

    The studio issue was a bit of a Red Herring but this information is very useful
    I'm gonna answer in that other thread.
    Ciao
    What do you think the cookie monster eats ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. module builder - where are files held
    By mikesolomon in forum Developer Help
    Replies: 4
    Last Post: 2008-04-10, 09:33 AM
  2. Modules, file's and data driven form fields
    By Jimbobway in forum Developer Help
    Replies: 0
    Last Post: 2008-01-11, 06:46 PM
  3. What is this email from 4.5.1F patch wizard?
    By al3 in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-10-17, 01:44 PM
  4. Manual merge reported for unmodified files in patches 4.5.0E/F
    By nolan_cafferky in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2006-11-08, 05:06 PM
  5. BUG In Search/Edit Layout???
    By tj@estreet.com in forum Help
    Replies: 13
    Last Post: 2006-06-10, 05:43 AM

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
  •