Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-24 14:41:30

Davemania
New Member
From: Basingstoke, UK
Registered: 2005-10-24
Posts: 2
Website

How do I change the error pages?

How do I change the error pages?

sorry if this has been posted a lot before!

Offline

#2 2005-10-24 14:55:17

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: How do I change the error pages?

With 4.0.1? You don’t (i.e. you can’t).

If you are using the in-development version there’s a post on the weblog. This will be available when 4.0.2 is released.

Offline

#3 2005-10-24 15:41:36

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: How do I change the error pages?

by the way, on the svn version the CSS is in the code of the error page (and not connected to “external” CSS with <link rel="stylesheet" href="<txp:css />" type="text/css" media="screen" />)…
Is it just because it is a dev. version or is it for a particular reason ?

Last edited by Niconemo (2005-10-24 15:44:17)


Nico

Offline

#4 2005-10-24 15:53:07

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: How do I change the error pages?

And are there any other “errors” that we can use apart from a 404 yet?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2005-10-24 16:03:29

Davemania
New Member
From: Basingstoke, UK
Registered: 2005-10-24
Posts: 2
Website

Re: How do I change the error pages?

Thanks guys. I read about the 4.0.2 release but I thought i’d ask anyway, just incase it was a hack etc.
Cheers :)

Offline

#6 2005-10-24 22:57:41

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I change the error pages?

> by the way, on the svn version the CSS is in the code of the error page (and not connected to “external” CSS with <link rel="stylesheet" href="<txp:css />" type="text/css" media="screen" />)…
Is it just because it is a dev. version or is it for a particular reason ?

Otherwise we could trigger cascading errors. What happens if it’s the CSS page itself that is missing?

You can edit the error template in 4.0.2, as Sencer pointed out.


Alex

Offline

#7 2005-10-24 23:13:36

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: How do I change the error pages?

ummm… what about sbg_error_SOMETHING and sbg_url handler… all you really have to do is send it to a section and use php headers to pump out an 404 error…

Offline

#8 2005-10-25 00:05:31

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: How do I change the error pages?

All you really have to do with 4.0.2 is install 4.0.2 when it’s released.


Alex

Offline

#9 2005-10-25 05:33:57

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: How do I change the error pages?

> > by the way, on the svn version the CSS is in the code of the error page(…)

> zem wrote:
> Otherwise we could trigger cascading errors. What happens if it’s the CSS page itself that is missing?

So logical ! Thank you, zem.


Nico

Offline

Board footer

Powered by FluxBB