pi-module / contact Goto Github PK
View Code? Open in Web Editor NEWPi Contact module
Pi Contact module
mail send to admin and user
i'll provide new text , let me think
from #16
But about no-follow/no-index , at this moment I don't want add it , I think about remove finish page and add ajax method for show finish text.
Finish ==> must be "Message correctly Send, a confirmation has just been sent to you by email"
Finish page => remove, display only confirmation message
see Article & System
would be fine to send a copy of the email to sender, so it garantees him that his demand was effectively send
Perhaps a dedicated mail is better (we must not disclose some email adresses to spammers), such as " you ask for some informations through the contact form of ...etc... "
See Xoops Contact module for some tips
on config setting :
Display the google map below contact form, should point to the company address
after submission
route /admin/contact/department/update/
not directly a contact module issue, but perhaps
www.yoursite/contact/
H1 is ok
H2 is site logo/name, and positionned before H1 ! big issue
either php 5.4 or 5.3.16, pi engine r 1009
Additional information:
RuntimeException
File:
lib/Pi/Mvc/Router/Http/TreeRouteStack.php: 218
Message:
Route with name ".department" not found
Stack trace:
#0 lib/Pi/Application/Service/Url.php(203): Pi\Mvc\Router\Http\TreeRouteStack->assemble(Array, Array)
#1 lib/Pi/Mvc/Controller/Plugin/Url.php(58): Pi\Application\Service\Url->assemble('.department', Array, Array, false)
#2 lib/Pi/Mvc/Controller/Plugin/Url.php(45): Pi\Mvc\Controller\Plugin\Url->fromRoute('.department', Array, Array, false)
#3 [internal function]: Pi\Mvc\Controller\Plugin\Url->__invoke('.department', Array)
#4 lib/Zend/Mvc/Controller/AbstractController.php(302): call_user_func_array(Object(Pi\Mvc\Controller\Plugin\Url), Array)
#5 module/contact/src/Controller/Front/IndexController.php(193): Zend\Mvc\Controller\AbstractController->__call('url', Array)
#6 module/contact/src/Controller/Front/IndexController.php(193): Module\Contact\Controller\Front\IndexController->url('.department', Array)
#7 module/contact/src/Controller/Front/IndexController.php(41): Module\Contact\Controller\Front\IndexController->renderForm()
#8 lib/Zend/Mvc/Controller/AbstractActionController.php(83): Module\Contact\Controller\Front\IndexController->indexAction()
#9 lib/Pi/Mvc/Controller/ActionController.php(53): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 [internal function]: Pi\Mvc\Controller\ActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#11 lib/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#12 lib/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 lib/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 lib/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#15 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#16 lib/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#17 lib/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 lib/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#19 lib/Pi/Application/Engine/Standard.php(56): Zend\Mvc\Application->run()
#20 lib/Pi.php(294): Pi\Application\Engine\Standard->run()
#21 www/boot.php(29): Pi::boot()
#22 www/app.php(16): include('/homez.63/mdxpr...')
#23 {main}
pi r4438
Fatal error: Call to a member function slug() on a non-object in /home/usr/module/contact/src/Controller/Admin/DepartmentController.php on line 50
Very nice idea to history message send through the form. well done.
please add the Save of the admins Answer too ! and add history tread also
actually only the customer send is saved, not the answer !
very usefull, next step is to generate statistics about questions !!!
add a select option for main template :
For example :
i want to display side text like this
Rejoignez-nous sur les réseaux sociaux
Twitter https://twitter.com/javitaclub
Google +
(all with social media icons)
i can only on full text format, and it displays ke this
Rejoignez-nous sur les réseaux sociaux : Twitter https://twitter.com/javitaclub
Despite the form has these fields/values
Subject : test
Email [email protected]
Name
Message : mon message
the received message is
Subject : test
mon message
Department : Default
Email : [email protected]
Name : marco
Organization : %organization%
Homepage : %homepage%
Location : %location%
Phone : %phone%
Create : 9/22/13 5:13:43 PM
Address : %address%
==> extra fields are displayed, despite those are not activated in module settings.
to suppress GWT warnings => had this in module configs
add contact module in result (user are looking for Contact)
"User email is already used" is not translated, it is a core value?
did not find where is located to fix this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.