Results 1 to 6 of 6

Thread: Blank EditView

  1. #1
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Blank EditView

    Hello,
    I'm having a problem with Studio.
    I created some custom modules in Module Builder and one of these has blank page in Studio.
    Look at the picture:


    I can't to add some row or panel...
    Can you help me how to fix it please?

    Thank you...

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Blank EditView

    Seems to be an issue of rights.

    check this: http://www.sugarcrm.com/wiki/index.p...sions_on_Linux
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: Blank EditView

    All files and folders are chmoded to 0777 and Studio does not work.

    I found part of code in file /modules/****/metadata/editviewdefs.php
    PHP Code:
    'panels' => 
        array (
          
    'lbl_panel2' =>
          array (
          ),
        ), 
    This code seems to be broken

  4. #4
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: Blank EditView

    So i fixed this problem using FireBug plugin to Firefox.

    1) Adding this part of code to right Studio html element
    HTML Code:
    <div class="le_panel" id="1006" style=""><div id="le_panellabel_1006"><span id="le_panelname_1006" class="panel_name">New Panel 2</span><span id="le_panelid_1006" class="panel_id">lbl_panel2</span></div><img src="index.php?entryPoint=getImage&amp;themeName=Sugar&amp;imageName=edit_inline.gif" class="le_edit" style=""><div class="le_row" id="1014"><div class="le_field special" id="1015"><span>(filler)</span><span class="field_name">(filler)</span></div><div class="le_field special" id="1016"><span>(filler)</span><span class="field_name">(filler)</span></div></div></div>
    2) Removing JavaScript controll function to check count of rows in panel on onclick at button Save and deploy from:
    Code:
    if (countGridFields()==0) ModuleBuilder.layoutValidation.popup() ; else Studio2.handlePublish();
    to:
    Code:
    Studio2.handlePublish();
    3) click to Save and deploy button -> Studio saved EditView with one blank panel and one blank row with two blank columns.

    Every other work in Studio after fixing this error is OK...

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Blank EditView

    Which version do you have and in which modules did you change?
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  6. #6
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: Blank EditView

    I have a SugarCRM CE 5.5.2 and I changed custom modules created via Module Builder.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Editview pop-up
    By warmachine in forum Developer Help
    Replies: 4
    Last Post: 2010-07-30, 02:34 PM
  2. Replies: 3
    Last Post: 2010-07-27, 12:38 PM
  3. Replies: 11
    Last Post: 2009-04-06, 06:01 AM
  4. A blank (realy blank) module from module builder???
    By dogfuel in forum Developer Help
    Replies: 1
    Last Post: 2008-01-06, 01:15 PM
  5. Replies: 14
    Last Post: 2007-05-29, 11:09 PM

Tags for this Thread

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
  •