• ♡ Sponsor

    Index

    • Show All
    • Blocks
    • Case
    • Cheat Sheet
    • Command Line Interface
    • Composer
    • Condition
    • Configuration
    • Content
    • Context
    • Dashboard
    • Date
    • Development
    • Extension
    • File
    • Filelist
    • Filter
    • Find
    • HTML
    • Headless
    • Image
    • Inheritance
    • Installation
    • Language
    • Layout
    • Loop
    • Math
    • Method
    • Navigation
    • Object
    • PHP
    • Package
    • Pagelist
    • Pipe  ✓
    • Recursion
    • Regex
    • SEO
    • Session
    • Snippet
    • Sort
    • Statement
    • Strip
    • Theme
    • URL
    • Variable

    4 pages found

    Developing Extensions  ⁄
    Custom Pipe Functions — Developing Extensions

    Automad provides already some basic string manipulation functions to be used with the pipe operator. However, in some cases it my be necessary to use a custom function to modify the content of a variable. Custom pipe functions can be written in plain PHP. Thier basic setup is ...

    Developer Guide  ⁄
    Developing Extensions — Developer Guide

    The extension interface provides a convenient way of extending Automad's core functionality with custom PHP code while still offering Automad's template syntax. There are basically two types of template language extensions: generic extensions and custom pipe functions. Check out ...

    Template Language  ⁄
    Pipe — Template Language

    A pipe | allows for using the value of a variable to be the input value for a function. It is also possible to chain multiple functions together, so that the output of one function is used as input for the next one. Therefore a pipe can be used to modify the value of a variable ...

    Template Language  ⁄
    Using Extensions — Template Language

    Extensions provide a convenient way of turning custom PHP code into Automad statements. Besides the fact that extensions have to be called by their names including their namespace, the syntax is the same as for Toolbox or pipe functions.

    • Automad
    • Page Index
    Discuss
    Packages
    Release Notes
    Support
    Terms of Use
      Become a Sponsor
      GitHub
      Twitter
      Facebook
      Instagram
      2013-2022 by Marc Anton Dahmen
    Released under the MIT license

    A faceless machine, creating one's portrait in the internet.
  • Automad
  • Getting Started
  • System
  • User Guide
  • Developer Guide
  • Headless Mode
  • Discuss
  • Packages