This repository was archived by the owner on Aug 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Part2 step 2 and 3 #1
Open
mere-teresa
wants to merge
2
commits into
master
Choose a base branch
from
part2-step3
base: master
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.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # import the ezpublish.yml from your Bundle | ||
| imports: | ||
| - {resource: @EzTutorialBikeBundle/Resources/config/ezpublish.yml} | ||
|
|
||
| ezpublish: | ||
| repositories: | ||
| demo_repository: | ||
| engine: legacy | ||
| connection: default | ||
|
|
||
| siteaccess: | ||
| # Available siteaccesses | ||
| list: | ||
| - demo_site | ||
| - gobike | ||
|
|
||
| # Siteaccess groups. Use them to group common settings. | ||
| groups: | ||
| demo_site_group: [demo_site, gobike] | ||
| default_siteaccess: demo_site | ||
| match: | ||
| URIElement: 1 | ||
|
|
||
| imagemagick: | ||
| enabled: false | ||
|
|
||
| # System settings, grouped by siteaccess and/or siteaccess group | ||
| system: | ||
| demo_site_group: | ||
| repository: demo_repository | ||
| var_dir: var/ezdemo_site | ||
| languages: | ||
| - eng-GB | ||
| session: | ||
| name: eZSESSID | ||
| default: | ||
| content: | ||
| view_cache: true | ||
| ttl_cache: true | ||
| # TTL cache (http) in seconds | ||
| # Note that Http cache for a given content is always invalidated when publishing that content | ||
| default_ttl: 300 | ||
|
|
||
| # Stash is used for persistence cache | ||
| stash: | ||
| caches: | ||
| default: | ||
| drivers: | ||
| # When using multiple webservers, you must use Memcache or Redis | ||
| - FileSystem | ||
| inMemory: true | ||
| registerDoctrineAdapter: false | ||
| # On Windows, using FileSystem, to avoid hitting filesystem limitations | ||
| # you need to change the keyHashFunction used to generate cache directories to "crc32" | ||
| # FileSystem | ||
| # keyHashFunction: crc32 | ||
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| imports: | ||
| - { resource: @EzTutorialBikeBundle/Resources/config/template_rules.yml } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| ez_tutorial_bike_homepage: | ||
| path: /hello/{name} | ||
| path: /hello | ||
| defaults: { _controller: EzTutorialBikeBundle:Default:index } | ||
|
|
||
| ez_tutorial_bike_ride_full: | ||
| path: /ride/:id | ||
| defaults: { _controller: EzTutorialBikeBundle:Default:ride } |
18 changes: 18 additions & 0 deletions
18
src/EzTutorial/BikeBundle/Resources/config/template_rules.yml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| ezpublish: | ||
| system: | ||
| default: | ||
| location_view: | ||
| line: | ||
| ride_line: | ||
| template: "EzTutorialBikeBundle:line:ride.html.twig" | ||
| match: | ||
| Identifier\ContentType: [ride, ride2] #I had to recreate the Contenttype so I am using ride2 | ||
| poi: | ||
| template: "EzTutorialBikeBundle:line:poi.html.twig" | ||
| match: | ||
| Identifier\ContentType: [poi] | ||
| full: | ||
| ride: | ||
| template: "EzTutorialBikeBundle:full:ride.html.twig" | ||
| match: | ||
| Identifier\ContentType: [ride, ride2] |
This file contains hidden or 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
41 changes: 41 additions & 0 deletions
41
src/EzTutorial/BikeBundle/Resources/views/footer.html.twig
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| <!-- Footer --> | ||
| <footer class="text-center"> | ||
| <div class="footer-color-one"> | ||
| <div class="container"> | ||
| <div class="col-xs-10 col-xs-offset-1 text-center" id="intouch"> | ||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="footer-color-two"> | ||
| <div class="container"> | ||
| <div class="row regular-content-size"> | ||
| <div class="col-md-8 col-md-offset-2 footer-links-block"> | ||
| <ul class="list-inline footer-links"> | ||
| <li><a href="#">About Us</a></li> | ||
| <li><a href="index.html">All Rides</a></li> | ||
| <li><a href="#">Submit a Ride</a></li> | ||
| <li><a href="#">FAQ</a></li> | ||
| </ul> | ||
| </div> | ||
| <div class="col-md-8 col-md-offset-2 footer-links-block"> | ||
| <ul class="list-inline footer-links"> | ||
| <li><a href="#">Contact Us</a></li> | ||
| <li><a href="#">Language</a></li> | ||
| <li><a href="#">Support</a></li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="footer-color-three"> | ||
| <div class="container"> | ||
| <div class="row"> | ||
| <div class="col-md-12"> | ||
| <p class="small">Website design & content © copyright 2015 eZ Systems. This website was made | ||
| with eZ Platform</p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </footer> |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of working with demo_site siteaccess : not sure that my template_rules.yml are considered.