All results for “template”
API
$templates apivar
Manages and provides access to all the Templates.
wireRenderFile(string $filename, array $vars = array, array $options = /site/templates/) function
Given a filename, render it as a ProcessWire template file
fields(string $name = '') function
Get or save fields independent of templates ($fields API variable as as function)
templates(string $name = '') function
Get or save templates ($templates API variable as a function)
Fieldgroup class
Fieldgroup is a type of WireArray that holds a group of Field objects for template(s).
Template class
Template is a Page’s connection to fields (via a Fieldgroup), access control, and output via a template file.
PagesType class
Provides an interface to the Pages class but specific to a given page class/type, with predefined parent and template.
Markup Cache module
A simple way to cache segments of markup in your templates.
Repeater module
Repeats fields from another template. Provides the input for FieldtypeRepeater.
Templates module
List and edit the templates that control page output
templates($name = '') apivar.method
Access the $templates API variable as a function.
$files->render(string $filename, array $vars = [], array $options = []) apivar.method
Given a filename, render it as a ProcessWire template file
$cache->renderFile(string $filename, $expire = null, array $options = []) apivar.method
Render a file as a ProcessWire template file and cache the output
$procache->getCacheTime($template = null) apivar.method
Get the cache time for the given Template, or for all templates
$procache->getCacheClearBehaviors($options = []) apivar.method
Get the cache clearing behaviors for all templates or a given template
$fields->deleteFieldDataByTemplate(Field $field, Template $template) apivar.method
Physically delete all field data (from the database) used by pages of a given template
$fieldgroups->getNumTemplates(Fieldgroup $fieldgroup) apivar.method
Get the number of templates using the given fieldgroup.
$fieldgroups->getTemplates(Fieldgroup $fieldgroup) apivar.method
Given a Fieldgroup, return a TemplatesArray of all templates using the Fieldgroup
$templates->add(string $name, array $properties = []) apivar.method
Add and save new template (and fieldgroup) with given name and return it
$templates->get($key) apivar.method
Get a template by name or ID
$templates->save($item) apivar.method
Save a Template
$templates->delete($item) apivar.method
Delete a Template
$templates->clone($item, string $name = '') apivar.method
Clone the given Template
$templates->rename(Template $template, string $name) apivar.method
Rename given template (and its fieldgroup, and file, when possible)
$templates->getNumPages(Template $tpl) apivar.method
Return the number of pages using the provided Template
Pro Modules
Functional Fields Shop
This Fieldtype module lets you make text translatable in your template files, much in the same way that you do with multi-language support in ProcessWire.
Modules
TemplateAccessLog 0.1.1
Logs changes made to template roles and related access settings
TemplateTagsEditList 0.0.3
Adds advanced tag editing to the template list just like the fields list has
TemplateEnginePug 2.0.3
Pug/Jade templates for the TemplateEngineFactory
TemplateEngineFactory 1.1.3
A module integrating template engines such as Twig. It allows to render pages or individual templates via template engine and encourages to separate logic from markup by implementing a simple MVC pattern.
TemplateEngineSmarty 2.4.0
This module adds the Smarty template engine to the TemplateEngineFactory
TemplateEngineTwig 1.1.0
This module adds the Twig template engine to the TemplateEngineFactory
TemplatePreviewImages 0.0.3
Show Preview Images for selectable Templates
TemplateFileHelper 0.0.1
TemplateFile class helper to structure your templates.
PW templates used as controller with additional view / html files.
TemplateFieldWidths 0.3.2
Quickly set the widths of inputfields in a template.
TemplatesChildPages 0.1.8
For any page, allows the restricting of templates that may be used for child pages.
StripedTravelBlogTemplateResponsive 1.0.0
Responsive Travel Blog Template for ProcessWire
TemplateTwig 1.0.2
Allows you to easily use the Twig Templating Engine for output.
StronglyTypedTravelBlogTemplate 1.0.0
Another Responsive Travel Blog Template for ProcessWire. Based on the Strongly Typed template from html5up.net.
AddTemplateEnhancements 0.1.5
Some efficiency enhancements when adding or cloning a template.
TemplateEngineMustache 2.0.0
Mustache templates for the TemplateEngineFactory
AutoTemplateStubs 0.3.1
Automatically creates stub files for templates when fields or fieldgroups are saved.
TemplateEngineLatte 2.2.0
Latte templates for the TemplateEngineFactory
TemplateOncePerParent 0.2.0
Adds an option to each template's family settings to be used once per parent page
AutoExportTemplatesAndFields 1.0.1
AutoExportTemplatesAndFields module for ProcessWire
TemplateLatteReplace 0.6.1
Latte template engine support for ProcessWire.
SelectizeTemplateFieldTags 0.1.2
Admin helper for enabling selectize tagging on templates.
TemplateParents 0.0.7
ProcessWire module that allows limiting templates for new pages based on the parent page. Can be configured for each page individually. Also supports inheritance.
Spex 0.9.9
An asset and template management module.
AdminTemplateColumns 1.0.1
Adds left and right column fieldsets to use in any admin templates and applies styling to remove their borders and padding
FormTemplateProcessorMailer 1.0.0
Template fields define web contact forms. Can send forms as emails with or without PHPMailer. Can save forms as pages. Allows custom rendering. Features working demo HTML5 form. Use on static page and/or on any page via overlay.
Blog
New ajax-driven inputs, conditional hooks, template family settings and more Blog
Major updates to the core dev branch this week, including system-wide support for AJAX-driven Inputfields, support for conditional hooks, some very useful updates to the Template editor, improvements to our autocomplete field, a new version of CKEditor, upgrades to AdminThemeReno and more!
ProcessWire 3.0.49 introduces a new template file strategy Blog
This week we take a look at a new template file output strategy available in ProcessWire 3.0.49+. This strategy is an experimental but super-simple new alternative to direct output and delayed output, and in some ways a combination of both. Yet it's likely to be more accessible for front-end developers and newcomers to ProcessWire, without any sacrifices. Have a read and let us know what you think.
Field and template performance/scalability improvements Blog
This week we have some great performance and scalability improvements in the core that enable lazy-loading of fields, templates and fieldgroups.
Introducing Tracy Debugger Blog
Hi everyone, Adrian Jones here this week to give you a rundown on a relatively new module, TracyDebugger.
More Repeaters, Repeater Matrix and New Field Rendering Blog
In ProcessWire 3.0.5, you can nest repeater fields and use dynamic/AJAX loading for all items. Plus we've got the first test version of Repeater Matrix released, and new support for field templates…
ProcessWire 2.6.15 makes the permissions system a whole lot better Blog
The focus of this week has been on ProcessWire's permissions system. We've taken what we already had, and made it simpler, more powerful, and more flexible.
Functional Fields Blog
This post takes an in-depth look at the “Functional Fields” ProFields module.
All about custom page classes in ProcessWire Blog
Everything you need to know about custom page classes, from beginner to advanced. You'll find time saving tips and tricks, pitfalls, best practices, and plenty of examples.
ProcessWire 3.0.14 updates file compiler, fields and more Blog
Getting closer to the ProcessWire 3.x stable release, version 3.0.14 focuses largely on updates and optimizations specific to recent GitHub issue reports. We also have optimizations and in-depth coverage of PW's file compiler, some new options for required fields, along with a review of some best practices when working with fields.
Field permissions, overrides and more (2.6.2) Blog
ProcessWire 2.6.1 was made the new master and 2.6.2 was pushed to the dev branch with all new field level access control and overrides support!
Best practices for using API variables Blog
ProcessWire’s API is accessible through API variables and it provides multiple ways to access them. There are benefits and drawbacks to each approach and this post aims to cover them all.
ProcessWire 3.0.200 new master/main version Blog
This new main/master version has more than 220 commits, resolves more than 80 issues, adds numerous new features, performance improvements and optimizations, and consumes HALF the disk space of our previous release. This post covers all the details.
Invoices Site Profile Blog
The new invoices site profile is a free invoicing application developed in ProcessWire. It enables you to create invoices, record payments to them, email invoices to clients, print invoices, and more. This post covers all the details.
Making efficient use of fields in ProcessWire Blog
With this article we will outline some of the best practices for making efficient use of fields in ProcessWire and how to optimize your use of them.
ProcessWire 3.0 (alpha 2) and 2.6.22 (rc1) Blog
This week we bring you two new versions of ProcessWire: 3.0 alpha-2 and 2.6.22 rc1. In this post we discuss the new module and template compiler options built into ProcessWire 3.x.
ProcessWire 3.0.39 core updates Blog
This week has been busy! We've got updates to our demo site, a new functions API, and other core additions that you may find useful in template files.
New API Syntax Options + 2015 Roadmap Blog
Discussion of the ProcessWire 2.6 & 3.0 roadmaps. New shorter API syntax options. Discussion of namespaces in ProcessWire.
ProcessWire core updates (2.5.14) Blog
It's multiples week, with new support for multiple copies of the same module, multiple templates for users, and multiple parents for users.
ProcessWire 3.0.142 core updates (custom fields for files/images) Blog
This latest version of the core on the dev branch has a lot of updates, and the biggest is the addition of custom fields support for file and image fields. In this post, we take a closer look and also outline all of the new features in the just-released FormBuilder v40.
ProcessWire 2.5 Changelog Blog
There have been a few changes and additions.
ProcessWire core updates (2.5.26) Blog
Content-type support added to templates, ProCache version 2.0.2 released, PageList now supports hover actions, and more.
ProcessWire 3.0.153 core updates Blog
This latest version of the core on the dev branch focuses on comments field updates, significant refactoring/improvements to ProcessWire’s core Template class and PagesLoader class (which is used by the $pages API variable), and we introduce a useful new $pages API method.
ProcessWire 3.0.184 new master/main version Blog
This week we have a new master/main version released after a full year in the making. As you might imagine, this new version has a ton of great new stuff and we’ll try to cover much of it here.
ProcessWire 2.6.9 core updates, new ProCache version, and more Blog
ProcessWire 2.6.9 brings a useful new API method, more control over slashes in URLs, and more. This week we also released a new version of ProCache and this post goes into detail about all that it does.
ProcessWire 3.0.73 and new Fieldset types Blog
This post is all about fieldsets in ProcessWire. Version 3.0.73 adds some nice UI upgrades when it comes to working with them. Plus we cover two new modules we have in development for managing groups of fields in fieldsets.
ProcessWire 3 master and changelog Blog
ProcessWire 3 is now officially released! In this post we cover all that's new in ProcessWire 3 relative to our previous major version.
General
Templates in ProcessWire Docs
Every Page has a template which defines the type of Page and what fields are present on pages using it. Every template may be used by one or more pages.
Templates Docs
$templates Docs
The $templates API variable provides access to all of your site’s templates. Use the $templates API variable to retrieve, modify, create or delete templates and control what fields are attached to them.
How to structure your template files Docs
How to use some of the more common strategies used by developers in structuring template files. Includes pros and cons as well as extensive examples. By Ryan Cramer.
Using template files in ProcessWire Docs
Every time a page is loaded on your site, ProcessWire loads its template file, gives it content, and then runs it as a PHP script. This section covers the use of template files and serves as an introduction to using ProcessWire’s API.
Security for template files in ProcessWire Docs
While ProcessWire handles a lot of the common security considerations before your template files are even loaded, you should also follow security best practices within your template files as you would in any other PHP framework.
How to Create an AJAX Driven Theme for ProcessWire Docs
In this tutorial we will look at setting up a simple theme in ProcessWire, we’ll investigate delayed output (now the default theme strategy within ProcessWire), and setup our site to request new content using AJAX. Published at Envato Tuts+. By Ben Byford.
ProcessWire Structure Docs
Overview of ProcessWire’s structure in terms of pages, templates and fields. And an outline of the directory structure.
Database-driven sessions Docs
Database-driven sessions offer potentially better security since the session information is not stored on the file system.
4 Reasons to Choose ProcessWire as Your Next CMS About
Envato Tuts+ article and fantastic introduction by Francesco Schwarz
Front-end file uploads with InputfieldFrontendFile module Shop
The InputfieldFrontendFile module provides file and image fields that can be used on the front-end of a website with LoginRegisterPro. It works with ProcessWire’s existing file and image fields as a drop-in replacement that applies itself automatically. It is specifically designed for the safety considerations of a front-end, non-admin environment.
Hooks everywhere About
With its unique, powerful and easy-to-use hooks system, ProcessWire gives you the power and capability to accomplish any need that comes up.
Add multi-language translations to your module Docs
If you are a module developer, you might want to bundle multi-language translations with your module. This page covers all the details step-by-step.
FormBuilder Hooks Shop
Hooks are an optional way for developers to modify the behavior of FormBuilder. This section include a guide on how to use hooks in FormBuilder, including many examples and a reference/list of available hooks and what they do.
Securing file permissions Docs
Getting your file permissions right is one of the most important factors in maintaining the security of your ProcessWire installation, particularly in non-dedicated/shared environments.
Securing your admin Docs
Information about the design and purpose of the admin environment and how to protect it. Overview of securing your admin, preventing attacks, SSL certificates, tracking logins, enabling 2FA, managing page edit access and other security best practices.
Modules (plugins) and hooks Docs
A module is a type of plugin that runs in ProcessWire, and they come in many flavors. At its core, ProcessWire is a platform for executing modules, and much ProcessWire is built upon these modules.
Using hooks in ProcessWire Docs
ProcessWire contains many methods that you may easily hook in order to modify the behavior of the method. Hooks can also be used to add new methods to existing classes.
ProcessWire’s file and directory structure Docs
An outline of ProcessWire’s file and directory structure, highlighting the locations where your site’s files go, where the core files live, where to place modules, and more.
Remove unnecessary files Docs
ProcessWire comes with several files that you will no longer need after installation.
Third party files About
Third party files may in ProcessWire may specify their own license. This page contains more details.
Input dependencies (or field dependencies) Docs
Input and field dependencies enable you to specify the conditions under which a particular field in the page editor is shown or required.
The $pages API variable Docs
While the $page variable holds the current page, the $pages variable is where you can get at all the other pages in your site. It includes functions for getting, finding, saving and deleting pages.
Pages in ProcessWire Docs
Almost everything in ProcessWire is represented by a Page. The term “Page” refers to a webpage, though in ProcessWire it’s also much more.
More topics Docs
Additional topics on developing with ProcessWire that didn’t fit into one of the categories above.
Showcase
Family centre Furtwangen Showcase
The family centre in Furtwangen, Germany, is an association of three Catholic day-care centres. Among them are the kindergartens Maria Goretti and St. Martin as well as the children's house St. Elisabeth.
Glenroy and Associates Limited Showcase
Glenroy and Associates provide consultancy services, personal and business development strategies, mechanical and process engineering and more to public and private organizations at the national, regional and global entities.
Conversations between Academics and Artists Showcase
Interdisciplinary conversations between artists and academics.
First Processwire Work Blog Showcase
Made the switch! Processwire for my personal blog.
Independent Electrical Contractors of New England Showcase
IEC-NE is the region’s premier trade association representing Connecticut, Massachusetts and Rhode Island independent electrical and systems contractors. The responsive IEC website features a custom-built membership and event registration system and a back-end CRM system built entirely on ProcessWire pages and ListerPro, making for a totally seamless integration between the organization's website and customer database.
Gekko Field Marketing Showcase
Gekko are an effective full service UK field marketing agency. They approached 999 Design to overhaul their brand communications and refresh their visual identity. Built to be fully responsive, the new ProcessWire site allows Gekko to demonstrate their leadership in the sector and highlight their achievements, expertise and opinion.
Systemic Disorder. Doctors and Patients in Nazi Germany Showcase
The Nazi takeover of Germany in 1933 led to profound changes in all areas of society—including the healthcare system. By presenting individual case studies, the exhibition “Systemic Disorder: Doctors and Patients in Nazi Germany” demonstrates how life’s possibilities were radically transformed, especially for Jewish doctors and patients. On the website you will find all the content of the exhibition banners, interviews with eyewitnesses and their descendants, and an exploration of visual antisemitism.
Association and Foundation for Indigenous Communities in Paraguay Showcase
Association and Foundation for Indigenous Communities in Paraguay. Our foundation and associations are committed to indigenous rights and environmental protection in the Paraguayan Chaco.
Orpot Web Design and Development Showcase
We are a group of professionals who together have more than 20 years of experience in the design and development of websites, we have worked in various agencies and gained experience to offer our services.
We use diverse technologies to achieve attractive and functional sites. We currently offer our services to clients from all over Mexico, USA and Canada.
Carneros Resort and Spa Showcase
Luxury resort in Napa Valley.
Family Adventures Online Showcase
My family's travel blog. Responsive web design.
Coachy - Sell your video-training! Showcase
With Coachy trainers and coaches can sell their video-trainings online. Coachy creates a Member Area, where Members (buyers) can login and watch the training-videos. Member Areas can be created in either German or English and is accessible via a subdomain of coachy.net (internal it's a "normal" page). This demo shows an example of such an Member Area: https://www.coachy.net/demo/de/
This project is quite complex and I would love to get some feedback from you guys.
Integrated: Tawk.to, Klick-Tipp, Digistore24, Foundation Framework, AWS SES, AWS S3, Vimeo-Upload and some more.
Roger Shapiro Fund for New Music Showcase
Established by composer/pianist Dina Koston, who named the fund after her husband, psychiatrist Roger Shapiro, the Roger Shapiro Fund is a new fund for commissioning, performance and recording of New Music.
Maloco and Associates Showcase
This is a prominant estate agent and solicitor in Fife. This site make extensive use of Lister Pro to allow them to manage the large number of properties listed in their site. The is a responsive revamp of a site that they had before built in a bespoke CMS and the client has reported Processwire to be much more intuitive.
BC Drive Showcase
THE MOST CONVENIENT WAY TO BUY A VEHICLE
Whether you need to get on the road or in the water, whether it's a new car to liven up your commute or to get you from A to B, think of us as your personal shopper - here to streamline the process.
g2 Field Marketing Showcase
Focusing on bringing your brand together with shoppers. This connective thinking creates solutions that transform audience engagement and deliver outstanding results for leisure and lifestyle brands.
Kurt König Showcase
Kurt König Baumaschinen GmbH rents and sells construction machines. On kurt-koenig.de the the machines can be browsed and requested. News, locations and everything else related to the company can be found on the website too.
Stefanie Ruck Showcase
Website of german voice coach and singer Stefanie Ruck.
Stellan Kramer Showcase
Responsive website for swedish wine and spirits importer Stellan Kramer. Ability to preorder from Systembolaget via simplecart.
Systemic Disorder. Doctors and Patients in Nazi Germany Showcase
The Nazi takeover of Germany in 1933 led to profound changes in all areas of society—including the healthcare system. By presenting individual case studies, the exhibition “Systemic Disorder: Doctors and Patients in Nazi Germany” demonstrates how life’s possibilities were radically transformed, especially for Jewish doctors and patients. It highlights the trajectory of individual careers, and how new tasks—and new areas of conflict—arose in the healthcare sector. How was the “forced” conformity of the medical profession’s organizations also by acquiescence? What happened to the Reich’s Jewish and “politically undesirable” physicians? What kind of medical care did civilian and military prisoners receive at concentration camps? And how did doctors and healthcare policymakers try to maintain health services for the German populace until the end of the war?
notyourtypefoundry Showcase
notyourtypefoundry is an independent type foundry and design studio established by Xiaoyuan Gao, based in Rotterdam, NL. The website is made by Marie Madonna.
Xiaomin Deng Showcase
Portfolio Website we made for Xiaomin Deng.
Xiaomin Deng (1990) is a Amsterdam-based designer and writer.
Station Register of the Austrian Broadcasting and Telecommunications Regulatory Authority Showcase
Please see https://processwire.com/talk/topic/27856-station-register-of-the-austrian-broadcasting-and-telecommunications-regulatory-authority/
BikeTours.com Showcase
A one-stop resource for bike tours in Europe, BikeTours.com has been helping travelers’ bike tour dreams come true since 2003. Uses ProcessWire modules: ProFields (Combo, Textareas, Table, Multiplier), FormBuilder, Stripe payments for FormBuilder, Changelog, ProCache, ListerPro, HannaCode, UserActivity.
Shipyard De Volharding BV Showcase
Shipyard de Volharding is a true family business, located in Zwammerdam on the Oude Rijn River for over 200 years. We build luxury Rijnland flatboats ranging in length from 8.50 meters to 16 meters. The flatboats are built entirely in our shipyard by a team of skilled craftsmen.