![]() |
Adding Metadata Fields to CMS Article
I'd like to add 3 more metadata fields to the CMS (new) article template.
Style> vbcms_edit_metadataeditor I added the following: Code:
<div class="blockrow"> in packages\vbcms\item\content.php I added: Code:
$getMYNEWFIELD = vB::$vbulletin->db->query_first("SELECT MYNEWFIELD FROM " . TABLE_PREFIX . "cms_nodeinfo WHERE nodeid = " . $this->nodeid); So now when I add an article, there are 3 new fields listed under the metadata. Those fields save properly in the nodeinfo table. The problem is that no matter what I try I cannot call the data to appear in the vbcms_page . I've tried Code:
|
All times are GMT. The time now is 01:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|