Commit 7fbb389d authored by Kevin Cristiano's avatar Kevin Cristiano 🌎
Browse files

add some documentation and fix info.xml

parent ce58ae54
#CSS Helper for CiviCRM and WordPress
Tadpole's CiviCRM css override that allows the theme to control the CSS on frontend CiviCRM pages.
This includes a templates directory to override selectors where they are lacking.
This extension replaces the core civicrm css file with it's own.
This extension supports 4.6
Version 1.2 is based on the civicrm.css from the 4.6 release
#Overrides
You can now replace this extension's CSS file with a custom one from your theme. This makes use of the tc_civicss_override filter. Add the below function to your theme's functions.php or add a your own plugin to do this. You will need to have the images directory /i available at the same level as your civicrm.css file to show credit card icons and other images.
Example Code:
function tc_civicrm_theme_css( ) {
$tc_css = get_bloginfo( 'stylesheet_directory' ) .'/includes/css/civicrm.css';
return $tc_css;
}
add_filter( 'tc_civicss_override', 'tc_civicrm_theme_css' );
<?xml version="1.0"?>
<extension key="cc.tadpole.csshelper" type="module">
<file>csshelper</file>
<name>Helper for Member Directory</name>
<description>Template changes to assit in CSS styling for Member Directory</description>
<name>CSS Helper for WordPress and CiviCRM</name>
<description>Template changes to assist in CSS styling and a way to override civicrm.css on the front end</description>
<license>AGPL-3.0</license>
<maintainer>
<author>Kevin Cristiano</author>
<email>kcristiano@tadpole.cc</email>
</maintainer>
<urls>
<url desc="Main Extension Page">https://tadpole.cc</url>
<url desc="Documentation">https://tadpole.cc</url>
<url desc="Main Extension Page">https://bitbucket.org/tadpole/cc.tadpole.csshelper</url>
<url desc="Documentation">https://bitbucket.org/tadpole/cc.tadpole.csshelper</url>
<url desc="Support">https://tadpole.cc</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2015-11-17</releaseDate>
<version>1.0</version>
<develStage>alpha</develStage>
<version>1.2</version>
<develStage>stable</develStage>
<compatibility>
<ver>4.6</ver>
</compatibility>
<comments>This is a new module</comments>
<comments>Helping Front End Developers</comments>
<civix>
<namespace>CRM/Csshelper</namespace>
</civix>
......
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