Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

USSliberty/processwire-views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

===========================
  Views for ProcessWire 0.1a
===========================

ATTENTION! THIS MODULE IS A PROOF-OF-CONCEPT!
DON'T USE IT ON PRODUCTION!

Every Template in ProcessWire have a file associated named in this way:
templateName.php
 
The aim of this module is to extend the number of files associated of
a specific Template.

For example: if the template name is "page", the file associated is "page.php".
With Views we can have others visualization of the same Template named in this way:
page.view_name1.php
page.view_name2.php
    |
    |
    |
page.view_nameN.php

Also you can test your view (useful when developing...) in this way:

example: http://example.com/great-page/?view=fullscreen

where "fullscreen" is the name of the view...

..and If you want to force the default view type:

http://example.com/great-page/?view=default

About

Add views select to processwire pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages