PDA

View Full Version : I need to use nodeid, but it doesn't work in template


user 1-2-3
03-11-2018, 06:46 AM
Hi there,

I have vB 4.2.5 on PHP 5.6.30 and I need to use {vb:raw nodeid} variable in vbcms_page template, but it doesn't work. It's just empty. Is there any chance to use anything else, which will show nodeid from cms_nodeinfo table in that template?

Thank you in advance!

user 1-2-3
03-13-2018, 08:40 AM
A "contentid" is also acceptable. I need any variable I can identify CMS article inside HTML tag "head". But I can't find any variable which work inside construction like {vb:raw contentid}. Still waiting for help.