Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2014-01-20 20:44:42

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Section does not pick up assigned page

colak wrote #278331:

Hi. Check out how we deal with article printing at neme.org. For example try to print this page, or better, print it as a pdf to save inks. No extra section is needed or used.

Why you gave this example? What it’s intended to show. It results in 15 pages.

Offline

#26 2014-01-20 20:46:05

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Section does not pick up assigned page

sunmaker wrote #278336:

Could you describe how you did that? In looking at the code I don’t see media queries.

This is another method to do the same:

<link rel="stylesheet" href="http://www.neme.org/css/print.css" title="Standard" media="print" type="text/css" />

Offline

#27 2014-01-20 20:51:30

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Section does not pick up assigned page

sunmaker wrote #278337:

The article_custom tag can restrict articles by section (…).

It can do much more, not only restrict but also select. And more than only sections.

Regarding the other part of your explanations I think it could be made with a simple individual article view.

Or what I understand wrong?

Offline

#28 2014-01-21 06:24:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Section does not pick up assigned page

sunmaker wrote #278336:

Could you describe how you did that? In looking at the code I don’t see media queries.

I have 2 css files which share the same title="Standard". One is for the screen and the second which is much smaller is for the printer. The media queries are after media= in the css

<link rel="stylesheet" href="http://www.neme.org/css/default.css" title="Standard" media="screen" type="text/css" />
<link rel="stylesheet" href="http://www.neme.org/css/print.css" title="Standard" media="print" type="text/css" />

Basically look at the 2 css files and all will become clear

GugUser wrote #278338:

Why you gave this example? What it’s intended to show. It results in 15 pages.

Apologies I had it open on another browser tab and copied pasted the url without thinking


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB