This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Print view of multiple pages


avatar
insanetek 0
From: -
Print view of multiple pages

Is there a way to have a print view of multiple pages?

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
avatar
Administrator
1342
From: Austria
Print view of multiple pages

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);
}
}

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.