identity_field = DC_DEFAULT_RECORD_IDENTITY_FIELD; $page->setCacheSettings(false, "ct_service_page.cache", DC_DEFAULT_CACHE_TIMEOUT, DC_CACHE_TABLE); // set the cache settings $page->is_dynamic_cache = true; $page->name = "dc_become_a_supplier_page"; $page->page_title = "Become a supplier"; $page->top_level_menu = "about"; $page->breadcrumb = array("Home" => "/index2.html", ); // this gets the content for the page $page->main_record_settings = array("table" => DC_VIEW_LIVE_CONTENT, $page->identity_field => "616" ); $page->authentication_required = false; // do we need to log in to see this page $page->manage_user_input = true; // are e going to filter the user input $page->header_templates = array("Default_Javascript_JQueryIncludes.tpl", "Default_Javascript_SiteJavascript.tpl"); // set the templates to include $page->page_templates = array("Default_Navigation_SectionPanelWrapper.tpl", "Default_Content_MainContent.tpl"); $page->footer_templates = array(); $page->request_values_to_collect = array( "action" => DC_REGEX_PLAIN_TEXT, "action-confirmed" => DC_REGEX_PLAIN_TEXT, "login-submit" => DC_REGEX_PLAIN_TEXT, $page->identity_field => DC_REGEX_NUMERIC, "tag" => DC_REGEX_PLAIN_TEXT); // set the values we are interested in getting from the $_REQUEST superglobal $page->displayDebugPanel = DC_DISPLAY_DEBUG_PANEL; // set wheter to display the debugging panel $page->createPage(); // crreate the page }else{ // something went wrong in the config file and we can't find the page class echo DC_DATABASE_SERVER_ERROR_MESSAGE; } }else{ // we can't find the config file echo "
Unable to find config file at: ".dirname($_SERVER['DOCUMENT_ROOT']).DIRECTORY_SEPARATOR.'dc-devcore-config/config.php.'.".
Please check the file path is correct.