Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
404 fallback
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Konzertheld  
View profile  
 More options Jan 8 2012, 6:45 pm
From: Konzertheld <konzerth...@konzertheld.de>
Date: Sun, 8 Jan 2012 15:45:32 -0800 (PST)
Local: Sun, Jan 8 2012 6:45 pm
Subject: 404 fallback

Hey there,

I am making a very generic theme, so I did not include a 404.php. Wiki says
Habari should fall back to home.php but it doesn't, and additionally,
something like "oops! The page you are looking for was not found. Try
again." is displayed. Is that supposed to happen or a bug? Header and
footer are included and between them there is a raw <h2> output which is
definitely not made by me.

Greetings
Konzertheld


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin  
View profile  
 More options Jan 9 2012, 1:26 am
From: Colin <lild...@gmail.com>
Date: Mon, 9 Jan 2012 06:26:08 +0000
Local: Mon, Jan 9 2012 1:26 am
Subject: Re: [habari-users] 404 fallback

I think this may be a documentation mistake.

The behaviour you are seeing is the hard coded behaviour seen if a 404
template file not found:

https://github.com/habari/system/blob/master/classes/theme.php#L249

HTH
Colin

On Sun, Jan 8, 2012 at 11:45 PM, Konzertheld <konzerth...@konzertheld.de>wrote:

--
Colin Seymour
Blog: http://colinseymour.co.uk
Tech Stuff: http://lildude.co.uk
Barefoot Running: http://barefootrunner.co.uk
IRC: lildude #habari

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gredig  
View profile  
 More options Jan 9 2012, 6:29 am
From: Christian Gredig <christian.gre...@googlemail.com>
Date: Mon, 9 Jan 2012 12:29:04 +0100
Local: Mon, Jan 9 2012 6:29 am
Subject: Re: [habari-users] 404 fallback
Now that's really not a nice way of handling. Shouldn't Habari be
rather outputting some message that the template is missing as it does
in other cases? The hardcoded stuff might crash themes, as it already
did for mine (which is logical, because the content template is not
loaded the way you handle it).

2012/1/9 Colin <lild...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »