Search
You can find the results of your search below.
Fulltext results:
- Themes @docs
- 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 @docs
- 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
- Formatting Syntax @wiki
- eo has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work. ===== Lists ===== Dokuwiki supports... needs to be added to the [[doku>entities|pattern file]]. There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "d... ples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''. This is text is indented by two spaces.
- Friendica Storage Backend Addon development @docs
- construct(string $filename) { $this->filename = $filename; } public function get(string $refer... defined by // a config key return file_get_contents($this->filename); } public function put(string $... ionname' => 'error message'] return ['filename' => 'The file doesn\'t exists']; } $th... return []; } } </code> Now the plugin main file. Here we register and unregister the backend clas
- Settings @docs
- dicated table in database (''%%storage%%'') * **Filesystem** : Data is stored as file on the filesystem. More storage backends can be avaiable fro... 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
- Friendica Addon development @docs
- 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 translations @docs
- ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ==== Using the Transife... ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ===== Translation funct
- Friendica Installation @de:docs
- 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
- config @docs
- File configuration The configuration format for file configuration is an array returned from a PHP file. This prevents your webserver from displaying you... n The `config` directory holds key configuration files and can have different config files. All of them have to end with `.config.php` and ... ame. Some examples of common known configuration files: - `local.config.php` holds the current node cus... rectory holds the codebase default configurations files. They must not be changed by users, because they
- How To Move Classes to src @docs
- 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
- Where to get started to help improve Friendica @docs
- ight want to work on the translation of the /help files? ===== Design ===== Are you good at designing ... d for Friendica by Tobias Diekershoff changed_files="$(git diff-tree -r --name-only --no-commit-id O... EAD HEAD)" check_run() { echo "$changed_files" | grep --quiet "$1" && eval "$2" } # `composer install` if the `composer.lock` file gets changed # to update all the php dependen
- FAQ / Friendica @faq
- )</panel> <panel title="How can I upload images, files, links, videos and sound files to posts?">You can upload images from your compu... ther [[http://en.wikipedia.org/wiki/Comparison_of_file_hosting_services|filehoster]]), use the "link"-button (chain-symbol). ... 5 for embedding content. Therefore, the supported files are dependent on your browser and operating system. Some supported file types are WebM, MP4, MP3 and OGG. See Wikipedia f... email address in the ''config/local.config.php'' file. The listed emails need to be separated by a comm
- Admin Tools @docs
- 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 Friendica files postupdate Execute pending post upd... d to adjust the ''logpath'' in the ''jail.local'' file and the ''bantime'' (value is in seconds). In ''
- Friendica API @docs
- /desc> <album>album name</album> <filename>original file name</filename> <type>mime type</type> <heig... , "album": "album name", "filename": "original file name", "type": "image mime type", ... ="resource_id" album="album name" filename="original file name" type="image mime type"> ... ERERROR: “image size exceeds PHP config settings, file was rejected by server”, “image size exceeds Frie
- Autoloader with Composer @docs
- 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