-
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
07 - Display the registrations for each event in the admin interface #12
Open
luca-rath
wants to merge
1
commit into
assignment/06
Choose a base branch
from
assignment/07
base: assignment/06
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
niklasnatter
force-pushed
the
assignment/06
branch
from
July 9, 2020 08:42
22685d6
to
58315b4
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
July 9, 2020 08:43
df929f6
to
4ca8ac4
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
September 23, 2020 10:39
682a04e
to
e101bd1
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
September 23, 2020 10:47
70dda22
to
aa37348
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
October 21, 2020 07:04
353f325
to
e90b1b2
Compare
niklasnatter
force-pushed
the
assignment/07
branch
6 times, most recently
from
October 23, 2020 09:16
62cab3f
to
cb3a102
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
October 23, 2020 11:30
159ee52
to
e39eeec
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
October 23, 2020 11:30
cb3a102
to
7b5279e
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
October 23, 2020 15:14
e39eeec
to
f99dddb
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
October 23, 2020 15:14
7b5279e
to
19a62d0
Compare
luca-rath
force-pushed
the
assignment/07
branch
from
November 6, 2020 13:12
19a62d0
to
b5ee042
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
February 16, 2021 13:59
4b60331
to
d5633e9
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
February 16, 2021 14:15
ab4aa3f
to
a055186
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
February 16, 2021 14:23
d5633e9
to
eda2c4f
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
February 16, 2021 14:23
a055186
to
3b8fcc8
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
March 31, 2021 10:51
a5c4c4d
to
8c34b43
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
May 27, 2021 12:47
7a8e7b1
to
c8bacf1
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
May 27, 2021 12:47
8c34b43
to
82fd37c
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
May 27, 2021 12:58
c8bacf1
to
e198fe3
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
May 27, 2021 13:01
75f3ced
to
b67296b
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
May 27, 2021 13:05
b1a7d24
to
597546c
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
May 27, 2021 13:09
b67296b
to
7e82250
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
June 22, 2021 08:46
7e82250
to
b1eb8a1
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 22, 2021 08:50
75105ca
to
dfcfdd6
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
June 22, 2021 08:51
b1eb8a1
to
1eb6882
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 22, 2021 08:54
dfcfdd6
to
d20637c
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
June 22, 2021 08:57
31d532e
to
b165370
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
June 20, 2022 19:46
b165370
to
abf77bf
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 20, 2022 19:46
3916d1e
to
c04f48d
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
June 20, 2022 20:06
8743286
to
d2ce609
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 20, 2022 20:06
c04f48d
to
fdf37dc
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
June 20, 2022 20:53
906becf
to
25fee79
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 20, 2022 21:10
0f4da74
to
0467910
Compare
niklasnatter
force-pushed
the
assignment/07
branch
2 times, most recently
from
June 20, 2022 21:18
bab0d28
to
23c93cb
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
June 20, 2022 21:19
0467910
to
e9eb406
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
June 20, 2022 21:19
23c93cb
to
1324c8f
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
October 17, 2022 13:31
1324c8f
to
fc28698
Compare
niklasnatter
force-pushed
the
assignment/06
branch
from
October 17, 2022 14:52
7784d3e
to
3534d84
Compare
niklasnatter
force-pushed
the
assignment/07
branch
from
October 17, 2022 14:52
fc28698
to
1f369f7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Display submitted event registrations in the admin interface
Goal
Our event managers need to keep track of all the incoming event registrations. Therefore we want to display a list
of all registrations for each of our events in the admin interface.
Steps
App\Controller\Admin\EventRegistrationController
to query event-registrationsconfig/routes_admin.yaml
event_registrations
resource in yourconfig/packages/sulu_admin.yaml
event_registrations
in aconfig/lists/event_registrations.xml
ListRouteBuilder
to add a new admin route in yoursrc/Admin/EventAdmin.php
Hints
App\Controller\Admin\EventController
for the Event entityconfig/lists/events.xml
for the Event entitysrc/Admin/AppAdmin.php
fileMore Information
The Admin classes are used to configure available navigation items and routes in the Sulu administration interface.
Each route is associated to a javascript view and can customize the behaviour of the view by passing options to the
view. Sulu is shipped with several configurable javascript views, including a flexible form view and a list view.
The Sulu administration interface is implemented as a single-page application with React. It requires a standardized
REST API for loading and manipulating the different resources available in the system. For custom entities you need to
implement this REST endpoint by yourself.
Passing your REST API URLs to to each view of the JS application would be quite inconvenient. Therefore, Sulu utilizes
a concept called resources that associates entity specific API URLs used by the JS application to a unique resourceKey.
This resource key is then used to configure entity specific views of the JS application.
Another concept of the Sulu frontend application is the utilization of metadata when rendering javascript views. For
example, the list view utilizes metadata that is configured in XML files to determine the available columns and the
type of the data inside of these columns. This concepts enables the developer to built feature-rich UIs without the
need of writing javascript code.
Links