<p>+1 this is a common use case</p>
<div class="gmail_quote">On Dec 23, 2012 6:47 AM, "Dylan Jay" <<a href="mailto:djay@pretaweb.com">djay@pretaweb.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
We came up with this idea over PretaWeb drinks on Friday. Thoughts?<br>
Anyone interested in seconding?<br>
<br>
Proposer: Dylan jay<br>
Seconded:<br>
<br>
Motivation<br>
--------------<br>
<br>
Many times custom types are only designed to be added in a certain<br>
place, or you may want restrict built in types to limited places in<br>
your site. In such cases plone is harder work than it should be to add<br>
a new item. You have know where to add it, browse to that location,<br>
often with a nav designed for exploring not fast access, then you can<br>
select from the menu. We've seen installs with lots of place specific<br>
types where training is needed to teach where to add each type.<br>
<br>
Proposal<br>
------------<br>
Instead, add new menu can be decided into two sections, add here,<br>
global add.  "Global add" includes any type not in "add here"<br>
All add forms will have a path/location field. If you click global add<br>
you can select from available locations using this field (perhaps with<br>
sensible default). If only one location in site, this will be read<br>
only. If item addable in current folder then context will be default.<br>
Some type might need to be excluded from global add like pfg types.<br>
Adding location field to types makes plone more familiar to users of<br>
other CMs and also allows a user to change their mind on where it<br>
should go as they are creating content. It could also be a URL field<br>
where uses could enter folders that don't exist and they will be<br>
added. This also allows setting short name.<br>
<br>
Assumptions<br>
-----------------<br>
<br>
<br>
Deliverables<br>
-----------------<br>
- New add menu implementation<br>
- modify standard metadata on standard types so forms include path<br>
field. Or else use schemaextender. Modify dexterity to do same.<br>
- widget for path with browse button and editable path.<br>
- Change the way factory creation works in AT and dexterity to allow<br>
creation in different folder.<br>
<br>
Risks<br>
--------<br>
Add menu could get long. Could be mitigated having a more button or scroll list.<br>
_______________________________________________<br>
UI mailing list<br>
<a href="mailto:UI@lists.plone.org">UI@lists.plone.org</a><br>
<a href="https://lists.plone.org/mailman/listinfo/plone-ui" target="_blank">https://lists.plone.org/mailman/listinfo/plone-ui</a><br>
</blockquote></div>