404 fallback

35 views
Skip to first unread message

Konzertheld

unread,
Jan 8, 2012, 6:45:32 PM1/8/12
to habari...@googlegroups.com
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

Colin

unread,
Jan 9, 2012, 1:26:08 AM1/9/12
to habari...@googlegroups.com
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:


HTH
Colin


Konzertheld

--
To post to this group, send email to habari...@googlegroups.com
To unsubscribe from this group, send email to habari-users...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/habari-users



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

Christian Gredig

unread,
Jan 9, 2012, 6:29:04 AM1/9/12
to habari...@googlegroups.com
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 <lil...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages