I have Annotate installed on a 5.x system.

When a user with "read annotation" and "create annotation" permissions clicks on "Printer Friendly", the "Annotations" section of the resulting printer friendly page includes "Input format" and "Visibility" node form fieldsets as well as the "Update" button. I would think that in the "Printer friendly" version of a node, we should only see the "Notes" for "Annotations".

Any suggestions?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

clemens.tolboom’s picture

Category: support » feature

You are quite right that this should be rendered differently. If you could give me some code example how printer friendly works that would be great!

Thanks for the suggestion

clemens.tolboom’s picture

Status: Active » Postponed (maintainer needs more info)
SomebodySysop’s picture

Try this patch on 5.x-1.1 release. Should fix the problem.

SomebodySysop’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
2.26 KB

Can't seem to upload the patch. If not attached here, then get it from here: http://www.scbbs.com/system/files/annotate.module.5.x-1.1.patch

clemens.tolboom’s picture

I don't think it should be a text area in printer friendly mode. It should either be plain text or not showed at all.

What do you (everybody!) think?

SomebodySysop’s picture

How do you render 'plain text' using the form api? I couldn't figure out how to do it.

clemens.tolboom’s picture

Version: 5.x-1.1 » 5.x-1.x-dev
Status: Needs review » Active

I decide to place ALL allowed annotations on the printer friendly page ... that is the content of the 'Annotation' tab is merged into the printer friendly page.

My motivation is that when people want to print the page they want all content related to the page. If I'm wrong please let me know. I will commit this solution into the dev version.

SomebodySysop’s picture

FileSize
69.67 KB

Have you looked at the "printer friendly" output from annotate? It puts the actual annotation into a small box (that must be scrolled to see a long annotation). It also display the "Input format" and "Visibility" settings as well as the "Update" button. How do we get rid of all that and just show the formatted text of the annotation itself in printer-friendly mode?

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom

The changes I made where done in the dev version. I will create an official release from it.

clemens.tolboom’s picture

Version: 5.x-1.x-dev » 5.x-1.2
Status: Active » Fixed
clemens.tolboom’s picture

Status: Fixed » Closed (fixed)