Suche

Unten sind die Ergebnisse Ihrer Suche gelistet.

Friendica Addon development
85 Treffer, Zuletzt geändert:
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
73 Treffer, Zuletzt geändert:
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... ithub.com/friendica/friendica-addons/tree/develop/phpmailer|external]] mail server) * Setup [[docs:ss
Autoloader with Composer
45 Treffer, Zuletzt geändert:
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
38 Treffer, Zuletzt geändert:
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
26 Treffer, Zuletzt geändert:
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
Where to get started to help improve Friendica
21 Treffer, Zuletzt geändert:
lable through the whole application through `boot.php`. If you want to have git automatically update t... sorhus.com # forked by Gianluca Guarini # phponly by Ivo Bathke ;) # modified for Friendica... 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
Friendica Storage Backend Addon development
14 Treffer, Zuletzt geändert:
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
14 Treffer, Zuletzt geändert:
==== 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
14 Treffer, Zuletzt geändert:
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
13 Treffer, Zuletzt geändert:
]] 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
Friendica Message Flow
6 Treffer, Zuletzt geändert:
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
Friendica translations
6 Treffer, Zuletzt geändert:
uage>/messages.po'' - PO files are converted to PHP arrays in ''view/lang/<language>/strings.php'' that are ultimately used by Friendica to display the tr... nguage>/messages.po''. Then run ''bin/console po2php view/lang/<language>/messages.po'' to update the related ''strings.php'' file and commit both files to your working bran
Admin Tools
5 Treffer, Zuletzt geändert:
lation of friendica based on values from htconfig.php lock Edit site locks maintena... entries user User management php2po Generate a messages.po file from a strings.php file po2php Generate a strings.php file from a messages.po file typo
Themes
4 Treffer, Zuletzt geändert:
s|[Home]]] You can run unit tests with [[https://phpunit.de|[PHPUnit]]]: |bash phpunit| Some tests require access to a MySQL database. You can specify the database c... base_user PASS=database_password DB=database_name phpunit| **Warning**: This will empty all the tables
Friendica Administration
3 Treffer, Zuletzt geändert:
nning, this means a server providing Maria DB and PHP on top of a web server like Apache. For informati... * Configuration files: ''config/local.config.php'', ''config/addon.config.php'' and the ''.htaccess'' file if it was edited beyond the .htaccess-dist o
ejabberd and prosody XMPP server with synchronized credentials
3 Treffer, Zuletzt geändert:
Using Composer
2 Treffer, Zuletzt geändert:
Friendica on GitHub
2 Treffer, Zuletzt geändert:
How to improve the performance of a Friendica site
2 Treffer, Zuletzt geändert:
Installing Connectors (Twitter/GNU Social)
2 Treffer, Zuletzt geändert:
Vagrant for Friendica Developers
2 Treffer, Zuletzt geändert:
Friendica API
1 Treffer, Zuletzt geändert:
Connectors
1 Treffer, Zuletzt geändert:
home
1 Treffer, Zuletzt geändert:
Friendica Templating Documentation
1 Treffer, Zuletzt geändert:
Updating Friendica
1 Treffer, Zuletzt geändert: