-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e31efc
commit d1be093
Showing
8 changed files
with
48 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
<?php | ||
|
||
define('SS_WOMENS_REFUGE_DIR', basename(dirname(__FILE__))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SiteConfig: | ||
SilverStripe\SiteConfig\SiteConfig: | ||
extensions: | ||
- WomensRefugeShieldSiteConfigExtension | ||
ContentController: | ||
- AndrewAndante\WomensRefugeShield\SiteConfigExtension | ||
SilverStripe\CMS\Controllers\ContentController: | ||
extensions: | ||
- WomensRefugeShieldControllerExtension | ||
- AndrewAndante\WomensRefugeShield\ControllerExtension |
16 changes: 11 additions & 5 deletions
16
...WomensRefugeShieldControllerExtension.php → code/ControllerExtension.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
...WomensRefugeShieldSiteConfigExtension.php → code/SiteConfigExtension.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<% require javascript("https://d3f5l8ze0o4j2m.cloudfront.net/m87/k33spt.js") %> | ||
<% require javascript("womens-refuge-shield/javascript/button.js") %> | ||
<% require css("womens-refuge-shield/css/button.css") %> | ||
<% require javascript("andrewandante/womens-refuge-shield: javascript/button.js") %> | ||
<% require css("andrewandante/womens-refuge-shield: css/button.css") %> | ||
|
||
<a href="#" id="womens-refuge-shield-button"> | ||
<img src="womens-refuge-shield/img/custom-logo.png"> | ||
<img src="$ResourceURL(andrewandante/womens-refuge-shield: img/logos/custom-logo.png)"> | ||
</a> |