InputfieldSourceCode by martijn-geerts

Display a string with the rendered output of this Page (per it's Template) in an Inputfield. The markup could be copied with a button click (flash enabled browsers) and/or copied manually from the Inputfield. The rendered output is a runtime only value which is not stored in the database

NOTE

This module used to use zeroclipboard-2.2.0. GitHub found a potential security vulnerabilities in this dependency. I removed zeroclipboard-2.2.0. from my pakage. To make this pakage work again please use an other zeroclipboard pakage.

Inputfield Page Source

Display a string with the rendered output of this Page (per it's Template) in an Inputfield. The markup could be copied with a button click (flash enabled browsers) and/or copied manually from the Inputfield. The rendered output is a runtime only value which is not stored in the database.

Potential Use

Provide an easy way for editors to copy the sourcecode of the page for the use in newsletter services and such.

Note !

This Inputfield should not be used in the page template directly. (could give some “funky” results)

Inputfield Page Source

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer