makesites / kisscms

A lightweight CMS written in PHP. Lightning fast to setup. Obviously easy to maintain. #php
http://kisscms.com
22 stars 6 forks source link

Generalize the usage of $_page #122

Closed tracend closed 10 years ago

tracend commented 10 years ago

On #38 we populated the data container with page data under the _page pariable.

That was limited to static pages that used the page_controller.

Extending that to all controllers by adding generic page details under the same variable makes sense.

Such information could be the controller name, the view name for the body and other page specific details.