it is weeks now I'm trying to figure out how to make simple custome theme engine for my custom PHP CMS. I want to use it for my projects. It is based on custom framework too. So I checked how Drupal does it and Joomla. They are complex but gave me little Idea.
What do I need to make a theme engine so that one can make a theme without knowing internal flow of the site articles, menus et al? Any article that talks of generic theme engine (not some specific CMS based)
I hope I have made clear myself.