friendica-addons/impressum
Philipp Holzer 5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
..
config [impressum] Update config file style/name 2018-11-25 02:12:44 -05:00
lang CS translation impressum THX Aditoo 2018-09-17 20:53:49 +02:00
templates update addons template dir layout 2013-04-23 08:48:19 -04:00
impressum.css impressum: hide impressum in minimal mode 2015-08-04 11:55:00 +02:00
impressum.php Dynamic config loading 2019-07-16 21:44:54 +02:00
LICENSE LICENSE fole 2013-06-01 08:34:05 +02:00
README.md [impressum] Update config file style/name 2018-11-25 02:12:44 -05:00

Impressum Addon for Friendica

  • Author: Tobias Diekershoff
  • License: 3-clause BSD license (see the LICENSE file in the addon directory)

About

This addon adds an Impressum (contact) block to the /friendica page with informations about the page operator/owner and how to contact you in case of any questions.

In the notes and postal fields you can use bbcode tags for formatting, like in normal friendica postings..

Configuration

Simply fill in the fields in the impressium settings page in the addons area of your admin panel. For email adresses the "@" symbol will be obfuscated in the source of the page to make in harder for harvesting tools.

Manual Configuration

If you for any reason you prefer to use a configuration file instead, you can set the following variables in the config/addon.config.php file

'impressum' => [
    'owner' => '',           This is the Name of the Operator
    'ownerprofile' => '',    This is an optional Friendica account where the above owner name will link to
    'email' => '',           A contact email address (optional)
                             Will be displayed slightly obfuscated as name(at)example(dot)com
    'postal' => '',          Should contain a postal address where you can be reached at (optional)
    'notes' => '',           Additional informations that should be displayed in the Impressum block
    'footer_text' => '',     Text that will be displayed at the bottom of the pages.
],