This topic is locked
[SOLVED]

 customizing printer friendly page

12/20/2011 9:39:23 AM
PHPRunner General questions
F
fianchetto author

Dear All,

Sorry if this sounds trivia. I have modified printer friendly page where standard output format is not suitable for the user. So what I do, I delete all the standard output in visual editor and use PHP code snipets based on session variable. Here, I use [Print Page: After record is processed] events to copy the $data to several session variables and display that session variable using 'echo' at the editor area. It works well for single records. But then there is new requirement where I need to have multiple record to be printed, but unfortunately this method only print single record (which is the last one).

Whenever I tried to setup new HTML <TABLE> and use standard field variable that variable never show up in the print page.

Need help how I can customize the HTML <Table> in the printer friendly page. For example, instead of get 3 rows by 7 columns in standard output given by PHPRunner, I want to modify it to different <TABLE> dimension by moving fields, for example 4 rows x 4 columns.
thanks

.fianchetto

Admin 12/20/2011

I would suggest to restore the original print page layout and modify it according to your needs.
Check 'How to build advanced webforms' tutorial at http://xlinesoft.com/phprunner/php-database.htm to see how you can customize your pages layout.

F
fianchetto author 12/21/2011

Thanks Sergey,

I restored the original printer-page and customize based on the tutorial. I only made modificatio (add/delete row/column) within the table. But I found only one field is showed up while the other field is empty. Also, with that condition, when I selected multiple records to be printed, it didn't turn out to become two table but put mesh inside that single table. I used 5.3, is it specific to 6.0 release ?
thanks

.fianchetto



I would suggest to restore the original print page layout and modify it according to your needs.
Check 'How to build advanced webforms' tutorial at http://xlinesoft.com/phprunner/php-database.htm to see how you can customize your pages layout.

Admin 12/21/2011

fianchetto,
we would need to see your application in order to understand what's happening.
Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

F
fianchetto author 1/19/2012

Thanks Sergey,

Actually I played around the header and found that the gridrow , gridblock, gridrecord etc affects the display of the data. So it is fine now. I just put everything in appropriate block and it shows the format like what I want to see. My mistake in the past was that when I modify the table by GUI, the modification went out the appropriate block, thus it doesn't appear as I want. Now it is OK.
thanks

.fianchetto



fianchetto,
we would need to see your application in order to understand what's happening.
Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.