This topic is locked

Custom Print Layout

4/4/2015 11:51:31 AM
PHPRunner General questions
S
schaet author

Hello,

How would I go about creating a custom print layout? I have a database of club members and would like to design a membership card to be able to print out for them. Included would be things like name, member number, date joined etc .. I'm not sure how to go about this. Would I need to create a new printer friendly page from scratch?
Ideally the print out would be the size of a business card.
Thank you

Steven

Sergey Kornilov admin 4/6/2015

Not sure I understand what the question is. You can modify View or Printer-friendly page in Visual Editor.

S
schaet author 4/6/2015

Th issue with that is it would be modified for the whole table. I would like to select one record and print it based off of a different printer friendly page or template.
So for instance; I select one record and would like to print this record like so:
FirstName LastName

Date Joined

Membership Number
as opposed to:
FirstName LastName Date Joined Membership Number
But I would like to keep the original printer friendly layout as well.

Sergey Kornilov admin 4/6/2015

First of all - you can create multiple printer-friendly pages pointing to the same data set:

http://www.asprunner.com/forums/topic/15908-how-to-create-multiple-print-pages-based-on-the-same-data/
In your specific case it will be probably easier to modify View page since it's designed to display a single record and just print it.