├── src ├── .gitkeep ├── Entity │ └── .gitignore ├── Controller │ └── .gitignore ├── Migrations │ └── .gitignore ├── Repository │ └── .gitignore ├── MigrationVersions │ ├── References │ │ └── .keep │ ├── content_type_group.yaml │ ├── user-policy_mysql.sql │ ├── languages.yaml │ └── maison.yaml ├── Resources │ ├── translations │ │ └── forms.en.yml │ └── schema │ │ └── demo.yaml ├── .htaccess ├── CacheKernel.php ├── Layout │ ├── LayoutRendererInterface.php │ ├── JSRenderer.php │ ├── CSSRenderer.php │ ├── AbstractRenderer.php │ └── LogoRenderer.php ├── PHPUnit │ └── BypassFinalHook.php ├── Pagerfanta │ └── MaisonTemplate.php ├── Twig │ ├── AppLayoutExtension.php │ └── SearchResultExtractorExtension.php ├── Form │ └── Type │ │ └── ContactType.php ├── DependencyInjection │ └── Compiler │ │ └── MigrationParameterPass.php ├── Event │ └── Subscriber │ │ └── BuildDemoSchemaSubscriber.php ├── Helper │ └── ContentHelper.php ├── PremiumContent │ └── HtmlRenderer.php ├── Model │ └── Contact.php ├── QueryType │ ├── ChildrenQueryType.php │ ├── MenuQueryType.php │ └── ContentSiblingQueryType.php ├── Kernel.php └── Mail │ └── Sender.php ├── tests ├── .gitignore ├── fixtures │ ├── testRenderElementsResult_1.xml │ ├── testRenderElementsResult_2.xml │ ├── testRenderElementsResult_3.xml │ ├── testRenderElementsResult_4.xml │ ├── testRenderElementsResult_5.xml │ ├── testRenderElementsResult_6.xml │ ├── testRenderElementsResult_7.xml │ └── testRenderElementsInput.xml ├── bootstrap.php ├── App │ ├── Behat │ │ └── PlatformDemoEnvironmentConstants.php │ ├── PremiumContent │ │ └── HtmlRendererTest.php │ └── Twig │ │ └── PremiumContentExtensionTest.php └── Behat │ └── DemoContext.php ├── var ├── log │ └── .gitkeep ├── encore │ └── .gitkeep └── sessions │ └── .gitkeep ├── translations ├── .gitignore └── messages.en.yml ├── public ├── assets │ ├── build │ │ └── .gitkeep │ ├── ezplatform │ │ └── build │ │ │ └── .gitkeep │ ├── images │ │ ├── map.png │ │ ├── armchair.jpg │ │ ├── living-room-1.jpg │ │ ├── living-room-2.jpg │ │ ├── logo │ │ │ ├── maison-logo.png │ │ │ └── maison-professionals.png │ │ ├── store-col-img1.png │ │ ├── store-col-img2.png │ │ ├── inspiration-banner.jpg │ │ └── maison-logo.svg │ └── icons │ │ ├── email.svg │ │ └── phone.svg └── index.php ├── config ├── graphql │ └── types │ │ └── .gitignore ├── packages │ ├── behat │ │ ├── framework.yaml │ │ ├── monolog.yaml │ │ └── ezplatform.yaml │ ├── test │ │ ├── twig.yaml │ │ ├── swiftmailer.yaml │ │ ├── webpack_encore.yaml │ │ ├── routing.yaml │ │ ├── validator.yaml │ │ ├── framework.yaml │ │ ├── web_profiler.yaml │ │ └── monolog.yaml │ ├── dev │ │ ├── routing.yaml │ │ ├── swiftmailer.yaml │ │ ├── debug.yaml │ │ ├── web_profiler.yaml │ │ ├── easy_log_handler.yaml │ │ └── monolog.yaml │ ├── prod │ │ ├── routing.yaml │ │ ├── webpack_encore.yaml │ │ ├── monolog.yaml │ │ └── doctrine.yaml │ ├── validator.yaml │ ├── routing.yaml │ ├── sensio_framework_extra.yaml │ ├── swiftmailer.yaml │ ├── twig.yaml │ ├── jms_translation.yaml │ ├── assets.yaml │ ├── translation.yaml │ ├── security_checker.yaml │ ├── field_templates.yml │ ├── doctrine_migrations.yaml │ ├── graphql.yaml │ ├── liip_imagine.yaml │ ├── ezplatform_assets.yaml │ ├── nelmio_cors.yaml │ ├── twig_extensions.yaml │ ├── oneup_flysystem.yaml │ ├── ezplatform_doctrine_schema.yaml │ ├── framework.yaml │ ├── ezplatform_solr.yaml │ ├── webpack_encore.yaml │ ├── cache.yaml │ ├── doctrine.yaml │ ├── image_variations.yml │ ├── cache_pool │ │ ├── cache.tagaware.filesystem.yaml │ │ ├── cache.memcached.yaml │ │ └── cache.redis.yaml │ ├── dfs │ │ └── dfs.yaml │ ├── ezplatform_http_cache.yaml │ ├── buzz.yaml │ ├── ezplatform_admin_ui.yaml │ └── security.yaml ├── routes.yaml ├── routes │ ├── annotations.yaml │ ├── liip_imagine.yaml │ ├── ezplatform_user.yaml │ ├── behat │ │ └── ezplatform_behat.yaml │ ├── dev │ │ ├── graphiql.yaml │ │ └── web_profiler.yaml │ ├── fos_js_routing.yaml │ ├── js_translation.yaml │ ├── ezplatform_content_forms.yaml │ ├── ezplatform_http_cache.yaml │ ├── ezplatform_query_field_type.yaml │ ├── graphql.yaml │ ├── ezplatform_rest.yaml │ ├── ezplatform.yaml │ └── ezplatform_admin_ui.yaml ├── services │ ├── content.yaml │ ├── events.yaml │ ├── helpers.yaml │ ├── mailer.yaml │ ├── pagerfanta.yaml │ ├── query_types.yaml │ ├── migration.yaml │ ├── layout.yaml │ ├── installer.yaml │ ├── twig.yaml │ └── controllers.yaml ├── services_test.yaml ├── bootstrap.php └── services.yaml ├── assets ├── scss │ ├── _fonts.scss │ ├── professionals │ │ └── professionals.scss │ ├── _ez-fields.scss │ ├── _variables.scss │ ├── maison │ │ ├── _footer.scss │ │ ├── maison.scss │ │ ├── _section.scss │ │ ├── _article.scss │ │ ├── _forms.scss │ │ ├── _banner.scss │ │ ├── _navigation.scss │ │ └── _pagination.scss │ ├── _functions.scss │ ├── _images.scss │ ├── _default.scss │ ├── demo.scss │ ├── _colors.scss │ ├── _buttons.scss │ └── _custom.scss └── js │ └── carouselMenu.js ├── doc ├── nginx │ └── ez_params.d │ │ ├── ez_rewrite_dfsimage_params │ │ ├── ez_rewrite_image_params │ │ ├── ez_server_params │ │ ├── ez_prod_rewrite_params │ │ ├── ez_fastcgi_params │ │ └── ez_rewrite_params ├── docker │ ├── Dockerfile-dbdump │ ├── entrypoint │ │ ├── mysql │ │ │ └── 0_database_character_set.sh │ │ └── varnish │ │ │ └── parameters.vcl │ ├── Dockerfile-vardir │ ├── create-dataset.yml │ ├── dfs.yml │ ├── chromium.yml │ ├── blackfire.yml │ ├── redis.yml │ ├── demo.yml │ ├── install-dependencies.yml │ ├── install-database.yml │ ├── multihost.yml │ ├── redis-session.yml │ ├── db-stack.yml │ ├── selenium.yml │ ├── solr.yml │ ├── Dockerfile-distribution │ ├── varnish.yml │ ├── Dockerfile-solr │ ├── install_script.sh │ ├── base-dev.yml │ ├── import-dataset.yml │ ├── Dockerfile-nginx │ ├── base-prod.yml │ ├── my-ez-app-stack.yml │ ├── install.yml │ └── Dockerfile-varnish ├── varnish │ └── varnish.md ├── platformsh │ └── README.md └── i18n │ ├── install_translation_package.md │ ├── translation_workflow.md │ ├── distribute_translations.md │ ├── handle_translation_in_contribution.md │ └── integrate_new_string_to_translate.md ├── bin ├── .travis │ ├── trigger_regression_build.sh │ ├── disable_xdebug.sh │ ├── run_rest_tests.sh │ ├── configure_mysql.sh │ ├── parameters.yml │ ├── router_behat.php │ ├── runcommand.sh │ ├── composer-auth.json │ ├── prepare_selenium2.sh │ ├── apache2 │ │ └── php5-fcgi │ ├── get_behat_features.sh │ ├── prepare_system.sh │ ├── configure_apache2.sh │ ├── setup_from_external_repo.sh │ ├── trusty │ │ └── update_docker.sh │ └── rsa_allure ├── platformsh_prestart_cacheclear.sh ├── .ci │ └── prepare_archive.sh └── console ├── package.json ├── templates ├── themes │ ├── standard │ │ ├── layout │ │ │ └── logo.html.twig │ │ └── pagination │ │ │ └── default.html.twig │ ├── maison │ │ ├── pagelayout.html.twig │ │ ├── full │ │ │ ├── home.html.twig │ │ │ ├── inspiration_list.html.twig │ │ │ └── inspiration.html.twig │ │ ├── parts │ │ │ └── store_work_hours.html.twig │ │ ├── card │ │ │ ├── inspiration.html.twig │ │ │ └── store.html.twig │ │ ├── pagination │ │ │ └── content_pagination.html.twig │ │ └── layout │ │ │ └── footer.html.twig │ ├── professionals │ │ ├── pagelayout.html.twig │ │ ├── full │ │ │ └── home.html.twig │ │ └── layout │ │ │ ├── footer.html.twig │ │ │ └── header.html.twig │ └── admin │ │ └── fields │ │ └── eztags_field.html.twig └── base.html.twig ├── .platform └── routes.yaml ├── ez.webpack.custom.configs.js ├── UPGRADE.md ├── COPYRIGHT ├── webpack.config.js ├── .dockerignore ├── .php_cs ├── ez.webpack.config.js ├── upgrade └── db │ ├── mysql │ └── ezplatform-2.5.latest-to-3.0.0.sql │ └── postgresql │ └── ezplatform-2.5.latest-to-3.0.0.sql ├── ez.webpack.config.manager.js ├── RUNNING_BEHAT.md └── behat.yml.dist /src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /var/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Entity/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /translations/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /var/encore/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /var/sessions/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/assets/build/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Controller/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Migrations/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Repository/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/graphql/types/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/MigrationVersions/References/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/assets/ezplatform/build/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/scss/_fonts.scss: -------------------------------------------------------------------------------- 1 | $fira-sans: "Fira Sans"; 2 | -------------------------------------------------------------------------------- /src/Resources/translations/forms.en.yml: -------------------------------------------------------------------------------- 1 | 'Tags': 'Tags' 2 | -------------------------------------------------------------------------------- /assets/scss/professionals/professionals.scss: -------------------------------------------------------------------------------- 1 | @import "../demo.scss"; 2 | -------------------------------------------------------------------------------- /config/packages/behat/framework.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | test: true 3 | -------------------------------------------------------------------------------- /config/packages/test/twig.yaml: -------------------------------------------------------------------------------- 1 | twig: 2 | strict_variables: true 3 | -------------------------------------------------------------------------------- /assets/scss/_ez-fields.scss: -------------------------------------------------------------------------------- 1 | .ezcountry-field { 2 | margin-bottom: 0; 3 | } 4 | -------------------------------------------------------------------------------- /config/packages/test/swiftmailer.yaml: -------------------------------------------------------------------------------- 1 | swiftmailer: 2 | disable_delivery: true 3 | -------------------------------------------------------------------------------- /config/packages/test/webpack_encore.yaml: -------------------------------------------------------------------------------- 1 | #webpack_encore: 2 | # strict_mode: false 3 | -------------------------------------------------------------------------------- /config/packages/dev/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: true 4 | -------------------------------------------------------------------------------- /config/packages/prod/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: null 4 | -------------------------------------------------------------------------------- /config/packages/test/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: true 4 | -------------------------------------------------------------------------------- /config/packages/validator.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | validation: 3 | email_validation_mode: html5 4 | -------------------------------------------------------------------------------- /config/routes.yaml: -------------------------------------------------------------------------------- 1 | #index: 2 | # path: / 3 | # controller: App\Controller\DefaultController::index 4 | -------------------------------------------------------------------------------- /config/routes/annotations.yaml: -------------------------------------------------------------------------------- 1 | controllers: 2 | resource: ../../src/Controller/ 3 | type: annotation 4 | -------------------------------------------------------------------------------- /config/packages/routing.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | router: 3 | strict_requirements: ~ 4 | utf8: true 5 | -------------------------------------------------------------------------------- /config/packages/sensio_framework_extra.yaml: -------------------------------------------------------------------------------- 1 | sensio_framework_extra: 2 | router: 3 | annotations: false 4 | -------------------------------------------------------------------------------- /config/packages/swiftmailer.yaml: -------------------------------------------------------------------------------- 1 | swiftmailer: 2 | url: '%env(MAILER_URL)%' 3 | spool: { type: 'memory' } 4 | -------------------------------------------------------------------------------- /config/packages/test/validator.yaml: -------------------------------------------------------------------------------- 1 | framework: 2 | validation: 3 | not_compromised_password: false 4 | -------------------------------------------------------------------------------- /public/assets/images/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ezsystems/ezplatform-demo/HEAD/public/assets/images/map.png -------------------------------------------------------------------------------- /config/routes/liip_imagine.yaml: -------------------------------------------------------------------------------- 1 | _liip_imagine: 2 | resource: "@LiipImagineBundle/Resources/config/routing.yaml" 3 | -------------------------------------------------------------------------------- /config/routes/ezplatform_user.yaml: -------------------------------------------------------------------------------- 1 | ezplatform_user: 2 | resource: '@EzPlatformUserBundle/Resources/config/routing.yaml' 3 | -------------------------------------------------------------------------------- /public/assets/images/armchair.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ezsystems/ezplatform-demo/HEAD/public/assets/images/armchair.jpg -------------------------------------------------------------------------------- /tests/fixtures/testRenderElementsResult_1.xml: -------------------------------------------------------------------------------- 1 |
Element 1 - Paragraph 1
Element 1 - Paragraph 1
3 |Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
{{ 'Work Hours'|trans }}
3 | {% if workHours|length > 0 %} 4 | {% for workHour in workHours %} 5 |{{ workHour.cells['day'] }} | {{ workHour.cells['from'] }} - {{ workHour.cells['to'] }}
6 | {% endfor %} 7 | {% else %} 8 |-
9 | {% endif %} 10 | -------------------------------------------------------------------------------- /src/MigrationVersions/content_type_group.yaml: -------------------------------------------------------------------------------- 1 | - 2 | type: reference 3 | mode: load 4 | file: 'src/MigrationVersions/References/references.yml' 5 | overwrite: true 6 | 7 | #Professionals content type group 8 | - 9 | type: content_type_group 10 | mode: create 11 | identifier: Professionals 12 | 13 | - 14 | type: reference 15 | mode: save 16 | file: 'src/MigrationVersions/References/references.yml' 17 | overwrite: true 18 | -------------------------------------------------------------------------------- /doc/docker/dfs.yml: -------------------------------------------------------------------------------- 1 | version: '3.3' 2 | 3 | services: 4 | app: 5 | environment: 6 | - DFS_NFS_PATH=/dfsdata 7 | depends_on: 8 | - dfsperm 9 | volumes: 10 | - ../../dfsdata:/dfsdata 11 | 12 | web: 13 | environment: 14 | - BINARY_DATA_HANDLER=dfs 15 | 16 | dfsperm: 17 | image: ${PHP_IMAGE} 18 | volumes: 19 | - ../../dfsdata:/dfsdata 20 | command: /bin/bash -c "mkdir -p /dfsdata/var; chown 1000:33 /dfsdata/var" 21 | -------------------------------------------------------------------------------- /config/services/migration.yaml: -------------------------------------------------------------------------------- 1 | services: 2 | App\Migration\FieldHandler\EzImageAsset: 3 | parent: ez_migration_bundle.complex_field 4 | arguments: 5 | - '@ez_migration_bundle.reference_resolver.customreference' 6 | tags: 7 | - { name: ez_migration_bundle.complex_field, fieldtype: ezimageasset, priority: 0 } 8 | 9 | # hack for migration bundle 10 | ezpublish.fieldType.ezpage.pageService: 11 | synthetic: true 12 | -------------------------------------------------------------------------------- /bin/.travis/apache2/php5-fcgi: -------------------------------------------------------------------------------- 1 |Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
5 | 6 | 7 |Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
5 | 6 | 7 | 14 | 15 | 16 |Paragraph 3
Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
5 | 6 | 7 | 14 | 15 | 16 |Paragraph 3
17 | 18 | 19 |Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
5 | 6 | 7 | 14 | 15 | 16 |Paragraph 3
17 | 18 | 19 | 26 | 27 | 28 |Paragraph 4
Element 1 - Paragraph 1
3 |Element 3 - Paragraph 2
5 | 6 | 7 | 14 | 15 | 16 |Paragraph 3
17 | 18 | 19 | 26 | 27 | 28 |Paragraph 4
29 |Paragraph 5
31 | 32 | 33 | 40 | 41 | 42 |Paragraph 6
43 |Paragraph 7
44 |Paragraph 8
46 | 47 |{{ 'Address'|trans }}:
13 | {{ ez_field_value(content, 'maplocation') }} 14 |{{ 'Phone'|trans }}:
22 |{{ contactInfo.cells['phone'] }}
23 |{{ 'E-mail' | trans }}:
26 |{{ contactInfo.cells['email'] }}
27 |