Cheating bypass

I am developing a plone4 site where every user has a sortable inventory of items. The ATFolder folder_content view is ideal for this. The only problem is that instead of the url:

/site/user/inventory

or

/site/inventory/user

URL should be:

/site/inventory

I thought of several solutions, but each has its own doubts.

  • Make inventory contents dynamic, depending on the authenticated user. I don’t even know if this is possible on plone.
  • Somehow fool the transversal mechanism, so / site / inventory render / site / inventory / user.
  • Change the context before rendering the view. Again, I do not know if this is possible.
  • ATCTContent, . , .

?

.

+3
2

, inventory, Authenticated User, , , /site/users/user/folder.

, , , . , ( __init__), , . __call__ .

+8

, , crraaaaAAAAzytalk.:) . (/inventory/user), , inventory.html. / sho/ , , Plone , .

, //? , . , !: -)

Plone - . , , . , , -. , , .: -)

+3

All Articles