Database Forum
Web Database Register Members List Calendar FAQ

 
Go Back   Database Forum > PHPMagic Discussions > Customization
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Default Print Detail View Page Only
01-18-2009, 09:33 PM #1  

leonchin
Junior Member

 
Status: Offline
Posts: 5
Join Date: Jan 2009

How could I get a print button to display the detail view (like the default table view) to allow printing.

I find print preview useless for me as what I need is a formatted page.

Thanks
Reply With Quote

Default
01-19-2009, 03:30 PM #2  

leonchin
Junior Member

 
Status: Offline
Posts: 5
Join Date: Jan 2009

anyone else has the same requirements or found the solution? any help would be great

Reply With Quote

Default
01-20-2009, 05:00 PM #3  

twenty1
Senior Member

 
Status: Offline
Posts: 221
Join Date: Mar 2005
Location: Iowa, USA

Never had a requirement just offering something to try. Try adding this javascript to the generated blank footer.php file.
Code:
<A HREF="javascript:window.print()">Print This</A>
Reply With Quote

Default Print Detail table view only
05-17-2009, 12:20 PM #4  

Ant-c
Junior Member

 
Status: Offline
Posts: 1
Join Date: May 2009

Hi
I am trying to set up a print of detail view only. I have placed the script that you list and it prints the whole page which is ok but I really would like the whole detail view and not the table as well. Anyone got around this yet?

Anthony
Reply With Quote

Default Print Detail View Only
09-02-2009, 12:16 PM #5  

jpaulo
Junior Member

 
Status: Offline
Posts: 2
Join Date: Aug 2009

Hi
i like to do that.
help
Reply With Quote

Default
09-02-2009, 04:19 PM #6  

Lana
Senior Member

 
Status: Offline
Posts: 110
Join Date: Oct 2007

Try adding the JavaScript mentioned above to the bottom of the relevant tablename_templateDV.HTML file.
Reply With Quote

Post not working
09-03-2009, 07:06 PM #7  

jpaulo
Junior Member

 
Status: Offline
Posts: 2
Join Date: Aug 2009

I try this .
but print all the page.

one solution is to select the option to hide table view.
after this i can print only the detail view.

but i loose the option to search data.
i only can input new record.

someone have any solution to this ?


report generator can solve this problem ?
Reply With Quote

Default
09-04-2009, 05:37 AM #8  

SusanH
Senior Member

 
Status: Offline
Posts: 115
Join Date: Mar 2005
Location: CA

Create a filter...
Reply With Quote

Default I would like to do this also!
01-12-2010, 12:48 PM #9  

KimS
Junior Member

 
Status: Offline
Posts: 13
Join Date: Jul 2009

I do not want the table view to print - just the detail view - creating a filter leaves the table view at the top - help please!
Reply With Quote

Default
01-12-2010, 06:57 PM #10  

twenty1
Senior Member

 
Status: Offline
Posts: 221
Join Date: Mar 2005
Location: Iowa, USA

Why not create another table view file that contains all the fileds you want to print, search the record and then print the record. You can search a unique piece of information from each record. Record id field or whatever then print it...
Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 01:12 AM.

Powered by: vBulletin Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Database Forums

Help support our forum assistants and product development ->

go to top go to top