Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-12-28 22:49:07

sbo
Member
Registered: 2006-06-06
Posts: 47

Re: Page 404

I have created the CSS in Presentation; i called it 404. I have checked the head of the ‘error_404’ template : link to CSS is OK. i have a section called ‘error’ which uses Page ‘error_404’ and CSS style ‘404’.

I do not know what i did wrong.

???


Stéphane.

Offline

#14 2006-12-28 23:04:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Page 404

So the right page displays, but not the style? In this faq you find a paragraph about ruling out CSS stylesheet problems, can you try that? If it doesn’t help, can you post a tag trace of the page in question (also described in the same faq)?

Offline

#15 2006-12-28 23:33:42

sbo
Member
Registered: 2006-06-06
Posts: 47

Re: Page 404

Thanks a lot Els, you were right !

I had to modify the link to CSS [href=”<txp:css />”] by [href=“http://example.com/textpattern/css.php?s=404”]; i also had to modify links to sections by [Absolute] links :

<link rel=“stylesheet” href=“http://example.com/textpattern/css.php?s=404” type=“text/css” media=“screen” />

<li><a href=“http://example.com/Overview”>Website in english</a></li>
<li><a href=“http://example.com/Profil”>Site en français</a></li>

Thanks again Els and thanks everybody for your great help.

Stephane.


Stéphane.

Offline

#16 2006-12-28 23:42:51

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Page 404

Well, I’m glad you got it working, but I honestly don’t understand why this would make a difference, the txp tags should give exactly the same output… That is… if you entered the right site URL in Admin > Preferences (example.com).

Offline

Board footer

Powered by FluxBB