eXpl0it3r / SFMLProjects-Kohana

With the SFML Projects website we want to provide a platform to host, share and archive projects that were made with or for SFML.
MIT License
5 stars 0 forks source link

Load static pages from templates via database. #4

Closed eXpl0it3r closed 10 years ago

eXpl0it3r commented 10 years ago

Currently the static page loading is really static and every new page requires a new entry in the controller. Instead either the static pages or the template name should be directly loaded from the database.

eXpl0it3r commented 10 years ago

KOstache can only load actual templates, thus I changed it slightly in commit 7ebedf005b4e9024bd35a52431e4371bdc01f560. There's now a default view and a default template, if there's no template specified in the database (template == NULL) then the default template will be used.