Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 59c966b

Browse files
committed
Merge pull request #532 from symfony-cmf/test_yml_no_longer_exists
inlined the test.yml contents as they are no longer part of the CMF SE 1.1+
2 parents 698470d + 6e2e4fe commit 59c966b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

book/installation.rst

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,19 @@ Symfony CMF SE does not provide any admin tools to create new pages. If you
217217
are interested in adding an admin UI one solution can be found in
218218
:doc:`../cookbook/creating_a_cms/sonata-admin`. However, if all you want
219219
is a simple way to add new pages that you can then edit via the inline
220-
editing, then you can use the SimpleCmsBundle ``page`` migrator. The Symfony
221-
CMF SE ships with an example YAML file stored in
222-
``app/Resources/data/pages/test.yml``. The contents of this file can be loaded
223-
into the PHPCR database by calling:
220+
editing, then you can use the SimpleCmsBundle ``page`` migrator. For example,
221+
to add a page called "Testing", creating a file called
222+
``app/Resources/data/pages/test.yml`` with the following contents:
223+
224+
.. code-block:: yaml
225+
226+
label: "Testing"
227+
title: "Testing"
228+
body: |
229+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
230+
<p>Morbi eleifend, ipsum eget facilisis lacinia, lorem dui venenatis quam, at vulputate purus erat sit amet elit.</p>
231+
232+
The contents of this file can be loaded into the PHPCR database by calling:
224233

225234
.. code-block:: bash
226235

0 commit comments

Comments
 (0)