This sounds interesting. But be aware that I've only got started with
trees and tree configurations. I also wanted to create a
"ConfigurableTree" which would read almost its full configuration from
the config repository instead of a tree configuration class... I do
believe that Magnolia could still be improved a bit in this area.
So sure, shoot, and I'll give it a try.
-will
On 26.06.2009, at 11:55, Jan Haderka wrote:
>
>
> On Fri, 2009-06-26 at 11:09 +0200, Will Scheidegger wrote:
>> On 26.06.2009, at 10:48, Jan Haderka wrote:
>>
>>> - If you write your own tree configuration you can have even content
>>> to
>>> be child/parent to another content of the same or even of different
>>> type
>>
>> I wanted to do that for a long time now but never found the time to
>> get into it. Do you think you could give me a few pointers to get a
>> head start? Especially what do I have to do to have the tree open
>> different dialogs depending on the node you're double-clicking? And
>> of
>> course also have a node specific context menu...
>
> Hey Will,
> I think I can do better then that. :)
> I've got time to start it, but not to finish it. So, if you are
> willing
> to pick it up where I left and smooth out few rough edges still left
> there and contribute your changes back, I'll pack all the code I have
> with little of description on how it works and what still needs to be
> done and ship it your way (most likely I'll just expose it as a branch
> of Data module in the sandbox).
> The thing is basically working. What is still open is some fiddling
> about recognizing when there is only single type and dialog should be
> open directly for new items and where the dialog selection needs to be
> presented because multiple types are allowed in given place. And maybe
> few bugs here and there. Apart from that it is pretty much finished
> (if
> my memory serves me right :D).
> Just since you mentioned context menu above ... I don't think you need
> to do anything with it, really, since it is a DialogHandler that
> decides
> whether to show single dialog or selection similar to selecting from
> multiple paragraphs when adding new paragraph to the page. Same way on
> editing the dialog to be displayed is devised from the type you are
> trying to edit.
>
> Jan
>
>>
>> Thanks!
>>
>> -will
>>
>> ----------------------------------------------------------------
>> For list details see
>>
http://www.magnolia-cms.com/home/community/mailing-lists.html>> To unsubscribe, E-mail to: <
user-list-unsubscribe@...>
>> ----------------------------------------------------------------
> --
> Best regards,
>
> Jan Haderka
> Magnolia International Ltd.
>
> Meet us at the Magnolia Conference
> http:/www.magnolia-cms.com/conference
>
> Magnolia® - Simple Open Source Content Management
>
>
> ----------------------------------------------------------------
> For list details see
>
http://www.magnolia-cms.com/home/community/mailing-lists.html> To unsubscribe, E-mail to: <
user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <
user-list-unsubscribe@...>
----------------------------------------------------------------