Print button Joomla 5

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
joomlerGR
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri Apr 05, 2024 1:13 am

Print button Joomla 5

Post by joomlerGR » Mon Apr 29, 2024 4:46 pm

where is the PRINT button for the Joomla 5 article pages? Is that feature removed?
Last edited by toivo on Thu May 09, 2024 2:16 am, edited 1 time in total.
Reason: mod note: changed CAPS in subject - please observe the forum rules!

gws
Joomla! Champion
Joomla! Champion
Posts: 6014
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: PRINT button Joomla 5

Post by gws » Mon Apr 29, 2024 5:54 pm

Yes.

joomlerGR
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri Apr 05, 2024 1:13 am

Re: PRINT button Joomla 5

Post by joomlerGR » Mon Apr 29, 2024 11:30 pm

gws wrote:
Mon Apr 29, 2024 5:54 pm
Yes.
there is not any other tool-extension-plugin for that feature?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31035
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: PRINT button Joomla 5

Post by Per Yngve Berg » Tue Apr 30, 2024 3:43 am

Add "?tmpl=component" to URL

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9837
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: PRINT button Joomla 5

Post by AMurray » Tue Apr 30, 2024 10:38 am

The ?tmpl=component bit will load a clean, printable page (which removes the menus, footers and modules etc), and then you can print using the command available in your operating system or browser such as Ctrl+P, or the right-click context menu, or the browser's main (file) menu.
Regards - A Murray
General Support Moderator

User avatar
Jeff71
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Thu Dec 25, 2008 11:26 am
Location: France / Burgundy

Re: PRINT button Joomla 5

Post by Jeff71 » Tue Apr 30, 2024 11:44 am

You could use the plugin UP to print friendly https://up.lomart.fr/demo/action-printer
Have a good day

joomlerGR
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri Apr 05, 2024 1:13 am

Re: PRINT button Joomla 5

Post by joomlerGR » Tue Apr 30, 2024 3:34 pm

Per Yngve Berg wrote:
Tue Apr 30, 2024 3:43 am
Add "?tmpl=component" to URL
can i edit the PAGE of ?tmpl=component ? so i can add lets say on the top of the page the logo of the site?

joomlerGR
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri Apr 05, 2024 1:13 am

Re: PRINT button Joomla 5

Post by joomlerGR » Thu May 09, 2024 1:10 am

the ?tmpl=component is an editable page so i can insert my html code to show my logo?

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Print button Joomla 5

Post by SharkyKZ » Thu May 09, 2024 5:43 am

What tmpl parameter does is load component.php file of your template, instead of the index.php. You can modify it but know that it's used in other places, mostly in modals. What you can also do is create a custom file, e.g. print.php in your template and load it using ?tmpl=print parameter.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31035
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Print button Joomla 5

Post by Per Yngve Berg » Thu May 09, 2024 6:03 am

component.php is located in the root folder of your template.


Post Reply

Return to “General Questions/New to Joomla! 5.x”