New Content Types

Use GitHub to post feature requests for phpwcms.
Locked
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

New Content Types

Post by ionrock »

Hello,
I wanted to suggest some sort of API for creating new content types. I have seen requests for different features such as a simple blog that seem simple to add while keeping in the general scheme of the cms. The best example I can see would be a blog content type. This would be a content type you could keep adding to, specify how many entries you would like to have, add a picture to them, show the date and author, etc. This kind up update doesn't really easily fall into the current scheme. It is possible to format entries to appear as a blog entry by simply adding the date, author, etc into an article but it is not as simple then and allows for inconsitancies that could creep in if you had multiple people submiting entries.

One solution for adding a new content type would be to have different templates that have different content types for different pages. In the blog example you could have a php script instead of the general {content} tag on a blog template. This works but it forces the admin to make the change when it would be easier for a normal user to just add a blog to a page or some other content type.

The idea is that creating new content types would allow normal users that don't know html to add features to the site while keeping the framework of phpwcms solid. At the moment this is easily the most flexible cms system that I have seen in that it allows endless opportunity to add features as needed. The only problem is each customization that is made is specific to a site and in turn is not something the community could benefit from, which in turn causes people to write new custom scripts for things that could be done within the phpwcms system and offered to everyone. It might also be possible to load and unload content types depending on the needs of the site. For example, some sites would not want normal users to be able to add pictures to pages in which case this could be taken out completely.

I hope this all makes sense and I would really like to work on this. This is best cms framework I have ever seen and it is a great base to create sites anyone can update and use. I hope I can contribute to this project and make it easier for others to contribute as well. It is great to see a non-slashdot type cms system that is flexible and actually can look great without having a bunch of crazy hacks and themes. GREAT JOB!
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Welcome to the community!!! 8)

Its true
This is best cms framework
Locked