Forums / Developer / How to set different section when adding object location

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to set different section when adding object location

Author Message

Roberto Frascarelli

Wednesday 23 February 2005 10:00:36 am

I don't know if is it possible...I hope.
I explain my problem:
I used the mechanism of location assignment, by allowing
the creation of a "duplicate" of one object in a specified node (folder), by clicking a checkbox (adapting the "Example code of how to do limitation placement" in edit_placement.tpl).
My problem is that this placement is in a different section than Standard.
The operation result is an object with Standard section within a Folder
assigned to another section. This is a problem for me, because I need that every object
in that folder belongs to the same section.
This also could be a role policy violation if one wants to restrict object creation in a specific section.
Exsists a way to automatically assign the section in placement assignment ?