Source of file _config.php
Size: 1,900 Bytes - Last Modified: 2021-12-23T10:47:44+00:00
/var/www/docs.ssmods.com/process/src/_config.php
123456789101112131415161718192021222324252627282930313233343536373839 | <?php //copy the lines between the START AND END line to your /mysite/_config.php file and choose the right settings //===================---------------- START frontendcms MODULE ----------------=================== //DataObject::add_extension('SiteTree', 'FrontEndCMS'); //Object::add_extension('ContentController', 'FrontEndCMS_Controller'); //FrontEndCMS::set_member_email_fieldname_array (array("Email", "AlternativeEmail")); //FrontEndCMS::set_group_title ('Business Members'); //FrontEndCMS::set_group_code ('business-members'); //FrontEndCMS::set_access_code ('ACCESS_BUSINESS'); //FrontEndCMS::set_other_groups_to_which_members_should_be_added (array("forum-members")); //FrontEndCMS::set_filter_many_many_table_in_CMS (true); //FrontEndCMS::set_editable_child_combination (array("BusinessPage" => "ProductPage")); //FrontEndCMS::set_editor_details_tab_name ("Editors"); //FrontEndCMS_Controller::set_requirements_to_block(array("mysite/javascript/specialstuff.js", "mysite/css/specialstuff.css")); //FrontEndCMS_Controller::add_requirement_to_block("mysite/javascript/specialstuff.js"); //FrontEndCMS_Controller::set_field_names_to_remove ( // array( // 'Behaviour', // 'To do', // 'Todo', // 'To-do', // 'Reports', // 'Access', // 'URL', // 'Members', // 'Metadata' // ); //FrontEndCMS_Controller::add_field_name_to_remove("My KRREZY TAB IN THE CMS") { // note the option below to change the type OR to replace with complete new one! //FrontEndCMS_Controller::set_field_names_to_replace (array('Image1' => 'SimpleImageField', Image2' => new SimpleImageField('Image2','Image 2'))); //FrontEndCMS_Controller::add_field_names_to_replace($oldFieldName = "Image1", $newFieldTypeOrObject = new SimpleImageField('Image2','Image 2')); //FrontEndCMS_Controller::set_use_cms_fields(true); //===================---------------- END frontendcms MODULE ----------------=================== |