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
plug in print entries and comments
update on print matter
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
Does anyone know whether there is a plugin that adds this functionality (also saving the comments to the entries).
Thanks,
Pruttel
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
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?
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?