Page 1 of 1
plug in print entries and comments
Posted: Wed Jan 03, 2007 9:24 am
by pruttel
Is there a plugin for printing the entries and comments to an entry ?
Example
ENTRY TEXT 1
...COMMENT 1.1
...COMMENT 2.1
...COMMENT 3.1
ENTRY TEXT 2
...COMMENT 2.1
...COMMENT 2.2
...COMMENT 2.3
ETC
Thanks for your answer. I checked in the forum, but did not find any results on this topic.
peter
update on print matter
Posted: Wed Jan 03, 2007 2:10 pm
by pruttel
okay, I found a plugin serendipity_event_blogpdf that saves the entries as pdf. But unfortunatly without the comments of users.
Does anyone know whether there is a plugin that adds this functionality (also saving the comments to the entries).
Thanks,
Pruttel
Posted: Wed Jan 03, 2007 5:43 pm
by judebert
This sounds like something that could be done with a custom template. Switching templates might be a pain, though.
I don't think there's a plugin that does that right now. And would you really want *all* entries, or only the latest?
Anybody got any other ideas?
Posted: Wed Jan 03, 2007 5:49 pm
by garvinhicking
Hi!
As judebert indicates, just editing your entries.tpl would do. You can just remove the checks that read "{if $entry.is_extended}". These if-structures indicate whether something is only emitted on the detail pane or not. So in detail pane comments are printed. If you remove the IF-check, then comments would also be shown in the overview page.
This might get very long and ugly on overview pages then, though.
Best regards,
Garvin
Posted: Wed Jan 03, 2007 5:56 pm
by judebert
Uh-oh. I'm starting to think again.
You could have Smarty template include all the comments, but hide them with CSS. Then you could have a separate printing stylesheet that exposed them (like the Google Maps pages that have separate stylesheets for printing).
That would be a change to the specific template's style.css, entries.tpl, and index.tpl (for the separate stylesheets). Right?