canonical in print

canonical in print

Postby martinh on Wed Jul 03, 2013 9:00 am

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?
martinh
 
Posts: 175
Joined: Wed Aug 01, 2007 7:32 am
Location: Heidelberg, Germany
LifeType Version: 1.2.11

Re: canonical in print

Postby jondaley on Thu Jul 04, 2013 6:05 pm

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.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: canonical in print

Postby martinh on Fri Jul 05, 2013 3:13 am

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.
martinh
 
Posts: 175
Joined: Wed Aug 01, 2007 7:32 am
Location: Heidelberg, Germany
LifeType Version: 1.2.11


Return to Plugin Development Team

cron