Quote:
Originally Posted by Dead Eddie
PHP Code:
$this->getNodeId();
Although, you already have a wealth of information available to you about the article at this hook already. What do you need the node id for?
|
Im using special tags to discern a special meaning for different articles. If you have the tag, I need to show a special graphic on the preview page. So I need the nodeid so I can check for the presence of the tag. If the tag exists, I'll fill in my var and the image will appear on the page.
This was the best way to do it and still remain non-intrusive.
--------------- Added [DATE]1311123733[/DATE] at [TIME]1311123733[/TIME] ---------------
Quote:
Originally Posted by Lynne
(global_start is deprecated - do a search in your files and you will see this. So, it is not evaled at all in the CMS pages.)
|
AH! Makes sense. Wish the support rep I had on the phone earlier told me that. He just agreed it should work, and sent me here.