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->getContentTypeExt($item) apivar.method
Get the content-type extension for the given Page or Template

$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

$forms->loadHooksFile() apivar.method
Load the optional /site/templates/form-builder.inc hooks file

$forms->setTemplateVersion(int $version) apivar.method
Set the form-builder.php template version, to be called from form-builder.php

$forms->getTemplateVersion() apivar.method
Get the template version set from form-builder.php

$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

120 results


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.

2 results


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!

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.

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.

New user-admin permissions, automatic version change detection, and more (2.6.10) Blog
ProcessWire 2.6.10 brings new granular support of user-admin permissions, auto-detection with cache-clearing following core version changes, improved permissions view, and support for re-labeling the page "name" field.

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.

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 3.0.175 adds new database scalability options Blog
This week ProcessWire gained the ability to maintain separate read-only and read-write database connections to optimize scalability, cost and performance. The post covers why this can be so valuable and how to configure it in ProcessWire.

New modules, file validation, and great websites Blog
A look at two new modules released this week: LoginRegisterPro and FileValidatorImage. Discussion on upcoming plans for new FileValidator modules and how they are useful in PW. Plus a brief highlight of two great new ProcessWire-powered websites: Aaron Copland (an American composer) and Sono Motors (an EV startup).

ProcessWire 3.0.7 Expands Field Rendering, Page Path History and More Blog
This week we have another new ProcessWire 3.x version for you that includes several updates and optimizations. We've also greatly expanded upon the field rendering with template files, with lots of info covered in this post.

ProcessWire 3.0.6 brings $pages upgrades, link abstraction and more Blog
This week we've got some great new optimized methods added to the $pages API variable, plus full link abstraction now built-in, new sub-selector upgrades, and more!

ProcessWire 3.0.173 core updates: New URL hooks Blog
ProcessWire 3.0.173 adds several new requested features and this post focuses on one of my favorites: the ability to hook into and handle ProcessWire URLs, independent of pages.

ProcessWire updates and new field types Blog
This week we've got a new multi-language email field, a tutorial on how to use file/image files as multi-language fields, plus we introduce a new and unique ProFields module that's in the works.

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!

ProcessWire 3.0.67 – Upgraded file and image tags Blog
This week's version includes some really helpful UI updates to the tags feature available in our File and Image fields. Read on for all the details.

ProcessWire 3.0.18 brings yet more images field upgrades! Blog
ProcessWire 3.0.18 continues from last week, making major upgrades to our images field. This week we got into some of the finer details, and we've got plenty for you to look at here, as well as a screencast to demonstrate it all. 

Inline ajax page editing comes to ListerPro (ProcessWire 2.6.6) Blog
This week (actually, the last few weeks) we've updated ListerPro to support inline ajax editing for any page and just about any Fieldtype. After using it here this week, I have to be honest and say I think this is a pretty revolutionary new way to edit pages in ProcessWire.

ProcessWire 2.6.8 brings new version of Reno admin theme and more Blog
This week we're excited to bring you a new version of the Reno admin theme that offers a lot of nice refinements and new features. We also have some new color sets for the Reno theme, and several new core API functions that we think you may find useful.

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.76, a new front-end account module and much more Blog
This week we've got a new core version, a new version of the Uikit 3 admin theme, a new version of ProCache with SCSS and LESS support, plus a brand new module that provides user login, new user registration and a user profile editor, all for the front-end of your site.

ProcessWire 3.0.74 adds new “FieldsetPage” field type Blog
A new module, FieldtypeFieldsetPage has been added to the core. This post covers all the details and more!

About the new ProcessWire ProFields Combo Field Blog
This week we'll take a brief look at a powerful new ProFields module for ProcessWire that's just around the corner—the Combo field.

Merry Christmas! Here's ProcessWire 3.0.3 and 2.7.3, and some more! Blog
Today we've got some nice upgrades to the comments manager, two new ProcessWire versions (3.0.3 and 2.7.3), plus a great tutorial from LostKobrakai.

New Site Profiles, Site Exporter and more… Blog
The ProcessWire installer now lets you choose a site profile. New site profile exporter is far better than the previous. Support for append/prepend files on a per-template basis

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.

Extra action in your Page List (core updates 2.6.5) Blog
Now you can get extra action(s) in the Page List and Lister. Plus a new inline copy/clone feature, new restore from trash feature, the ability to specify page list label formats, and more.

234 results


General

Templates 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.

Templates Blog

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.

Template files Blog

Template files 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.

Template files 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.

Structure Docs
Overview of ProcessWire’s structure in terms of pages, templates and fields. And an outline of the directory structure.

Performance/optimization Blog

Database-driven sessions Docs
Database-driven sessions offer potentially better security since the session information is not stored on the file system.

Scalability Blog

Images and files Blog

4 Reasons to Choose ProcessWire as Your Next CMS About
Envato Tuts+ article and fantastic introduction by Francesco Schwarz

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.

Chock full o’Hooks 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.

Front-end file uploads 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. 

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 & 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 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.

Hooks Blog

File system 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.

40 results


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.

Carneros Resort and Spa Showcase
Luxury resort in Napa Valley.

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.

Family Adventures Online Showcase
My family's travel blog. Responsive web design.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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/

Xiaomin Deng Showcase
Portfolio Website we made for Xiaomin Deng. Xiaomin Deng (1990) is a Amsterdam-based designer and writer.

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?

g2 Field Marketing Showcase
g2 is a field marketing agency, creating profitable engagement with shoppers for leisure and lifestyle brands in retail across the UK and Ireland.

Tripsite Showcase
European bike and boat trips, hiking/walking trips and river cruises.

7 results


Forums

Search forums for “template”