cursed Posted February 6, 2010 Share Posted February 6, 2010 After working with PHP for a looooooooong time, I get bored of the black and white/just text. Is there a function out there to auto template the content and maybe have a cool interface? It'd be pretty useful for people that make admin interfaces. This is just out of curiosity xD It wouldn't be too hard to code, just put everything under an expandable DIV, logo as the basename of a domain, maybe nav bars based on directory tree, with a glossy web 2.0 UI. Quote Link to comment https://forums.phpfreaks.com/topic/191176-php-auto-template/ Share on other sites More sharing options...
premiso Posted February 6, 2010 Share Posted February 6, 2010 Not really sure what you are after but some options are: Joomla (CMS) Drupal (CMS) Smarty (template) CMS - Content Management Software maybe what you are looking for. Smarty is a template engine created in PHP. Not sure which you are after but perhaps it will help you on your journey to find out. Quote Link to comment https://forums.phpfreaks.com/topic/191176-php-auto-template/#findComment-1008001 Share on other sites More sharing options...
cursed Posted February 6, 2010 Author Share Posted February 6, 2010 Well, CMS's are a little much for a simple php script such as a database retrieve. It'd just be cool if the content (i.e the rows of a database) could be automatically styled nicely/professionally. It wouldn't be too hard to do this in pure CSS.. I might make a quick function for it one day. Quote Link to comment https://forums.phpfreaks.com/topic/191176-php-auto-template/#findComment-1008012 Share on other sites More sharing options...
wildteen88 Posted February 6, 2010 Share Posted February 6, 2010 You can mix html/css within PHP just like you would in a html file. Quote Link to comment https://forums.phpfreaks.com/topic/191176-php-auto-template/#findComment-1008014 Share on other sites More sharing options...
cursed Posted February 6, 2010 Author Share Posted February 6, 2010 Yes I know, but that wouldn't be automated, would it? Quote Link to comment https://forums.phpfreaks.com/topic/191176-php-auto-template/#findComment-1008017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.