Re: p.a.dexterity all content folderish

Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Hi,

Anyone want to have a go at reimplementing c.tinymcetiles [1] on top the tinymce in plone.app.widgets/mockup?

For those that don't know what tinymcetiles is supposed to do: 
- It adds a button to tinymce to let you insert a tile into the richtext.
- it lets you set or edit the properties of the tile
- it doesn't render the final contents of the tile into tinymce (since there isn't really a may to represent read only content in tinymce) but instead will insert a image placeholder instead. (if someone knows how to render the tile instead of using an image then even better.)
- Once saved the final page will render the richtext + all the tiles
- tiles are similar to portlets and could contain collections, search boxes, forms, videos or lots of interesting configurable content.

Since there's an existing implementation to work from it should make this an approachable task? It's also a good way to get familiar with mockup etc.

[1] http://svn.plone.org/svn/collective/collective.tinymcetiles/trunk/

Dylan Jay

---
www.pretagov.com - Secure SaaS for Government hosted locally.
P: +61-2-9955-2830  +44-87-0392-7071 | linkedin.com/in/djay75



On 13 Nov 2013, at 9:36 am, Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]> wrote:

> On 11 Nov 2013, at 7:11 am, Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]> wrote:
> 
>> 
>> 
>> On 11/11/2013, at 1:07 AM, Martin Opstad Reistadbakk <martior-z4DKO/[email protected]> wrote:
>> 
>>> Dylan,
>>> 
>>> Fantastic. I have wanted this since forever :-)
>>> 
>>> One of the features/hacks that the existing Folder with document as default view allow is using one Title in the navigation (from the folder), while the document displays a different, often longer Title. 
>>> 
>>> I think this might be something we should allow people to override in a nicer way anyway. Products exists for this already, so there is a need out there.
>> 
>> Yes this is one of the usecases outlined in [3]. 
>> 
>> I have thought of another usecases however. 
>> Adding a ploneformgen form folder as a default page. 
>> This could be handled in a few different ways
>> - pfg changed to allow all types inside the form folder
>> - pfg would be extended to include a tile
>> - we ship with a generic alias tile that allows content from another object to be used in the body of a page. Still wouldn't work exactly the same. 
> 
> I think alias tile is the way to go as it will solve the problem for any third party content type being like a default page, but not allowing other kinds of content... as long as they have an api to get the richtext body without the title and description. The title and description would come from folderpage.
> 
> Since no one else has come up with any major reasons why this plan won't work, and the feedback on needing this change is been overwhelming positive.... I say we go for it.
> Who wants to sprint on it?
> 
> 
>> 
>> 
>> 
>>> 
>>> 
>>> On Sun, Nov 10, 2013 at 2:16 AM, Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]> wrote:
>>> 
>>> On 9 Nov 2013, at 10:44 pm, Nathan Van Gheem <[email protected]> wrote:
>>> 
>>>> FWIW, it seems like versioning isn't a problem. I did a quick test with folderish types and the contents are not affected during versioning operations.
>>> 
>>> ah nice. So no problem there then.
>>> So then we just redo how portlets and sharing UI work to let you explicitly pick applying a portlet or local role to either the folder or just content. BTW, I think we can do this without folderish types and it would still be a better UI. ie we'd be removing all the warning messages about being on a default page which aren't that effective anyway.
>>> 
>>> but I'm interested if there is anything else we've forgotten that will change if there are no folders and default pages. Like handling the root of the portal needs to be worked out.
>>> but so far I haven't thought of anything more.
>>> 
>>>> 
>>>> If we can ever get a decent layout editor, with tiles, I think most of the problems go away. No need for folderpagecollection, default pages, etc.
>>> 
>>> I think the collective.tinymcetiles idea is a good stepping stone. Doesn't require a grid system or fundamentally changing how tinymce, templates or how rich content works. Just lets us insert tiles into tinymce fields in pages. I think something like collective.cover is still too early to use.
>>> 
>>>> 
>>>> 
>>>> On Fri, Nov 8, 2013 at 7:27 PM, Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]> wrote:
>>>> Hi,
>>>> 
>>>> During the conference sprint Philip Bauer resurfaced up the idea of making all content types folderish. This led to a lot of discussion, some mockups [1] and some analysis on the UI team list [2] [3]. If you have time I recommend reading the usecase document and help think what else needs to change [3].
>>>> 
>>>> I would say the summary is that it will solve a lot of UI problems that seem to come up with new users of Plone. It would solve the top 3 items for editors on the UX hitlist (see google doc [3] for details.)
>>>> However there is perhaps more code to change that initially thought.
>>>> 
>>>> Hopefully it would be good to avoid +1,-1 type discussion just yet. My purpose to bring this discussion here is to get guidance on just how much work would be involved and what else we need to change we haven't thought of yet. Also to start thinking about the affect on 3rd party plugin content types.
>>>> 
>>>> Based on the usecases identified so far in [3] we'd need
>>>> - Changes to to navigation code and editing UI so the title and description could different on navigation such as breadcrumbs, than on the page.
>>>> - Changes to CMFEditions to handle folderish types. Decisions about what happens to the contents of content
>>>> - changes to sharing UI and portlets UI
>>>> 
>>>> Also note we currently have two ideas on how to handle collections [3] and we haven't worked out which would be best yet.
>>>> 
>>>> [1] http://plone.293351.n2.nabble.com/Folderish-Page-Proposal-td7568149.html
>>>> [2] http://plone.293351.n2.nabble.com/Use-cases-analysis-for-folderish-content-types-td7568263.html
>>>> [3] https://docs.google.com/document/d/1jJ7765rW-CpdOhKR6o4hFaOzQk6xmuePFZd-zTzxwFE/edit?usp=sharing
>>>> 
>>>> 
>>>> 
>>>> Dylan Jay
>>>> 
>>>> ---
>>>> www.pretagov.com - Secure SaaS for Government hosted locally.
>>>> P: +61-2-9955-2830  +44-87-0392-7071 | linkedin.com/in/djay75
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> November Webinars for C, C++, Fortran Developers
>>>> Accelerate application performance with scalable programming models. Explore
>>>> techniques for threading, error checking, porting, and tuning. Get the most
>>>> from the latest Intel processors and coprocessors. See abstracts and register
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Plone-developers mailing list
>>>> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>> https://lists.sourceforge.net/lists/listinfo/plone-developers
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Nathan Van Gheem
>>>> Solutions Architect
>>>> Wildcard Corp
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> November Webinars for C, C++, Fortran Developers
>>> Accelerate application performance with scalable programming models. Explore
>>> techniques for threading, error checking, porting, and tuning. Get the most
>>> from the latest Intel processors and coprocessors. See abstracts and register
>>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Plone-developers mailing list
>>> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>> https://lists.sourceforge.net/lists/listinfo/plone-developers


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.