Results 1 to 2 of 2

Thread: Studio 4.5: edit button disappear in subpanel

  1. #1
    pgiuseppe is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    58

    Default Studio 4.5: edit button disappear in subpanel

    Hi all,
    After modifing the project tasks subpanel in Project module, I cannot more see the 2 buttons edit and delete near each entry on the list.
    Do you have any clue how I can set it back?

    Thanks

  2. #2
    pgiuseppe is offline Sugar Community Member
    Join Date
    Feb 2005
    Posts
    58

    Thumbs up SOLVED: Studio 4.5: edit button disappear in subpanel

    Ok I have solved it.
    go to the directory
    \custom\modules\ProjectTask\subpanels
    and open the file
    Projectdefault.php
    Code:
    now on the part
       array (
     	'name' => 'name',
     	'vname' => 'LBL_NAME',
     		'width' => '9999%',
       ),


    add

    Code:
      array (
     	'name' => 'name',
     	'vname' => 'LBL_NAME',
     	'widget_class' => 'SubPanelDetailViewLink',
     	'module' => 'ProjectTask',
     		'width' => '9999%',
       ),
    finally at the end, before

    Code:
    )
     ;
     ?>
    add
    Code:
    	  'edit_button' => 
       array (
     	'widget_class' => 'SubPanelEditButton',
     	'module' => 'ProjectTask',
     	'width' => '5%',
       ),
       'remove_button' => 
       array (
     	'widget_class' => 'SubPanelRemoveButton',
     	'module' => 'ProjectTask',
     	'width' => '5%',
       ),
     );
     ?>
    this is IMHO theeffect of a bug of Studio that should corrected.

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
  •