Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-13 11:15:55

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

The different states of Textpattern output

Hi.
On my latest site construction effort, I’m aiming to have a single page which covers the various states of browser output that Textpattern spits out.

I understand that error_default is called in the case of an HTTP error, and that subsequent pages can be created to handle the different types of error, rather than using the error_default catch-all. I know I can’t delete error_default, not would I wish to. I want to have this single, beautifully-written page on both default and error_default — that is, copy and paste the content so they’re identical. Then, ideally, all states of browser output would be covered in the markup of this page.

With this in mind, I’m gathering all the states of what Textpattern browser output (not RSS, ATOM etc) can be, and so far I’ve got the following:

  • the front page (technically an article list, right?)
  • a single article
  • an article list
  • search results
  • an HTTP error

Have I missed any? Grateful for any advice on omissions.

Online

#2 2012-09-13 11:58:19

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

Re: The different states of Textpattern output

Have I missed any? Grateful for any advice on omissions.

Not that I can think of, except you can break down the list to:

  • an article list
    • based on section
    • based on category
    • based on author
    • based on article_custom

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

Offline

#3 2012-09-13 13:14:52

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: The different states of Textpattern output

Thank you, Yiannis.

Edit: done and documented

Last edited by gaekwad (2012-09-13 15:16:27)

Online

Board footer

Powered by FluxBB