AndyB
Well-known member
In my add-on Similar Threads, I would like to get the node_id when a user is creating a thread.
Currently I'm able to get the thread title (what the user types into the input box) with the following code:
however when I try to get the node_id this code doesn't work:
Thank you.
Currently I'm able to get the thread title (what the user types into the input box) with the following code:
PHP:
$newTitle = $this->_request->getParam('title');
however when I try to get the node_id this code doesn't work:
PHP:
$currentNodeId = $this->_request->getParam('node_id');
Thank you.