Code Monkey home page Code Monkey logo

formtemplateprocessor's People

Contributors

ryancramerdesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

formtemplateprocessor's Issues

What is the right way to set the parent page?

I am trying to set the parent page for a contact submit form entries. I have set it like this:

$form->parent = 1008;
(1008 is the ID of the contact form page in this case)

I receive this error message:
#0 /...path to my app.../wire/core/Data.php(81): FormTemplateProcessor->set('parent', 1008)
#1 /...path to my app.../site/templates/views/contact-page.inc(19): WireData->__set('parent', 1008)
#2 /...path to my app.../site/templates/main.php(43): include('/srv/http/jobs/...')
#3 /...path to my app.../wire/core/TemplateFile.php(92): require('/srv/http/jobs/...')
#4 [internal function]: TemplateFile->___render()
#5 /...path to my app.../wire/core/Wire.php(269): call_user_func_array(Array, Array)
#6 /...path to my app.../wire/core/Wire.php(229): Wire->runHooks('render', Array)
#7 /...path to my app.../wire/modules/PageRender.module(236): Wire->__call('render', Array)
#8 /...path to my app.../wire/modules/PageRender.module(236): TemplateFile->render()
#9 [internal function]: PageRender->___renderPage(Object(HookEvent))
#10 /srv/http/jo

This error message was shown because you are logged in as a Superuser. Error has been logged.

How can I set a specific sender email?

Some web hosting services require to set a specific sender email for the messages sent by php-mail function (for security reasons). Is there any way to set a specific sender for emails generated by FormTemplateProcessor other than rewriting the module code directly in the protected function ___sendEmail?

I throws errors on File/image fields on Processwire 3

Apart from that It's a very usable module still in 2021

Oh no… Error: Exception: New page '/i/fes-te-de-la-paac//' must be saved before files can be accessed from it (in wire/core/PagefilesManager.php line 383)

#0 wire/core/PagefilesManager.php (369): PagefilesManager->___path()
#1 wire/core/PagefilesManager.php (309): PagefilesManager->path()
#2 wire/core/PagefilesManager.php (113): PagefilesManager->createPath()
#3 wire/core/PagefilesManager.php (97): PagefilesManager->init(Object(Page))
#4 wire/core/Page.php (4104): PagefilesManager->__construct(Object(Page))
#5 wire/core/Pagefiles.php (156): Page->filesManager()
#6 wire/core/Pagefiles.php (125): Pagefiles->setPage(Object(Page))
#7 wire/modules/Fieldtype/FieldtypeFile.module (627): Pagefiles->__construct(Object(Page))
#8 wire/core/Fieldtype.php (696): Pr

setup instructions

the setup seems really confused, cant get my head around what arrangement of templates and pages are needed to get this working, why do you need two new templates anyways?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.