Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

customising print styles

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi
What's the best way to customise the way a document prints from the web page? Normally I'd customise the print.css as in the Beez tempate but I can't find the equivalent in the framework. Basically I just want to hide certain elements like the navigation and footer and maybe reduce the logo print size. Thanks
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

I'll check on this and get back to you

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Janice,
Ive attached a version of Buildr that makes this possible.
Does it do what you need?
Thanks
Attachments:
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: Janice Jones
Hi Anthony - sorry I missed the reply in my in box. Thank you for taking the time to do this...I've just downloaded it.. Do I just install over the current extension?

Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan - yes just install over the top. Take a backup of your site first. No need but I always like to do this if I am updating something like the template ... just in case.
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: Janice Jones
Thanks Anthony. I installed without problems. I may have misunderstood but I enabled the ' print template' settings toggle so that the general and theme settings get output at the bottom of the page but can't see anything related to print styles themselves. I know this is probably me having a 'senior' moment but can you tell me where I should be looking?
Sorry to be such a pain.
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Janice,

sorry for the confusion on this - that isn't referring to the print style sheet

after installing if you view the source code you should see

<link rel="stylesheet" href="/buildr23516/templates/buildr/css/print.css" type="text/css" media="print" />
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Janice Jones
with that you can add the required styles to print.css style sheet as it targets media="print"

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Ah....thanks Paul! I didn't think that referred to the print stylesheet, I just thought it would output the print styles in addition to those it used to...sorry I was overthinking it - Anthony provided exactly what it was I originally looking for and I went looking somewhere else in the template just because it was a new file! Too much going on at once and an inability to ,uti task is my only excuse. Apologies again and thank you....perfect for what I need.
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
No problem Jan

I went to same setting as you before I realised :)

Good luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers