Add views select to processwire pages
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Views
.gitignore
README.txt

README.txt

===========================
  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