Print view of multiple pages
insanetek 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Print view of multiple pages
Philipp
From: Austria
Administrator
1342From: Austria
Print view of multiple pages
I assume in the review section?
Open printer.php in an editor and replace:
with:
Then replace:
with:
I assume in the review section?
Open printer.php in an editor and replace:
$cache = GetCache("reviews", "reviewp-$id-$page");
if (!$cache)
{
dbconnect();
$result = DBQuery("SELECT * FROM esselbach_st_review WHERE review_id = '$id' AND review_page = '$page' AND review_website = '$website' OR review_id = '$id' AND review_page = '$page' AND review_website = '0'");
if ($result)
{
$insert = mysql_fetch_array($result);
with:
$cache = GetCache("reviews", "reviewp-$id");
if (!$cache)
{
dbconnect();
$result = DBQuery("SELECT * FROM esselbach_st_review WHERE review_id = '$id' AND review_website = '$website' OR review_id = '$id' AND review_website = '0' ORDER BY review_page");
if ($result)
{
while($insert = mysql_fetch_array($result))
{
Then replace:
$output .= GetTemplate("review_printer");
WriteCache("reviews", "reviewp-$id-$page", $output, 0);
}
with:
$output .= GetTemplate("review_printer");
WriteCache("reviews", "reviewp-$id", $output, 0);
}
}
Is there a way to have a print view of multiple pages?