This topic is locked

PDF view

6/20/2010 1:50:50 PM
PHPRunner General questions
M
michaelmac author

Hey Everyone
I am trying to TURN off the global appearance of the PDF view that is on print friendly and even edit pages. Is there a way to turn it off based on a user criteria? I mean I want to control it via $xt->assign() in the before the display event. I am using all three PHPR 5.x versions.
Thanks
Mike

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=14664&image=1&table=forumtopics' class='bbc_emoticon' alt=':D' />

A
ann 6/22/2010

Mike,
use Print page: Before display event on the Events tab. Here is a sample:

if () {

$xt->assign("pdflink_block",false);

}

else{

$xt->assign("pdflink_block",true);

}