- Nice to have with the changes in platform instead of ezpublish 5.x example (also still work with platform)
- Changes was presented in eZConf2016-Paris
-> Changes in /src/AppBundle/Controller/RideController.php:
2. Error In section: "Add the Point Of Interest in the Ride full view"
-> The pointOfInterestList from the controller is an array and could not works with the logic to add just these lines at the end of the ride.html.twig
-> So to include the Points Of Interest in the ride template, We should include the point_of_interest.html.twig template and loop over the POI items.
- it would be also nice to add new section to explain how to get POI from the ride twig Template without using the previous controller and to give the user the opportunity to discover the view controller using "ez_content:viewAction"
- The section to add in "Integrate the Points of Interest in the Ride view"
1. (Option1) Working with the view controller:
Add the following lines at the end of the Ride full view in "/app/Resources/views/full/ride.html.twig"
Then check the Ride page again to see the Points of Interest !
2. (Option2) Create the RideController
-> Same article as :https://doc.ez.no/display/DEVELOPER/Step+1+-+Display+content+of+a+Ride (Create the RideController)