Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fodinabor/ct-api-tools
PHP scripts, that make imports via the ChurchTools API or similar very easy.
https://github.com/fodinabor/ct-api-tools
Last synced: about 2 months ago
JSON representation
PHP scripts, that make imports via the ChurchTools API or similar very easy.
- Host: GitHub
- URL: https://github.com/fodinabor/ct-api-tools
- Owner: fodinabor
- License: mit
- Created: 2019-01-12T22:17:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T21:04:47.000Z (about 3 years ago)
- Last Synced: 2024-12-01T08:51:41.614Z (about 2 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CT-API-Tools
PHP scripts, that make imports via the ChurchTools API or similar very easy.## helper.php
You need to do something special with the API of CT on your own?
Have a look, maybe I've already discovered, how some part of the API works. You might find the fitting API call in this file!## ctimportsongs.php
Provides functionality to import a bunch of [OpenLyrics](https://openlyrics.org) xml song files automagically to ChurchTools.
All you need to do is:
- add your login data in the `ctimportsongs.php` file (search for `ToDo`
- have php installed (command line support is *highly* recommended
- copy your OpenLyrics files to the `songs` folder
- in the terminal (CMD on Windows) run: `php ctimportsongs.php`
- now all songs from the `songs` folder should be automagically uploaded to your ChurchTools instance## ctinvtagstogroup.php
A utility to remove tags from persons and instead add them to a group... only use if you know what you're doing.
The tag and group ids have to be replaced in the file before using.## calendarmerger.php
You want to subscribe two ical sources, but only have limited calenders booked @CT?
With the calendarmerger you can just host this file on a webserver, add your ical urls, you would like to subscribe to.
Now you can add the URL to the webserver you are hosting this on (e.g. `https://my-super-cool-domain.tld/calendarmerger.php`) to ChurchTools as an iCal source and voilá: CT shows both calendars as one.