Commit ae123c26 authored by Kevin Cristiano's avatar Kevin Cristiano 🌎
Browse files

consistancy with name spaces prevents conflicts

parent b5ab8cae
......@@ -141,9 +141,9 @@ function csshelper_civicrm_preProcess($formName, &$form) {
/*Enqueue default CiviCRM CSS in admin. Create a filter to allow themes and other plugins to overrride */
add_action( 'admin_enqueue_scripts', 'tc_admin_register_tad_civicrm_styles' );
add_action( 'admin_enqueue_scripts', 'csshelper_register_admin_civicrm_styles' );
function tc_admin_register_tad_civicrm_styles() {
function csshelper_register_admin_civicrm_styles() {
$tc_civi_css_admin = (plugin_dir_url('civicrm') . 'civicrm/civicrm/css/civicrm.css');
$tc_civi_css_admin = apply_filters('tc_civicss_override_admin', $tc_civi_css_admin);
wp_enqueue_style ('tad_admin_civicrm', $tc_civi_css_admin );
......@@ -151,8 +151,8 @@ function tc_admin_register_tad_civicrm_styles() {
/*Enqueue custom CiviCRM CSS in front end of site. Create a filter to allow themes and other plugins to overrride */
add_action( 'wp_print_styles', 'tc_register_tad_civicrm_styles', 110 );
function tc_register_tad_civicrm_styles() {
add_action( 'wp_print_styles', 'csshelper_register_civicrm_styles', 110 );
function csshelper_register_civicrm_styles() {
$tc_ext_url = CRM_Core_Resources::singleton()->getUrl('cc.tadpole.csshelper');
$tc_civi_css = ( $tc_ext_url . 'css/civicrm.css') ;
$tc_civi_css = apply_filters ( 'tc_civicss_override' , $tc_civi_css ) ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment