Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Layout box in Admin missing

  1. #1
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Layout box in Admin missing

    After upgrading from 4.2.1b to 4.5b I have no Layout section in the Admin System Settings!

    On doing a test install of 4.5b as a full install I had this but the upgraded version does not.

    Strange thing is, when some of my Users go into a Target List they have tabs at the top of the Sub-panels in the Detail View for All, Sales, Marketing, etc but I do not! I have cleared my Cache and resarted Firefox but still no tabs!

    What is going on?

    Russ

  2. #2
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Layout box in Admin missing

    After upgrading from 4.2.1b to 4.5b I have no Layout section in the Admin System Settings!
    Do you mean the "Field Layout" link on the admin page?
    Cheers Pascal
    Simplicity GmbH

  3. #3
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: Layout box in Admin missing

    Sorry! I got that completely wrong!

    I meant the Layout Options box on the Users My Account tab!

    I have tried the demo on the Sugar site and the box appears but on my 4.5 version it does not. It should be between Calendar Options and Roleson the Users Settings page. Funny enough, the top of the Roles box looks slightly odd as though it has cut off the section above, which should be...you guessed it, Layout Options!

    I also had a similar thing with Mailmerge until 4.5b and I think it is just the code to determine the position on the page for each section taht is causing the Layout box to be hidden.

    Does that make sense?

    Russ

  4. #4
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: Layout box in Admin missing

    I also don't have in the My Account tab;

    anything after URL in the User Settings section

    or a Locale Settings box.

    Is this something to do with me not merging certain files after upgrading from 4.2.1?

  5. #5
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Layout box in Admin missing

    Hmm, doesn't make sense. Unless you have edited the DetailView.html of the User module or installed a module which replaced it.

    What versions do you have?
    modules/Users/DetailView.html : v 1.86 2006/08/28 21:48:06 awu
    modules/Users/DetailView.php : v 1.135.2.1 2006/09/12 14:44:30 roger
    Cheers Pascal
    Simplicity GmbH

  6. #6
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: Layout box in Admin missing

    As in 4.2 the layout of the User settings was different anyway I can only assume the upgrade to 4.5 caused it as we have not altered any of these files ourselves.

    I think my Detailview.html is from August 1st and Detailview.php is from Sept 21st. According to the 'ls' command that is, is there a better command to use,please jog my memory if there is!

    Russ

  7. #7
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Layout box in Admin missing

    Open the file - there is a CVS tag right after the license info text. Looks like this

    /************************************************** *******************************
    * $Id: DetailView.html,v 1.86 2006/08/28 21:48:06 awu Exp $
    ************************************************** ******************************/

    I compared the 4.2.1 version with the newest version. A new "section" named layoutopts has been added. If you don't have this section in your DetailView.html you'll have to replace the file or manually merge the old and the new version.

    <!-- BEGIN: layoutopts -->
    ...code....
    <!-- END: layoutopts -->

    Hope it helps.
    Cheers Pascal
    Simplicity GmbH

  8. #8
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: Layout box in Admin missing

    Ah, of course I see what you mean now!

    DetailView.html,v 1.69.6.1 2006/06/24 04:55:34 roger Exp
    DetailView.php,v 1.135.2.1 2006/09/12 14:44:30 roger Exp

    There you go, so my html version is older.
    Can I just replace it or will that cause problems?
    I'd better learn how to use rsync I suppose!

    Thanks for all your help Pascal.

  9. #9
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: Layout box in Admin missing

    If your server is a linux box you can use the diff command to display the differences between the old and the new files.

    command:

    diff <path/name of old file> <path/name of new file>

    e.g.

    diff old/modules/Users/DetailView.html new/modules/Users/DetailView.html

    I'd recommend to make a copy of the "old" file, replace it and check if something is missing.

    EDIT: On a Windows PC you could use the programm Compare&Merge ... http://www.compareandmerge.com/
    Last edited by simple; 2006-09-27 at 12:10 PM.
    Cheers Pascal
    Simplicity GmbH

  10. #10
    russgalleywood is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    110

    Default Re: Layout box in Admin missing

    I have now replaced Detailview.html and Editview.html with the ones from the full version of 4.5.

    This seems to have worked fine!

    Will I have troubles later with this or will it do?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •