For future referance :
If you want to get nodeId of all articles on that page then create a plugin at hook : vbcms_article_populate_start
And then below will get you nodeId of each article :
$this->content->getNodeId()
Note that it is content->getNodeId() and not node->getNodeId().
Cheers!
Aditya Hajare
P.S. I'm assuming you know all about pre-registering vars to templates etc. etc. Thats why i'm not writing this in details. But if you want sample code then lemme know. Cheers!
|