I'm trying to build a simple CMS, but I have some problems... DO you know any good resource where I can find a tutorial about building a cms? Thank you
Which cms are you talking about? There are drupal, wordpress, joomla,etc, etc..... So, have you chosen any of these. Anyways, If it is joomla. then I am using some video tutorials and have written about them in my site. You could check out my squidoo lens. It has more details. bye, faraz
There is a basic tutorial explaining how to create your CMS, structure, etc at this site, www.jemjabella.co.uk/post.php?title=20060502_writing_your_own_cms
Thanks, this was helpful! My problem now is about templates: I have different page kinds, so for example page A and page B. They refer to 2 different templates, but my problem is that I have many page types, so many templates. They all have the same graphical layout. If I want to change my website template, I should change all my templates files, and this could be annoying. I'm trying to find a solution to this problem, any idea?
Yes, you can change your templates dynamically using CSS. Here are two useful resources to give you an ideas on how to do it: www.trap17.com/index.php/css-javascript-combined-dynamic-layout_t25661.html www.digital-web.com/articles/generating_dynamic_css_with_php
Thank you, but my problem is that I want to completely change the layout, for example I could have a 3 columns website, and change it to 4 columns or so...
This can be done developing a framework-like CMS so the template can be adjusted in accordance with the modules in use. I'm leaving now, but will get back to you with further reference on this
I'm back, pay a visit to this site: www.dreammask.com/PHITE.php?sitesig=PT This is a simple PHP framework. Download the code to see how it is structured and how templates work It is a single-file script that uses a php class called Template Power, which allows you to do what you want adding a few lines of code to your templates Learn more about this at the Template Power website: http://templatepower.codocad.com/manual/index.php
You need to define your own requirements. There are hundreds of features that a complete CMS may have. I'd suggest to add what's important for you for now and make sure to start building it in a future-proof way so that you can extend it's abilities in the future