Search
You can find the results of your search below.
Fulltext results:
- Friendica Addon development @docs
- of your addon file. Here’s the structure: <code php> /** * Name: {Human-readable name} * Descriptio... ions may provide for “setup” amd “remove”. ===== PHP addon hooks ===== Register your addon hooks duri... is a string and corresponds to a known Friendica PHP hook. ''%%$file%%'' is a pathname relative to th... /should// be ‘addon///addon_name/////addon_name//.php’ in most cases and can be shortened to ''%%__FILE
- Friendica Installation @docs
- the host system than the typical blog. Not every PHP/MySQL hosting provider will be able to support Fr... Due to the large variety of operating systems and PHP platforms in existence we may have only limited ability to debug your PHP installation or acquire any missing modules - but... sl_policy'' to ''0'' in the ''config/local.config.php'' file //after// the installation wizard has been
- Friendica Installation @de:docs
- in wenig mehr als die normalen Blogs. Nicht jeder PHP/MySQL-Hosting-Anbieter kann Friendica unterstütze... oßen Anzahl an verschiedenen Betriebssystemen und PHP-Plattformen haben wir nur geringe Kapazitäten, um deine PHP-Installation zu debuggen oder fehlende Module zu ... u die ''ssl_policy'' in der ''config/local.config.php'' auf ''0'' setzen //nachdem// der Installations-
- addons @de:docs
- liegt. Das *sollte* "addon/addon_name/addon_name.php' sein. $function ist ein String und der Name der... info'** - wird aufgerufen nachdem in include/nav,php der Inhalt des Navigations Menüs erzeugt wurde. ... oks, die oben nicht dokumentiert sind. ### index.php Hook::callAll('init_1'); Hook::callAll('... ge_end', DI::page()['content']); ### include/api.php Hook::callAll('logged_in', $a->user); Ho
- Autoloader with Composer @docs
- le through the whole application through ''%%boot.php%%''. * [[:docs:Composer|Using Composer]] ====... hood, Composer registers a callback with [[http://php.net/manual/en/function.spl-autoload-register.php|''%%spl_autoload_register()%%'']] that receives a cla... onding class definition file. For more info about PHP autoloading, please refer to the [[http://php.net
- config @docs
- alues that can only be set in config/local.config.php =================================================... iendica's configuration is done in two places: in PHP array configuration files and in the `config` dat... or file configuration is an array returned from a PHP file. This prevents your webserver from displayin... A typical configuration file looks like this: ```php <?php /* * Comment block */ return [ 'sectio
- Themes @docs
- css sometimes, there is also a file called style.php in the theme directory. This is only needed if th... m in the settings and aome functions in the theme.php file. The template (theme_settings.tpl) {{in... ow to use the template file, by defining a config.php file. It needs to define at least the following f... irectoy and include it in the array in the config.php: $colorset = array( 'default'=>DI::l
- Formatting Syntax @wiki
- s), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_s... lation|localization]]): <code - conf/lang/en/lang.php> <?php /** * Customization of the english language file * Copy only the strings that needs to be mod... files|images]] (see below) like this: [[http://php.net|{{wiki:dokuwiki-128.png}}]] [[http://php.net
- settings @de:docs
- t werden. Hierzu muss in der [config/local.config.php](/help/Config) Datei die Option `invitation_only`... sie reguläre UTF-8-Ausdrücke nutzen. Hierfür wird PHP benötigt, um mit einer speziellen Einstellung kom... tergrungprozesse nicht erreicht wird. Sollte die PHP Funktion `proc_open` auf dem Server nicht verfügb... ormalerweise werden Fehler- und Warnmeldungen von PHP unterdrückt. Wenn du sie aktivieren willst, musst
- Friendica Storage Backend Addon development @docs
- thod in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\ICan... hods in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\ICan... ry. Override the two necessary instances: <code php> use Friendica\Core\Storage\Capability\ICanWriteT... cessor for transparency reasons. Example: <code php> use Friendica\Core\Storage\Capability\ICanWriteT
- Domain-Driven-Design @docs
- ==== Inspiration ===== * https://designpatternsphp.readthedocs.io/en/latest/Structural/DependencyInjection/README.html * https://designpatternsphp.readthedocs.io/en/latest/Creational/SimpleFactory/README.html * https://designpatternsphp.readthedocs.io/en/latest/More/Repository/README.html * https://designpatternsphp.readthedocs.io/en/latest/Creational/FactoryMethod
- Settings @docs
- section of the [[help/Config|config/local.config.php]] file. If you want to use this method, the regis... /friendica/issues/2209|issue 2209]]). By default PHP warnings and error messages are suppressed. If yo... e to activate them in the ''%%config/local.config.php%%'' file. Use the following settings to redirect PHP errors to a file. Config: <code> error_reportin
- How To Move Classes to src @docs
- ]] to manage autoloading. This means that all the PHP class files moved to the ''%%src%%'' folder will ... ce is expected to be found at ''%%src/Core/Config.php%%''. * Namespaces can help group classes with a s... clare the namespace, the file ''%%src/Core/Config.php%%'' must start with the following statement: <code php> namespace Friendica\Core; </code> From now on, t
- Where to get started to help improve Friendica @docs
- lable through the whole application through `boot.php`. If you want to have git automatically update t... r.lock` file gets changed # to update all the php dependencies check_run composer.lock "bin/com... ty, Friendica follows the widespread [[http://www.php-fig.org/psr/psr-2/|PSR-2 coding standards]] to th... tions * Boolean operators are `&&` and `||` for PHP conditions, `AND` and `OR` for SQL queries * No
- Friendica Message Flow @docs
- s to all networks are made using include/notifier.php, which chooses how (and to whom) to deliver the m... eliveries including DFRN-notify. mod/dfrn_notify.php handles the remote side of DFRN-notify. Local feeds are generated by mod/dfrn_poll.php - which also handles the remote side of DFRN-poll... ocol. Salmon notifications arrive via mod/salmon.php. Push (pubsubhubbub) feeds arrive via mod/pubsub