Hi,
when exporting an article in pdf, I noticed that the link displayed in the footer is not affected if you enable mod_rewrite.
I suggest using the PMF_Link class for that link, e.g.
$url =PMF_Link::getSystemScheme().$_SERVER["HTTP_HOST"].str_replace("pdf.php", "index.php?action=artikel&cat=".$this->categories[$this->rubrik]["id"]."&id=".$_REQUEST["id"]."&artlang=".$_REQUEST["lang"], $_SERVER["PHP_SELF"]);
$urlObj = new PMF_Link($url);
$urlObj->itemTitle = $this->thema;
$_url = str_replace('&', '&', $urlObj->toString());
$this->Cell(0, 10, "URL: ".$_url, 0, 1, "C", 0, $_url);
in Pdf.php, function Footer().
Problem with links in PDF export of an article
Moderator: Thorsten
Problem with links in PDF export of an article
Best regards,
Georgi
Georgi
Hi,
you're right again... I fixed it in CVS.
Best regards
Thorsten
you're right again... I fixed it in CVS.
Best regards
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist