Results 1 to 8 of 8

Thread: Need Single Print Option to Print Modules with all sub panel modules

  1. #1
    anandece1 is offline Member
    Join Date
    Apr 2010
    Posts
    6

    Wink Need Single Print Option to Print Modules with all sub panel modules

    Hi all ,
    I have created 10 custom modules and i've related it with one another module. Where the list view of all the 10 modules displays in the related modules details view. But the thing is that when i click on print, its printing only the module and it leaves the sub panel modules . I need the sub panel modules also to get print along with the related module.. Can you pls come out with ur solutions/suggestions.... Looking fwd for ur kind reply ...

  2. #2
    kenneth.thorman is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    191

    Default Re: Need Single Print Option to Print Modules with all sub panel modules

    Hi

    Please see this thread for suggestions
    http://www.sugarcrm.com/forums/showt...print+subpanel

    Regards
    Kenneth Thorman

  3. #3
    kenneth.thorman is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    191

    Default Re: Need Single Print Option to Print Modules with all sub panel modules

    There is another relevant posting here at the end which is using ZuckerReports for this.

    A few questions:

    On the print should you be able to select what subpanels you want to include in the print, and what about data filtering? Currently in Sugar you only show 20 entries in a subpanel (or 10) depending on the configuration under admin and config.php. What is you have 100 entries

    - should they all be shown?
    - should there be any filter applied?

    Regards
    Kenneth Thorman

  4. #4
    anandece1 is offline Member
    Join Date
    Apr 2010
    Posts
    6

    Unhappy Re: Need Single Print Option to Print Modules with all sub panel modules

    But Kenneth ,
    i didn't find any solution for my query in this url : http://www.sugarcrm.com/forums/showt...print+subpanel

  5. #5
    kenneth.thorman is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    191

    Default Re: Need Single Print Option to Print Modules with all sub panel modules

    "You might be better served by using one of the various web page capture extensions available for Firefox and Chrome. They will usually capture the full length of the page for you and you can then print it. "

    Please see something like this

    http://screenshot-program.com/fireshot/

    I know this is not actually implementing this into sugarcrm, however as the previous post mentioned there are addons that will be able to handle some of this.

    Alternatively it is changing most likely more than one core sugar file making the hack non upgrade safe (meaning next time you upgrade Sugar you will loose the functionality or it might mess up your installation)

    I can make a hack like this however please consider the questions I have posted in one of the previous postings.

    1. Should you be able to configure what subpanels are part of the print?
    2. Should you be able to filter content in subpanels based on modified date (data cutoff filter)?
    3. How many entries should be shown in each subpanel on print?
    4. Should it be configurable the amount of entries to show in subpanel on print view?
    5. What version of SugarCrm are you running?
    6. What edition of SugarCrm are you running? (I will only make hacks for CE)

    (please note that this is not me agreeing to make the hack, I am still considering the amount of work involved based on your answers above)


    Regards
    Kenneth Thorman

  6. #6
    anandece1 is offline Member
    Join Date
    Apr 2010
    Posts
    6

    Cool Re: Need Single Print Option to Print Modules with all sub panel modules

    Hi Kenneth,
    Here comes my answer for ur questions :

    1. Should you be able to configure what subpanels are part of the print?
    I can able configure which fields can display in the sub-panel

    2. Should you be able to filter content in subpanels based on modified date (data cutoff filter)?
    No , i haven't tried this

    3. How many entries should be shown in each subpanel on print?
    1 0r 2 entries ,

    4. Should it be configurable the amount of entries to show in subpanel on print view?
    yes

    5. What version of SugarCrm are you running?
    SugarcrmCE 5.2

    6. What edition of SugarCrm are you running? (I will only make hacks for CE)
    Community Edition only

  7. #7
    joshh is offline Member
    Join Date
    Apr 2010
    Posts
    12

    Default Re: Need Single Print Option to Print Modules with all sub panel modules

    If you create a custom view.detail.config.php file for your module you can make it show the subpanels when printing. Simply copy the file

    include/MVC/View/views/view.config.php
    to
    custom/modules/<yourmodule>/views/view.detail.config.php (note that the name changes to view.detail.config.php).

    Edit the file and in the 'req_params' array under 'print' change 'show_subpanels' from false to true.

    This is easy and upgrade safe.

  8. #8
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    240

    Default Re: Need Single Print Option to Print Modules with all sub panel modules

    I really like www.printwhatyoulike.com for customizing the output of a webpage.

    They have a bookmarklet which you might be able to simulate with a button press.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-10-31, 09:03 PM
  2. print option not working
    By sujitkirve in forum Developer Help
    Replies: 0
    Last Post: 2008-04-28, 06:44 AM
  3. Delete print option
    By ghiz in forum Developer Help
    Replies: 0
    Last Post: 2007-08-21, 02:13 AM
  4. Replies: 0
    Last Post: 2006-10-08, 03:52 AM
  5. Print function - Print without buttons and hyperlinks
    By malcolmh in forum Feature Requests
    Replies: 0
    Last Post: 2006-08-03, 07:43 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
  •