Results 1 to 8 of 8

Thread: Increase the default popup's windows size

  1. #1
    elpingu2 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    26

    Default Increase the default popup's windows size

    Hi all, I need increase the default popup's windows size, any ideas? I've been reading other post and I find this:

    http://www.sugarcrm.com/forums/showt...+popup+windows

    but I dont understand very well where I have to do this changes. Thanks!

  2. #2
    elpingu2 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    26

    Default Re: Increase the default popup's windows size

    Sorry, I'm using sugar CE. 5.0.2h

  3. #3
    elpingu2 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    26

    Default Re: Increase the default popup's windows size

    Please! any ideas??

  4. #4
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Increase the default popup's windows size

    this is handled in the button you have to press to get the popup. So look at the sugarbutton for e.g. subpanel buttons or the relate field definition for the relate button. Therein the size is specified and agreed to small.

    Changing is a modification but a small and very controllable one. Done many times.

    christian.

    Quote Originally Posted by elpingu2 View Post
    Please! any ideas??

  5. #5
    elpingu2 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    26

    Red face Re: Increase the default popup's windows size

    Hi christian thank you for your response. I've been modifying the JS files related to popups at this localization but I don't find any result:

    \include\javascript\popup_parent_helper.js

    modifying this param:

    windowFeatures='width=300'+',height=300

    I believed it would work but no. I'm in a erroneous way. What do you think? Thanks!

  6. #6
    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: Increase the default popup's windows size

    Quote Originally Posted by elpingu2 View Post
    Hi all, I need increase the default popup's windows size, any ideas? I've been reading other post and I find this:

    http://www.sugarcrm.com/forums/showt...+popup+windows

    but I dont understand very well where I have to do this changes. Thanks!
    You need to either modify the script include/SugarFields/Fields/Relate/EditView.tpl to set other width and heigh or clone the whole include/SugarFields/Fields/Relate/ and modify the copy. If you implement this second choice so remember to add the attribute 'type' => 'new_relate' on field defs at editviewdefs.php

    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.

  7. #7
    elpingu2 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    26

    Default Re: Increase the default popup's windows size

    Hi andopes, thank you for your help. Your solution works fine with the the fields "related" but the popup windows size of subpanels is the same as before. Where's the localization of this files who I should modify? Thank you again andopes.

  8. #8
    ActraiserVII is offline Member
    Join Date
    Apr 2010
    Location
    Downtown Ohio
    Posts
    9

    Default Re: Increase the default popup's windows size

    You would want to look in

    include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectButton.php

    And edit at the bottom where it says
    Code:
    . " onclick='open_popup(\"$module_name\",600,400,\"$initial_filter\",false,false,$json_encoded_php_array);' />\n";
    change those numbers. You may have to edit other similarly named files, but it worked for me.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to increase the size of the field
    By Rajas in forum Developer Help
    Replies: 5
    Last Post: 2009-06-05, 05:29 AM
  2. How to increase size of Task list?
    By datablueprints in forum Help
    Replies: 2
    Last Post: 2008-05-12, 08:19 PM
  3. Popup default size
    By Anto2C in forum Developer Help
    Replies: 2
    Last Post: 2008-04-21, 04:13 PM
  4. How can I increase field size?
    By sv2k in forum Help
    Replies: 4
    Last Post: 2007-03-09, 07:37 AM
  5. Replies: 0
    Last Post: 2006-10-01, 03:59 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
  •