Results 1 to 6 of 6

Thread: Studio overwrites my code everytime

  1. #1
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default Studio overwrites my code everytime

    Good morning all,

    I have been doing quite a bit of editing with /modules/Accounts/DetailView.php. My problem is whenever I edit the Detail View of the Accounts Module via Studio and publish it, my code always gets overlapped. How do you overcome this? Tried to look at the /modules/Studio/studio.js code but still can't figure out how to prevent this.

    Would really appreciate some help. Thanks!

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Studio overwrites my code everytime

    Are you keeping up with the <span sugar='slot'></span sugar='slot'> tags where the numbers start at the top and get greater at the bottom?

  3. #3
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default Re: Studio overwrites my code everytime

    Yup although I'm not entirely sure what it's for. Right now all the modifications I do are not via studio anymore but hard coded instead. A bit of a hassle when all I want to do is add another field.

  4. #4
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: Studio overwrites my code everytime

    Instead of working with /modules/Accounts/DetailView.html try to work with
    /custom/working/modules/Accounts/DetailView.html

    I think when in studio and press save and publish it will overwrite /modules/Accounts/DetailView.html with /custom/working/modules/Accounts/DetailView.html

  5. #5
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Studio overwrites my code everytime

    Quote Originally Posted by sacramentojoe
    Are you keeping up with the <span sugar='slot'></span sugar='slot'> tags where the numbers start at the top and get greater at the bottom?
    Yeah, the new studio doesn't make for easy customization changes.
    The span slot tags are used with the drag and drop in studio and the position (number or number+b) .

    Can't wait for Meta Data in 5.0

  6. #6
    enrikm is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    61

    Default Re: Studio overwrites my code everytime

    Ok thanks for the advice!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 24
    Last Post: 2008-08-20, 08:19 PM
  2. where is the html code that creates the pages in sugarcrm
    By santosh.ghalsasi in forum General Discussion
    Replies: 2
    Last Post: 2007-03-03, 07:20 AM
  3. Replies: 1
    Last Post: 2007-02-20, 07:31 AM
  4. Problem with Studio and Sugar 4.5.0h
    By mergulhao83 in forum General Discussion
    Replies: 3
    Last Post: 2007-01-12, 11:10 AM
  5. Messy code
    By lvangool in forum Developer Help
    Replies: 6
    Last Post: 2006-08-28, 05:46 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
  •