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

inlined the test.yml contents as they are no longer part of the CMF SE 1.1+ #532

Merged
merged 1 commit into from
Aug 15, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,19 @@ Symfony CMF SE does not provide any admin tools to create new pages. If you
are interested in adding an admin UI one solution can be found in
:doc:`../cookbook/creating_a_cms/sonata-admin`. However, if all you want
is a simple way to add new pages that you can then edit via the inline
editing, then you can use the SimpleCmsBundle ``page`` migrator. The Symfony
CMF SE ships with an example YAML file stored in
``app/Resources/data/pages/test.yml``. The contents of this file can be loaded
into the PHPCR database by calling:
editing, then you can use the SimpleCmsBundle ``page`` migrator. For example,
to add a page called "Testing", creating a file called
``app/Resources/data/pages/test.yml`` with the following contents:

.. code-block:: yaml

label: "Testing"
title: "Testing"
body: |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>Morbi eleifend, ipsum eget facilisis lacinia, lorem dui venenatis quam, at vulputate purus erat sit amet elit.</p>

The contents of this file can be loaded into the PHPCR database by calling:

.. code-block:: bash

Expand Down