? No Code Attached Yet J4 Issue ?
avatar ciar4n
ciar4n
21 Nov 2017

A general question for both 3.8 and 4.0 frontend template... what should be displayed when printing a page via the browser? Currently everything which doesn't really make for a very readable page.

  1. Hide every link been appended with a URL? Wikipedia for example hides this.
  2. Should all modules be displayed? It is possible to show/hide with a module class.
  3. Remove layout styling? Eg borders
  4. Just display the page title and component area?
  5. A pointless question considering there is an action for this (./templates/protostar/component.php)?

Current...

image

The 4.0 template currently has some larger print issues.

avatar ciar4n ciar4n - open - 21 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Nov 2017
avatar ciar4n ciar4n - change - 21 Nov 2017
The description was changed
avatar ciar4n ciar4n - edited - 21 Nov 2017
avatar ciar4n ciar4n - change - 21 Nov 2017
The description was changed
avatar ciar4n ciar4n - edited - 21 Nov 2017
avatar dgrammatiko
dgrammatiko - comment - 21 Nov 2017

I have no clue about the content part, my only suggestion/proposal is to not load this mostly unneeded css file in the head (optimally it should be loaded async after page complete, eg through js with a fallback inside a noscript tag)

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Nov 2017
Category Feature Request Templates (site)
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Nov 2017
Status New Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Nov 2017

By Core should be displayed

  • Site-Name
  • URL of showen Page
  • Content (Article, Blog- or List-View,…)

Feature Request: Default Sets Super-Users can choose (Raw one like above to Full print all on Page).


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18789.
avatar coolcat-creations
coolcat-creations - comment - 23 Nov 2017
  • Sitename and URL of the current page
  • Website Logo
  • Page Title
  • Content Title (Article)
  • Content
  • Modules on/off
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2019
Title
[Frontend Templates] What to display when printing?
What to display when printing?
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Apr 2019
avatar Hackwar
Hackwar - comment - 17 Jun 2019

Joomla 3.x has a feature freeze and Joomla 4.0 has removed the specific printing button. Defining a print view with that falls under the duty of the template designer/site integrator. Thus this issue is not one of the Joomla project anymore. I would like to ask to close this one.

avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2019
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 17 Jun 2019
avatar Quy Quy - change - 17 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-17 21:46:22
Closed_By Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Jun 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/18789

avatar brianteeman
brianteeman - comment - 17 Jun 2019

Please re-open. We need a print.css for the frontend template in joomla 4 - thats what this is about

avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2019
Status Closed New
Closed_Date 2019-06-17 21:46:22
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - reopen - 17 Jun 2019
avatar Quy Quy - change - 17 Jun 2019
Status New Pending
Closed_Date 0000-00-00 00:00:00
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Jun 2019

Set to "open" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/18789

avatar wilsonge
wilsonge - comment - 17 Jun 2019

Agree with Brian here. Actually with removing the print thing we should have a print.css that probably removes all modules and just prints the main content of the page (i.e. a version of the component.php layout).

avatar brianteeman
brianteeman - comment - 2 Aug 2021

Is it too late to do this?

avatar brianteeman
brianteeman - comment - 24 Jan 2022

Could someone please change the tag on this from J3 to J4

avatar Fedik Fedik - change - 24 Jan 2022
Labels Added: No Code Attached Yet J4 Issue
Removed: J3 Issue ?
avatar Fedik Fedik - change - 24 Jan 2022
Labels Added: No Code Attached Yet J4 Issue
Removed: J3 Issue ?
avatar Fedik Fedik - labeled - 24 Jan 2022
avatar Fedik Fedik - unlabeled - 24 Jan 2022
avatar chmst chmst - change - 30 Aug 2022
Labels Added: ?
avatar chmst chmst - labeled - 30 Aug 2022
avatar Hackwar Hackwar - change - 18 Feb 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 18 Feb 2023
avatar Mohammadkhan18
Mohammadkhan18 - comment - 30 Mar 2023

This are things should be done for display when printing
1:Hide unnecessary elements
2:Remove unnecessary styling
3:Display only relevant content
4:Provide a print-friendly layout: Creating a separate stylesheet for printing can help to optimize the layout and styling for printed pages.

avatar Mohammadkhan18
Mohammadkhan18 - comment - 30 Mar 2023

i want to contribute on this issue but i am confused after cloning ,i have open the template file and again in the template file there is two files "autm" and "system" .so where should i made my print.css

avatar drmenzelit
drmenzelit - comment - 12 Apr 2024

@Mohammadkhan18 sorry for taking so long to answer. We are here talking about the frontend template Cassiopeia. On a clon of Joomla you will find the assets in the build folder: https://github.com/joomla/joomla-cms/tree/4.4-dev/build/media_source/templates/site/cassiopeia/scss

Add a Comment

Login with GitHub to post a comment