Categories > TinyButStrong general >

Print

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Deependra
Date: 2006-03-14
Time: 02:51

Print

Hi,

I am new to TBS and trying to implement this in my organisations's web site with around 1000 pages - not using database. I also need to give the audience printer-friendly version - any ideas how to do this? also if possible send email this article to feature?

Looking forward to hearing from you all asap.

DT
By: Skrol29
Date: 2006-03-14
Time: 13:10

Re: Print

Hi,

I've never done Printer Friendly feature before, but I guess it can be done by simply avoiding menus and applying another CSS.
This could be simple to do with TBS : a main template with menus in a conditional TBS block, and css style sheet depending to a var Field.
Main content of the page can be changed using a simple Var Field having parameter "file".

> also if possible send email this article to feature?

Simply using another template with the same Var Field with parameter "file".
By: ioguix
Date: 2006-03-14
Time: 18:55

Re: Print

Hello,

You can use a different css link for printers using the media="print" attribut in your css headers.

Then, play with visibility and display css attributs to show or not elements regard on which kind media is concerned (print or screen).

++
By: Deependra
Date: 2006-03-15
Time: 02:32

Re: Print

also give me some hints on how can i reload the same content file in different template as you mentioned for printer friendly version so that for each page i don't need to code the links again.

DT