Search
You can find the results of your search below.
Fulltext results:
- Themes
- its existence and tell it how to use the template file, by defining a config.php file. It needs to define at least the following functi... e menu, all you need to do is to create a new CSS file in the deriv directoy and include it in the array... the 1st part of the line is the name of the CSS file (without the .css) the 2nd part is the common nam... o with it? For this, have a look at the theme.php file of the *duepunto zero*. There you'll find somethi
- Friendica Installation
- configuration is not allowing your ''.htaccess'' file to be used (there are rules in this file to block access to any file with .out at the end, as these are typically used... for system logs). Make certain the ''.htaccess'' file exists and is readable by everybody, then look fo... kage (if using Windows). === Unable to write the file config/local.config.php due to permissions issues === Create an empty `config/local.config.php`file and apply world-write permission. On Linux: <co
- Friendica Addon development
- th). ===== Naming ===== Addon names are used in file paths and functions names, and as such: - Can’t c... don in the first multi-line comment of your addon file. Here’s the structure: <code php> /** * Name: ... entation in a ''%%README%%'' or ''%%README.md%%'' file. The latter will be converted from Markdown to HT... <code> \Friendica\Core\Hook::register($hookname, $file, $function); </code> ''%%$hookname%%'' is a strin
- Friendica Storage Backend Addon development
- tor in admin page. First, the backend class. The file will be ''%%addon/samplestorage/SampleStorageBack... // we return always the same image data. Which file we load is defined by // a config key return file_get_contents($this->filename); } pub... le text input $this->l10n->t('The file to return'), // the label $file
- How To Move Classes to src
- t the case for all the classes referenced in this file. Since we added a ''%%namespace Friendica\Core;%%'' to the file, all the class names still declared in ''%%includ... while simply browsing Friendica. Check the class file for any magic constant ''%%__FILE__%%'' or ''%%__DIR__%%'', as their value changed since you moved the class in the file tree. Most of the time it’s used for debugging pu
- Settings
- ivate them in the ''%%config/local.config.php%%'' file. Use the following settings to redirect PHP errors to a file. Config: <code> error_reporting(E_ERROR | E_WAR... '0'); </code> This will put all PHP errors in the file php.out (which must be writeable by the webserver
- Admin Tools
- nt php2po Generate a messages.po file from a strings.php file po2php Generate a strings.php file from a messages.po file typo Checks for parse errors in ... d to adjust the ''logpath'' in the ''jail.local'' file and the ''bantime'' (value is in seconds). In ''... rotate'' command. In ''/etc/logrotate.d/'' add a file called ''friendica'' that contains the configurat
- Friendica translations
- trings across the project in the authoritative PO file located in ''view/lang/C/messages.po'' - This file makes translations strings available at [[https://... m Transifex ===== Please download the Transifex file "for use" in ''view/lang/<language>/messages.po''... ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ==
- config
- File configuration The configuration format for file configuration is an array returned from a PHP file. This prevents your webserver from displaying you... es and displays nothing. A typical configuration file looks like this: ```php <?php /* * Comment blo... fig.php The legacy `.htconfig.php` configuration file is still supported, but is deprecated and will be... The legacy `config/local.ini.php` configuration file is still supported, but is deprecated and will be
- Export / Import of followed Contacts
- ts you follow. The exported list is stored as CSV file that is compatible to the format used by other pl... ed Contacts ====== To import contacts from a CSV file, go to the //Settings page//. At the bottom of th... d the //import contacts// section. Upload the CSV file there. ====== Supported File Format ====== The CSV file **must** contain at least one column. In the
- Autoloader with Composer
- ng ===== The autoloader dynamically includes the file defining a class when it is first referenced, eit... t and includes the corresponding class definition file. For more info about PHP autoloading, please refe... n]]. ==== Example ==== Let’s say you have a PHP file in ''%%src/%%'' that define a very useful class: ... xplicitly include the ''%%src/BaseManager.php%%'' file, the autoloader will when this class is first def
- Friendica API
- bum": "album name", "filename": "original file name", "type": "mime type", "heig... bum>album name</album> <filename>original file name</filename> <type>mime type</type> ... : "album name", "filename": "original file name", "type": "image mime type", ... album="album name" filename="original file name" type="image mime type">
- Where to get started to help improve Friendica
- } # `composer install` if the `composer.lock` file gets changed # to update all the php dependen... ing your work: $> phpcs --standard=ruleset.xml <file or directory> The output is a list of all the co... ted/modified: $> phpcbf --standard=ruleset.xml <file or directory> If the command-line tools `diff` a... n.org|Doxygen]] to generate it. The configuration file for Doxygen is located in the base directory of t
- First Steps
- he contents of this page, you can create a simple file called ''home.html'' in the base of your Friendica installation. This file contains the HTML contents shown aside of the for... o, put the CSS code you want to have applied in a file called ''home.css'' alongside the ''home.html'' file. ===== Imprint and Terms of Service ===== If yo
- How to move your account between servers
- ccount” to save your account data. * **Save the file in a secure place!** It contains your details, yo... e administrator can add accounts with an uploaded file. * Do NOT create a new account prior to importi... nstead// of register. * Load your saved account file and click “Import”. * After the move, the accou