Adding indieFit's Training Log to an existing indieBlog site
Quick reference — everything the upgrade touches
Copied in (new files):
content/includes/log*.php (6 files),
content/lib/activity-parser.php,
content/lib/fit-parser.php,
content/log-functions.php,
content/js/gallery.js,
content/js/gallery-pagination.js,
admin/edit-log.php,
admin/upload-log-data.php,
admin/upload-log-image.php,
admin/delete-log-data.php,
admin/delete-log-image.php,
config/secrets.example.php.
Created:
config/secrets.php (from config/example.secrets.php),
data/log.yml,
data/log/.gitkeep.
Edited (existing files):
config/config.php (custom nav + routes),
.htaccess (rewrite),
includes/admin-head.php (Train link ×2),
admin/content.php (log tab),
admin/icons/sprite.svg (activity icon),
content/css/custom.css (log styles),
.gitignore,
config/update-ignore,
and optionally
config/hooks.php (secrets migration).
You need to create config/secrets.php from config/example.secrets.php - The credentials have moved here from there original position within hooks.php
By
indieFit on