-
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
11 - Add a relation between events and locations #16
Open
luca-rath
wants to merge
1
commit into
assignment/10
Choose a base branch
from
assignment/11
base: assignment/10
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/10
branch
from
July 9, 2020 08:48
cde5ea5
to
f154f22
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
July 9, 2020 08:48
d6c84b1
to
e308bd0
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
September 23, 2020 10:39
fec99f7
to
6fb5f5b
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
September 23, 2020 10:39
d360195
to
0796a36
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
September 23, 2020 10:47
6fb5f5b
to
ef573b2
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
September 23, 2020 10:47
0796a36
to
3503ec3
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
October 21, 2020 07:04
3503ec3
to
4030c29
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
October 21, 2020 08:23
053fdcc
to
967ae4c
Compare
niklasnatter
force-pushed
the
assignment/11
branch
2 times, most recently
from
October 21, 2020 09:32
58ef1d6
to
90219e8
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
October 23, 2020 09:14
79c5b77
to
592b243
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
October 23, 2020 09:14
90219e8
to
4347542
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
October 23, 2020 09:16
592b243
to
c38dfbb
Compare
niklasnatter
force-pushed
the
assignment/11
branch
2 times, most recently
from
October 23, 2020 11:30
b18cd02
to
5619364
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
October 23, 2020 11:30
c38dfbb
to
4e09000
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
October 23, 2020 15:14
5619364
to
dadb184
Compare
luca-rath
force-pushed
the
assignment/11
branch
from
November 6, 2020 13:12
dadb184
to
b48485d
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
February 16, 2021 14:15
3e38dbf
to
c23c253
Compare
niklasnatter
force-pushed
the
assignment/11
branch
4 times, most recently
from
February 16, 2021 14:23
bf0011e
to
636e0fb
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
March 29, 2021 14:14
636e0fb
to
8c7a370
Compare
niklasnatter
force-pushed
the
assignment/11
branch
2 times, most recently
from
May 27, 2021 13:01
53bc591
to
f27b7b7
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
May 27, 2021 13:14
ef30437
to
69ac5ef
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
May 27, 2021 13:14
f27b7b7
to
25529e5
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
June 22, 2021 08:46
25529e5
to
ea71bcd
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 22, 2021 08:51
e218ec8
to
b7442cd
Compare
niklasnatter
force-pushed
the
assignment/11
branch
4 times, most recently
from
June 22, 2021 08:58
611bf1a
to
f739c78
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 22, 2021 09:02
889543c
to
844da41
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
June 22, 2021 09:03
f739c78
to
27a29f3
Compare
niklasnatter
force-pushed
the
assignment/10
branch
3 times, most recently
from
June 20, 2022 20:39
150b891
to
85eb9ea
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
June 20, 2022 20:51
27a29f3
to
b622996
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 20, 2022 20:52
85eb9ea
to
9493801
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
June 20, 2022 20:52
b622996
to
82a570c
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 20, 2022 21:10
9493801
to
ce454b3
Compare
niklasnatter
force-pushed
the
assignment/11
branch
2 times, most recently
from
June 20, 2022 21:12
1446313
to
83977e6
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 20, 2022 21:12
ce454b3
to
3c9f9f5
Compare
niklasnatter
force-pushed
the
assignment/11
branch
2 times, most recently
from
June 20, 2022 21:16
105a116
to
4eb2a81
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
June 20, 2022 21:19
3c9f9f5
to
cbdcd62
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
June 20, 2022 21:19
4eb2a81
to
51ed095
Compare
niklasnatter
force-pushed
the
assignment/10
branch
from
October 17, 2022 13:55
cbdcd62
to
6f90bb1
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
October 17, 2022 14:07
51ed095
to
51e1fdb
Compare
niklasnatter
force-pushed
the
assignment/11
branch
from
October 17, 2022 14:52
51e1fdb
to
a2ba9fb
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.
Add a association between events and locations
Goal
After implementing the location management functionality in the Sulu administration interface, we want to add an
association between the
Event
entity and theLocation
entity. With this assignment we are completing our goal ofremoving redundant location information inside of different events.
Steps
Event
entity and theLocation
entitybin/adminconsole doctrine:schema:update --force
locationId
(will be used in the controller afterwards)locationId
property in yoursrc/Controller/EventController.php
single_location_selection
field type in yourconfig/packages/sulu_admin.yaml
locationId
with the typesingle_location_selection
to yourevent_details
formHints
bin/adminconsole doctrine:schema:validate
bin/adminconsole debug:config sulu_admin field_type_options.single_selection
to get some insights on how toconfigure a single selection field type.
More Information
If you want to select a custom entity somewhere in your form, you need to use a respective field type for this
property. To simplify this process for the developer, Sulu includes an abstract
selection
andsingle_selection
field type. These abstract field types can be instantiated for your custom entity by providing respective
field_type_options
in the configuration of your application.Links