Skip to content

Commit

Permalink
[TASK] Add Google map API key into Theme constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Dec 29, 2016
1 parent 15b7d57 commit 14d1ef0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Configuration/TypoScript/Library/plugin.tx_gomapsext.setupts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
plugin.tx_gomapsext {
settings {
googleMapsLibrary = {$themes.configuration.maps.map}
}
}
5 changes: 5 additions & 0 deletions Configuration/TypoScript/Library/themes.basic.constantsts
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,8 @@ themes.configuration.contacts.email = [email protected]

# cat=theme,basic/customPath; type=string; label= Custom Path
themes.configuration.customPath = fileadmin/custom


# customsubcategory=maps= Google map configuration
# cat=theme,advanced/maps; type=string; label= Google map api key
themes.configuration.maps.map = //maps.google.com/maps/api/js

0 comments on commit 14d1ef0

Please sign in to comment.