hananils member since: Feb 15, 2019
hananils's packages
-
PHP
hananils/kirby-attrs-helper
Setting attributes on elements in snippets and templates quickly becomes convoluted. This gets worse if attributes require additional logic, like conditionally adding segmented values like classnames or datasets. Attributes helper mitigates this issue by offering a simple interface to set attributes.
-
PHP
hananils/kirby-blindtext
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-
PHP
hananils/kirby-checkbox-field
Checkbox is a simple field that is a companion of the core toggle field. It offers a single checkbox with label and info text and can be used wherever a single option is required and the "on" and "off" metaphor of a toggle does not suit well.
-
PHP
hananils/kirby-choices
For any list field offering options in the blueprint, like select, multiselect or checkboxlist, Choices will load and return the readable text values for the keys stored in the content file. It works with static options directly set in the blueprint as well as dynamic ones loaded via query or api settings.
-
-
PHP
hananils/kirby-date-methods
Parsing and formatting dates can be difficult, especially if you deal with multilingual content. Date Methods aims to simplify date output by providing page and field methods to handle points in time as well as date ranges accurately in your snippets and templates.
-
PHP
hananils/kirby-link-methods
List Methods is a plugin for Kirby providing methods to generate comma-separated list from collections like pages, users or files.
-
PHP
hananils/kirby-list-filters
Kirby allows for the storage of value lists using its select, tags or checkboxes fields but it doesn't offer ways to filter items by those values. List Filters closes this gap by providing includes and excludes collection filters.
-
PHP
hananils/kirby-methods-folder
Unlike collection and controllers, Kirby only allows for the creation of custom methods via plugins. Methods Folder bridges this gap by automatically registering methods located in site/methods. In additon to all methods types, it also provides a way to register helper functions via a dedicated file.
-
-
PHP
hananils/kirby-snippetwhen-helper
Helper function for Kirby to embed snippets only when a condition is met.
-
-
-
-
PHP
hananils/kirby-type-methods
Type Methods is a plugin for Kirby helping to identify the type of an object, either page, user or file, in order to simplify logic in snippets that – for instance – handle content from both $page and $user objects.