I've just looked to your site and description of your concept 
(http://www.fastforward.ch/ff/de/dokumentation/entwickler/m4sd/downloads/contentParagraph/02/document/screenshot.jpg).
And I have suggestion: 
On your screenshot you categorize object by types (News, Products,...)
It is not clear. I think that the best way is:
First of all you should separate meta data from content. For this purpose:
1. create folder "Classes" where you should register you new classes and 
attributes.
For example classes:
----------------------------------------------------------------------
class:{code="objects_folder",title="Universal folder",repository="magnolia"},
attributes:
attribute{name="title",title="Folder 
title",type="String",isShowInList="true",isShowInDialog="true",...}
attribute{name="subfolder_type",title="Subfolder 
type",type="String",isShowInList="true",isShowInDialog="true",...}
attribute{name="objects_type",title="Object 
type",type="String",isShowInList="true",isShowInDialog="true",...}
----------------------------------------------------------------------
class:{code="news",title="News",repository="magnolia"},
attributes:
attribute{name="date",title="Date",type="Date",isShowInList="true",isShowInDialog="true",...}
attribute{name="title",title="Article 
title",type="String",isShowInList="true",isShowInDialog="true",...}
attribute{name="body",title="Text",type="Text",isShowInList="false",isShowInDialog="true",...}
attribute{name="author",title="Author",type="String",isShowInList="true",isShowInDialog="true",...}
----------------------------------------------------------------------


First step you can make using current version of Magnolia.
Last steps:
2. create folder "Content" and subfolder "Articles".
For subfolder "Articles" you should define mandatory attributes
"subfolder_type" and " objects_type".
3. You should write you own MetaDetaManager - it will load all your classes 
when Magnolia start up (it is easy - it simple DOM parser)
4. You should write you own "tree" and object list implementation for console - 
it should looks like:
-----------------------------------------------------------
Articles               |  Date  |   Title  |    Author    |
   News(selected)      |-----------------------------------
   About company       | 1.02.06|First ne..|  unknown     |
   Articles archive    | 2.02.06|About me  |  Vanya       |
   ....                |        |          |              |
Products               |        |          |              |
   DVD                 |        |          |              |
   TV                  |        |          |              |
   MP3 Players         |        |          |              |
   ...                 |        |          |              |
-----------------------------------------------------------

It is most difficult part.
That is all.
In this case you will have structured information.
And in this case you can easy register new types
Using new "tree"/"object list" implementation:

class:{code="class",title="Class",repository="magnolia"},
attributes:
attribute{name="code",title="Code",type="String",isShowInList="true",isShowInDialog="true",...}
attribute{name="title",title="Class 
Title",type="String",isShowInList="true",isShowInDialog="true",...}
attribute{name="repository",title="Repository",type="String",isShowInList="true",isShowInDialog="true",...}
-------------------------------------------------------------------------
Classes                |  Code          |   Title          | Repository |
   News module(select) |-------------------------------------------------
   Forum module        | objects_folder | Universal folder |  magnolia  |
   ....                | news           | News             |  magnolia  |
                       | class          | Class            |  magnolia  |
-------------------------------------------------------------------------


Asking :)

Thanks,
Andrey


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 16, 2006 8:36 PM
To: [email protected]
Subject: Re: [magnolia-user] Using Custom Content Types with Magnolia

For what its worth we're currently working on something similar but  
open source - for the Community Edition - because we believe this  
should simply be a part of a cms. It's far from being completed. But  
for those interested you can find more info here:

http://www.fastforward.ch/ff/de/dokumentation/entwickler/m4sd.html

Regards,
Will


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to