Martijn Geerts Posted January 8, 2015 Share Posted January 8, 2015 Inputfield Page Source Display a string with the rendered output of the 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 ) Download on GitHub 10 Link to comment Share on other sites More sharing options...
evanmcd Posted January 21, 2015 Share Posted January 21, 2015 This is fantastic Martijn, thanks so much for creating it. Just set it up for exactly the purpose you mention - creating an html email based on content coming from PW. Well done! 1 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted January 21, 2015 Author Share Posted January 21, 2015 Actually I build a Fieldtype & Inputfield that connects with MailChimp, creates a campaign, in the field you could select the lists and segments and a few other settings. After saving the page, all markup, settings and plain text is pushed to mailchimp. When I finished the field, the API was depricated, so the field has never been used in the wild. (bummer) As a response I build this simple field and this doesn't rely on those great PHP coders at MailChimp who code quicker then I can smoke my cigaret. Link to comment Share on other sites More sharing options...
Chris Whissen Posted June 12, 2019 Share Posted June 12, 2019 (edited) This looked like exactly what I need - similar use, copying email code. It doesn't support the latest version though. Does anyone know of a similar module that works with PW3? EDIT: Nevermind. I found a new way to break it though. Because my site is exclusively used by backend users and those with specific roles, I had guest page view turned off. Turning it on got the module working in PW 3. Edited June 13, 2019 by Chris Whissen update Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now