0, 'resource' => 1, 'colour' => 2, 'group' => 100, # internal use by group_content_items() ]); define('BRAND_GUIDELINES_DB_COLS_PAGES', columns_in('brand_guidelines_pages', null, 'brand_guidelines')); define('BRAND_GUIDELINES_DB_COLS_CONTENT', columns_in('brand_guidelines_content', null, 'brand_guidelines')); define( 'BRAND_GUIDELINES_URL_MANAGE_CONTENT', "{$GLOBALS['baseurl']}/plugins/brand_guidelines/pages/manage/content.php" ); // Custom field types - see HookBrand_guidelinesContentRender_custom_fields_default_case_override() define('FIELD_TYPE_NUMERIC', 101); define('FIELD_TYPE_TEXT_RICH', 102); define('FIELD_TYPE_COLOUR_PREVIEW', 103); } function HookBrand_guidelinesAllHandleuserref() { if (acl_can_view_brand_guidelines()) { $GLOBALS['custom_top_nav'][] = [ 'title' => ' ' . $GLOBALS['lang']['brand_guidelines_top_nav_title'], 'link' => "{$GLOBALS['baseurl']}/plugins/brand_guidelines/pages/guidelines.php", ]; } }