'Print' Button Placement

Created on 27 August 2025, 25 days ago

Problem/Motivation

How can I move the 'Print' button?

Steps to reproduce

I have the Printable module on two sites. On one site, the 'Print' button is above the body of the content. On another, the button is below.

Proposed resolution

How can I specify where I would like the button to appear? I would prefer that the button appear below the body.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

3.1

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sbrown1038
  • 🇦🇺Australia nigelcunningham Geelong

    Hi there!

    You can set the block in which the links are rendered at /admin/config/user-interface/printable/links. The placement of the block is set in the settings for the content type's display mode. So, for example, /admin/structure/types/manage/article/display.

    If you have difficulty discovering which content type and display mode you should be checking, try turning on the Twig debug settings at /admin/config/development/settings. (Don't forget to turn them off afterwards; they impact performance). Once you've turned on twig debugging, reload the page where you want to move the links and look at the source. It will show you information (HTML comments) about which templates are being used and the template suggestions that are being applied. You should see stuff like 'node--article--full.html.twig, which will indicate that the HTML within that part of the DOM is a node of type article, being displayed using the 'Full' (aka default) view mode.

    I hope that helps!

  • Thanks for the quick reply, Nigel. That was very helpful. All I had to do was go into the content types 'Manage Display' and drag the 'Links' block so that it came after the 'Body' block.

    Would I ever find other links in that block or is that only for the 'Print' button? If it's only for the print button, 'Print button' might be a better name for the block. Anyway, thanks again.

    Steve

  • 🇦🇺Australia nigelcunningham Geelong

    You're welcome.

    The links section is for other links too. I think one of the social media modules might use it. It's not something we create.

    I'll mark this done if you're happy.

  • Now that this issue is closed, please review the contribution record.

    As a contributor, attribute any organization helped you, or if you volunteered your own time.

    Maintainers, please credit people who helped resolve this issue.

Production build 0.71.5 2024