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 <[email protected]>: > 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 <[email protected]> > wrote: >> >> 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 >> >> -- >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-users -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
