-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
06 - Add an event registration to the website #11
base: assignment/05
Are you sure you want to change the base?
Conversation
cd978c2
to
ed28bc2
Compare
22685d6
to
58315b4
Compare
682a04e
to
e101bd1
Compare
372061f
to
cabf449
Compare
e101bd1
to
353f325
Compare
353f325
to
e90b1b2
Compare
35d5c88
to
92d43c2
Compare
5461949
to
47d95c8
Compare
0c81516
to
efb3fbd
Compare
159ee52
to
e39eeec
Compare
efb3fbd
to
cd4cdc6
Compare
e39eeec
to
f99dddb
Compare
9d9a4e3
to
f72ac72
Compare
f99dddb
to
4b60331
Compare
f72ac72
to
f380ddc
Compare
d5633e9
to
eda2c4f
Compare
Hi, beautifull documentation as PR. Very usefull. |
Hi and thanks for your feedback! 🙂 The EventWebsiteController is not used for the event overview, it's used for the event detail page. There is a custom route defined in config/routes_website.yaml |
a3ea35d
to
3a46121
Compare
eda2c4f
to
21cb328
Compare
3a46121
to
ebd61cc
Compare
21cb328
to
7a8e7b1
Compare
c8bacf1
to
e198fe3
Compare
de792ef
to
d2e8778
Compare
b1a7d24
to
597546c
Compare
75105ca
to
dfcfdd6
Compare
3eb0323
to
96c7511
Compare
dfcfdd6
to
d20637c
Compare
Hi, great tutorial! I think under Hints it should be and src/Controller/EventWebsiteController.php is located under src/Controller/Website/EventWebsiteController.php |
@Wonko52 Thank you I updated the description! |
96c7511
to
b5f98f1
Compare
c04f48d
to
fdf37dc
Compare
f046ab8
to
407f373
Compare
fdf37dc
to
0f4da74
Compare
407f373
to
e8288c2
Compare
0467910
to
e9eb406
Compare
2ca1010
to
9f5b1e2
Compare
e9eb406
to
7784d3e
Compare
7784d3e
to
3534d84
Compare
9f5b1e2
to
24ec20c
Compare
Allow for event registration on the website
Goal
We want to allow our users to register themselves for our events in the future. Therefore we need to display a
register form that includes input fields for a email address, a first and last name on each event detail page.
Steps
EventRegistration
entityEvent
entity and your newly createdEventRegistration
entitybin/adminconsole doctrine:schema:update --force
EventRegistration
form typesrc/Controller/Website/EventWebsiteController.php
templates/events/index.html.twig
Hints
bin/adminconsole make:entity EventRegistration
bin/adminconsole make:form EventRegistrationType EventRegistration
bin/adminconsole doctrine:schema:validate
More Information
This assignment is purely based on Symfony. No Sulu knowledge required ;-)
Links