About Inputfield Source Code

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

Category 1Field Types
Fieldtype modules that represent a data type used by fields.
Category 2Input Fields
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Release StateAlpha
Non-stable. Not yet intended for use in production environments. *
Authormartijn-geerts
Module Version0.0.6
Class NameInputfieldSourceCode
Compatibility2.5, 2.6, 2.7
Date AddedJanuary 9, 2015
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/InputfieldSourceCode/
How to install or uninstall modules

README

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

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.