Address Macro
The address macro is used to auto resolve addresses into map information, and embed a map into a wiki page.
To Install
To install, you will need to do the following.
1. Download address.py into your Sycamore/macros directory.
2. Update the share/sycamore_config.py file so that it has maps set to true, and the map provider is 'google'.
3. edit the address.py file so that the API_KEY is the key for your own website.
4. Update database tables (needs details!)
-
log into mysql
-
switch to the wiki database via using WIKI_DATABASE_NAME
-
add address to mapPoints via alter table mappoints add address VARCHAR(255);. Note that capitalization (mappoints or mapPoints) depends on version.