Recent changes
35934 changed pages · Atom feed · Recent comments · Recently added · Recent ratings
Wednesday November 04 2026
- The ezini operator (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Reading settings in templates with ezini and ezini_hasvariable: section, setting, file and directory parameters, arrays from INI lists, a theme's own settings file, and when settings in templates are the right tool. - ezjscore template operators (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The template operators the ezjscore extension adds: the packer operators for stylesheets and scripts, json_encode, xml_encode and node_encode for handing data to scripts, and has_access_to_limitation. - Fetch basics (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
How templates read data with fetch( module, function, parameters ): the modules with fetch functions, the most used content and user fetches, parameters as a hash, what comes back, and where each module's functions are… - Fetch filters and sorting (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Sorting content lists (published, modified, name, priority, path, depth, class_identifier, section, attribute ...) and filtering them by class and by field values with attribute_filter and its operators (=, !=, <, >… - Fetch performance (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Keeping templates fast when they read content: fetch once, always limit, filter in the fetch, avoid fetches in loops and children on large folders, prefer content_info, use counts for paging, cache expensive parts, and… - Fetching nodes and lists (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The content fetches for pages: node by id, path or remote id; list and tree with their parameters (parent_node_id, sort_by, offset, limit, depth, class filters, attribute filters, main_node_only, ignore_visibility… - For loops (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Counting loops with for: from a number to a number, counting down, sequences, and typical uses such as star ratings, placeholders and page numbers. - Foreach loops (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Looping over arrays and fetch results with foreach: keys and items, offset, max and reverse, sequence for alternating classes, delimiter between items, break, continue and skip, and loop habits that keep templates fast. - Forms in templates (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Forms on a public site built from content: information collection (feedback and contact forms) with ActionCollectInformation, the collect templates, validation messages, the result page and mail templates, the form… - Full view (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The full view, the template of a content page: what it receives ($node, $view_parameters, $language_code), a complete article example, the one h1, sub-items with paging, handing values to the pagelayout, caching rules… - Function reference (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Every template function (the brace tags that control templates) of the template library and the kernel, with its syntax in one line and the page that explains it: def, set, if, foreach, for, while, do, switch, include… - The i18n operator (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Translating interface texts in templates with i18n: the context, the translator comment, placeholders with a hash or numbered with an array, washing, the x18n and d18n variants, and naming contexts for a theme. - If and conditions (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Conditional output with if, elseif and else; the comparison and logic operators used in conditions (eq, ne, gt, lt, and, or, not); testing for content, emptiness and existence; and conditions inside attribute values. - Include (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Splitting templates into parts with include: the design resource, passing parameters, what the included template sees, naming parts, and include versus node_view_gui and overrides. - Fetching a layout in templates (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The fetch functions of the layouts engine (layout, resolve_layout, resolve_layout_for_node, rules_for_node, layout_summary_for_node and the admin ones), their parameters, drawing the result with explayouts/layout.tpl… - Line view (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The line view, the template of a content item in a list: what it receives, a teaser example with image, title, date and intro, parameters from the caller, headings inside lists, and per-class line views. - Literal and delimiters (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Printing braces in template output with ldelim and rdelim, or a whole passage untouched with literal; why designs rarely need either now that CSS and JavaScript live in files. - Logic and comparison operators (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
The operators that build conditions: eq, ne, lt, gt, le, ge, and, or, not, true, false, null, choose, and the type tests is_set, is_unset, is_array, is_string, is_numeric, is_object, is_null, get_type, get_class. - Math operators (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Arithmetic in templates with sum, sub, mul, div, mod, inc, dec, min, max, abs, ceil, floor, round, int, float, count, roman and rand, with examples for paging, percentages and grids. - Menus and navigation (Updated, Markdown page)
Markdown documentation (help center) · Templates · Changed 01:08 pm
Building a site's main menu, sub menus and footer links in templates: fetching the root's children with limits and class filters, marking the current page with aria-current, a second level, caching the menu, and…