Jump to content

Template Files


Recommended Posts

Welcome franciccio, 

Quick and dirty:

A template is a wrapper for fields. When you create a Page you must assign a template to it. So a template is a page 'factory' that makes all fields available to the page. When you want to show the page in the browser the template needs a template file. 

So the template file is optional but needed when you want to produce output. And yes you're right, when you need the page to be visible you need to create a template file in the /site/templates/ folder and name it the same as the template plus the php extension.

Link to comment
Share on other sites

Thanks! But then I have to write my own hand the "Template Files" and upload it via ftp to / site / templates?

See I do not understand anything about programming languages and markup for the web browser!
I should learn to write a "File Template" to do readable templates created by me or any of processWire Template is already automatically readable by the web browser?
Sorry if it seems is not understanding anything, but I started a few days!
you can create and / or load the "File Template" platform ProcessWire instead of from the outside via ftp?
Link to comment
Share on other sites

yes, you have to craft your template files and you do need access to the FTP.

You can use exisiting HTML/CSS templates and then integrate the calls to the Processwire API within those.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...