Install of pimcore AlternateObjectTreesBundle #7709
-
I've downloaded the AlternateObjectTreesBundle. This is my first pimcore extension install and I have a few questions. Do i copy the AlternateObjectTreesBundle directory into my /src directory, or do I copy it to the vendor/pimcore/pimcore/bundles directory. And I guess i need to modify the namespace for all of the source files so that it will show up in the extension manager? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Ok I think I have the path figured out. I copied the source code to src/Elements/Bundle/AlternateObjectTreesBundle... and enabled the plugin. But I am getting routing errors. Status: 404 | Not Found I've spent the afternoon looking at it but can't find the problem. The route in the controller looks like this: @route("/alternate-object-trees", methods={"GET"}) And the routing .yml has _elements_alternate_object_trees: |
Beta Was this translation helpful? Give feedback.
Ok I think I have the path figured out. I copied the source code to src/Elements/Bundle/AlternateObjectTreesBundle... and enabled the plugin. But I am getting routing errors.
Status: 404 | Not Found
URL: /admin/elements-alternate-object-trees/alternate-object-trees
Method: GET
Message: No route found for "GET /admin/elements-alternate-object-trees/alternate-object-trees"
I've spent the afternoon looking at it but can't find the problem. The route in the controller looks like this:
@route("/alternate-object-trees", methods={"GET"})
And the routing .yml has
_elements_alternate_object_trees:
resource: "@ElementsAlternateObjectTreesBundle/Controller/"
type: annotation