I have a central Newspublisher page for editing a number of resources. How can I easily access the ID of the resource that is currently being edited on this page (but outside of an form field)? Is there a placeholder I can access? I want to use it to display some info about the page.
I believe you can use the placeholder
(if you use the default value for
There should be placeholders for the other resource fields as well (e.g.
Sorry for the late reply!
[[!+np.alias]] are set,
[[!+np.id]] is empty
That’s weird. When I test it, it works.
Maybe you can instead read the value of
$_POST['np_doc_id'] to get the ID.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.