Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-06 21:18:44

datafirm
Archived Plugin Author
From: Seattle, WA
Registered: 2004-07-22
Posts: 35
Website

Talyst - Rockin' out

Here is another TXP 4.0.2 site:

Talyst

E-commerce is next :)

Offline

#2 2005-12-06 22:06:40

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: Talyst - Rockin' out

Super nice!

Background colour isn’t set.

Last edited by Neko (2005-12-06 22:07:31)

Offline

#3 2005-12-06 22:52:12

datafirm
Archived Plugin Author
From: Seattle, WA
Registered: 2004-07-22
Posts: 35
Website

Re: Talyst - Rockin' out

> Neko wrote:

> Super nice!

Background colour isn’t set.

It is now. Thanks!

Offline

#4 2005-12-07 03:33:41

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Talyst - Rockin' out

Looking great as usual! Cant wait to see the e-commerce side. You did a great job with the integration on your last release. Also can’t wait to see Your site up and showing us all up. :)

Last edited by soulship (2005-12-07 03:34:10)

Offline

#5 2005-12-11 07:19:25

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: Talyst - Rockin' out

wow.

Offline

#6 2005-12-14 18:20:11

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Talyst - Rockin' out

Hi datafirm.
i would like to know how you managed to get the Printerfriendly Version working? Is this javascript or a styleswitcher or…?

Other than that:
Very well done!! Great technic and great lookin`… perfect i guess

Offline

#7 2005-12-14 18:33:12

datafirm
Archived Plugin Author
From: Seattle, WA
Registered: 2004-07-22
Posts: 35
Website

Re: Talyst - Rockin' out

> alexandra wrote:

Hi datafirm.
i would like to know how you managed to get the Printerfriendly Version working? Is this javascript or a styleswitcher or…?

Hello,

We did try the style sheet switcher that worked in real time on the current page. I felt this took away from the usability of the site though. If you were in print “mode” and you hit the back button you would still be in print mode. If someone did not know how to kill this new “mode” they may become frustrated. So we decided to pop up an _blank ;)

The trick is this: when we detect the Print filter in the URI we have a conditional tag that will switch the print.css stylesheet to me used on media=“screen, projection” etc.

HTH

-Will

Offline

#8 2005-12-14 20:01:01

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Talyst - Rockin' out

> datafirm wrote:

> The trick is this: when we detect the Print filter in the URI we have a conditional tag that will switch the print.css stylesheet to me used on media=“screen, projection” etc.

Is this PHP then? Clients asked me for this kind of a Printerfriendly Versionlike yours, but i do not know how to work it out.

Offline

#9 2005-12-30 08:06:15

brian.zerangue
Member
Registered: 2005-02-15
Posts: 62

Re: Talyst - Rockin' out

good work! nice and clean!

Offline

#10 2005-12-30 13:13:04

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Talyst - Rockin' out

@alexandra:

You can use this in your page template to select either a printer or a regular css:

<code>
<txp:php>
if (gps(‘print’) == 1) echo(‘<link rel=“stylesheet” type=“text/css” href=”<txp:css n=“printer” />” media=“screen, projection” title=“printer stylesheet” />’);
else echo(‘<link rel=“stylesheet” type=“text/css” href=”<txp:css />” media=“screen, projection” title=“css v.2” />’);
</txp:php>
</code>

And this snipped may be useful to generate the printer friendly links:
<code>
<txp:php>
echo(‘<a href=“http://www.’ . $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’] . ‘?print=1”>printer friendly version</a>’);
</txp:php>
</code>

Hope to have helped!
Ralph

Offline

#11 2005-12-30 13:46:27

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Talyst - Rockin' out

Hi larf, thanks for your post above. i did find it out already :) and did writen an article on it in german
CSS Stylesheet für den Druck mit TXP

Offline

#12 2005-12-30 13:50:09

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Talyst - Rockin' out

Damn, and I thought I could post something useful for you once…

Offline

Board footer

Powered by FluxBB