[Plone-UI] Fwd: Re: UI request - integrating p.a. theming editor and file manager

Alex Clark aclark at aclark.net
Wed Sep 14 14:38:15 UTC 2011


On 9/12/11 2:48 PM, Espen Moe-Nilssen wrote:
>
> Maybe I misunderstand here. My usercase would be like this:
> Assume you have an "old" site ( that uses plone's old look and feel. )
> You then upgrade to Plone 4.1 and make a new Diazo theme, but want users to add content with a site that looks like "old plone".


This case is currently normally handled by separate vhost e.g. plone.org 
vs. manage.plone.org. And the p.a.theming control panel makes it very 
easy to setup hosts that you do not want to theme i.e. for your content 
editors.


That said, you may break things if you have Diazo-themed on top of Plone 
Sunburst, and then you switch to Plone Classic. That's because your 
Diazo theme relies on a particular set of CSS classes and ids, and 
changing the "old style" theme in Plone may break that assumption.



Alex



>
> *****************************
>
> I still havent had enought time to test ACE properly, but it looks great.
> Could something like this be an option:
> 1) When editing the theme, you go straight to the "file manager", but still have the possibility to choose which file to edit
> 2) You can click on a file to edit it.
>
> In other words, there is only one screen where  everything "happens" (both the file management and the choosing of which file to edit is at the same place. (PS: They are not part of the same screen... they are the same screen, a bit the oposite as suggested below: instead of the "button to add files", there is a menu to edit the files, or you can click on them)
>
> espen
>
>>
>> I would expect that it will only work for Diazo themes.
>>
>> :jon
>>
>> On Mon, Sep 12, 2011 at 7:06 AM, Espen Moe-Nilssen<espen at medialog.no>  wrote:
>>> I am trying to "join in here"
>>> Can anyone confirm if things the ACE control panel is not working when then
>>> another theme is selected (like plone classic theme)
>>> espen
>>>
>>> Den 12. sep. 2011 kl. 13.02 skrev Martin Aspeli:
>>>
>>> Hi,
>>> On 12 September 2011 06:13, Nathan Van Gheem<vangheem at gmail.com>  wrote:
>>>>
>>>> Sorry everyone, forgot to reply all. Trying to use apple mail app and its
>>>> killing me that cmd+r doesn't auto reply all!
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: "Nathan Van Gheem"<vangheem at gmail.com>
>>>> Date: Sep 11, 2011 11:09 PM
>>>> Subject: Re: [Plone-UI] UI request - integrating p.a.theming editor and
>>>> file manager
>>>> To: "Martin Aspeli"<optilude+lists at gmail.com>
>>>>
>>>>> Currently, these two views are separate. When you edit an in-ZODB theme
>>>>> in the p.a.theming control panel on the "Manage themes" tab, you have two
>>>>> options: "Edit" and "Manage files".
>>>>>
>>>>> I think it would be more natural if these two were part of the same
>>>>> screen, but I'm struggling to understand exactly how that would work
>>>>> visually. I'd like to retain the idea that you can work on multiple files
>>>>> and that you can save all files at once or revert your changes before
>>>>> saving.
>>>> Yah, this is a little odd. I think we just have a "manage files" button.
>>>> Then, we just need edit buttons on the manage files screen that open an
>>>> overlay with the ACE editor in it. Also, leave the quick file switching
>>>> functionality available in the ACE editor.
>>>
>>> What happens if I delete or rename a file I'm editing in ACE?
>>> Jon sent me some feedback separately, which I just wanted to capture here:
>>>   - He expected the file manager to be the initial view and the editor to
>>> launch from within there (i.e. click on a file, click edit)
>>>   - He expected some kind of multi-upload to e.g. load in multiple images
>>>   - He expected some kind of drag-and-drop to move/copy files
>>>   - He felt the position of the 'home' button was somewhat confusing (I
>>> agree)
>>>>
>>>> Is the use case of simply managing top-level plone resources something we
>>>> want to pursue at all? Seems like this functionality should be exposed even
>>>> if you don't want to put the resource in a theme.
>>>
>>> The editor right now works for resource directories (used for themes, but
>>> also for bits of Deco and in the future probably Dexterity). I don't really
>>> want this to scope creep into a replacement for folder_contents just yet.
>>> However, the file manager is really theme agnostic and would work with any
>>> resource directory which we should retain.
>>>
>>>>
>>>> Great work as always Martin. These are killer features.
>>>
>>> Are you interested in helping to complete this? I feel like I'm hitting the
>>> limits of my client-side fu.
>>> Martin
>>> _______________________________________________
>>> UI mailing list
>>> UI at lists.plone.org
>>> https://lists.plone.org/mailman/listinfo/plone-ui
>>>
>>>
>>> _______________________________________________
>>> UI mailing list
>>> UI at lists.plone.org
>>> https://lists.plone.org/mailman/listinfo/plone-ui
>>>
>>>
>> _______________________________________________
>> UI mailing list
>> UI at lists.plone.org
>> https://lists.plone.org/mailman/listinfo/plone-ui
>>
>>
>> _______________________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://plone.293351.n2.nabble.com/UI-request-integrating-p-a-theming-editor-and-file-manager-tp6781755p6784495.html
>>
>> To unsubscribe from Plone, visit http://plone.293351.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=293351&code=ZXNwZW5AbWVkaWFsb2cubm98MjkzMzUxfC01OTUzNTQ2MjI=
>


-- 
Alex Clark · http://aclark.net



More information about the UI mailing list