Quote:
Originally Posted by Dead Eddie
If you're just doing it on the preview, try this:
Hook name: vbcms_article_populate_end
PHP Code:
if(self::VIEW_PREVIEW == $viewtype){
$view->custom='I am the very model of a modern major general';
}
Then, within the "vbcms_content_article_preview" template, your variable is {vb:raw custom}.
|
Excellent! That works.
Now, the next question. How do i find the node-id for the current article iteration? I believe that it is piece i am still missing.