Page 1 of 1

canonical in print

PostPosted: Wed Jul 03, 2013 9:00 am
by martinh
I'd like to know if there is a simple way to generate a canonical URL of blogpost in the printview. Which classes are nessesary so that $url->postPermalink($post)} works in print?

Re: canonical in print

PostPosted: Thu Jul 04, 2013 6:05 pm
by jondaley
what do you mean by "printview"? that isn't a lifetype view - you just mean a print preview, or the file that shows when printing? From lifetype's perspective, there isn't any difference between a print preview, and the regular view, so the url can be obtained in the same way.

Re: canonical in print

PostPosted: Fri Jul 05, 2013 3:13 am
by martinh
I mean the plugin print. If I paste $url->postPermalink($post)} in /print/templates/printview.template it doesn't work. I think I have to embed further classes.