Hello,
I have a news document (id=10) with news childs, I list these news within this parent document with getResources. Now I'm trying to modify the manager to add a link "add a news" from the dashboard.
That brings me 2 issues:
- The link itself.
- How to place that link in the dashboard.
1- I see from System>Actions that the action I'm looking for should be a=55 (resource/create(55)), and my parent document id is 10, so I thought the link would be:
../manager/?a=55&id=10
or
../manager/?a=55&pid=10
but these don't work = they create a new document under the root of the site, not under the document id 10
I'm using revolution 2.2.6
Anybody got any idea how to do that?
-
☆ A M B ☆
- 3,141 Posts
The link should use &parent=10
This blog by Christian Seel explains how to do it too:
http://chsmedien.com/blog/2013/02/customize-your-modx-dashboard