I am using the core printer friendly with the printer, email and pdf versions module. I am only using the printer options.
I have only granted permissions to admin to administer and use printer friendly pages.
I have set content types for all posts to default ot not allowing printer friendly access so that admin can set only on selected posts.
First problem I have is that every new post when created by a privileged user shows the print friendly boxes with check marks on for show link and show print friendly url's and off for show links in comments. I thought since the content type has them unchecked they wouldn't be on.
Second, if I uncheck these boxes when creating the post and save it. The second time the post is edited the check boxes are back as before. If they are unchecked a second time and the post saved, the check boxes remain unchecked. This is an added nuisance.
Any suggestions on how to resolve these problems would be welcome. Thanks,
Izzy
Comments
Comment #1
jcnventuraThe content-type / node relationship is not so much inheritance, but more a system of priority controls.
If you disable the content-type setting, the node setting doesn't matter anymore. To show the link, both applicable settings must be enabled. If any of them is disabled, then the link doesn't show.
Because of that, when you create a new page, the defaults are always applied, and not the current content type setting.
I have never experienced the 'having to save twice' problem.
Comment #2
anrikun commentedIt seems I've got the same problem:
For node type "MyPage", I've unchecked all print module related checkboxes (I want them unchecked by default for every new "MyPage" content).
But when I create a new "MyPage" content, "Show link" and "Show Printer-friendly URLs list" are still checked.
Why?
Comment #3
jcnventuraBecause that's the way it works.. Read the text above in my #1 comment where I explain it.
Comment #4
izmeez commentedI still find it strange that if for content types where I want the printer friendly items off, when I first create the item two of the three check boxes have check marks, the print friendly and show link. If I uncheck and save this, when I return to edit the same item the second time the check boxes are again checked. If I uncheck them a second time and save, then whenever I return the check boxes remain clear. It really would be more user friendly if it were possible to get them to stay off in the first place if that's possible.
Thanks,
Izzy
Comment #5
jcnventura@izmeez: I never experienced the 'save twice' problem. It's possible to program Drupal to have this type of behaviour, but it would be a lot of work and would require special code for that. That code is not there.
I am assuming that you have some kind of cache or another similar problem in your system, which is the only simple explanation why this is happening to you.
Comment #6
izmeez commentedSorry, to be a pest. But this is happening consistently on my sites. I am not sure how this can be a caching problem because it occurs even if I leave a space of days between first creating the content and the second edit. And the check boxes consistently remain cleared after being unchecked a second time.
I will do some further tests to see if it is just a cosmetic issue or is in fact a problem with showing printer friendly when it is not desired.
Thanks,
Izzy
Comment #7
jcnventuraNo further info in two weeks. Closing the issue.