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

Commit 5e7bfc5

Browse files
committed
Fixed bad references
1 parent b7336e9 commit 5e7bfc5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

cookbook/creating_a_cms/010-getting-started.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Part 1 - Getting Started
44
Initializing the Project
55
~~~~~~~~~~~~~~~~~~~~~~~~
66

7-
First, follow the generic steps in :doc:`create_new_project_phpcr_odm` to
7+
First, follow the generic steps in :doc:`../create_new_project_phpcr_odm` to
88
create a new project using the PHPCR-ODM.
99

1010
Install Additional Bundles
@@ -53,7 +53,7 @@ Initialize the Database
5353
.......................
5454

5555
If you have followed the main instructions in
56-
:doc:`create_new_project_phpcr_odm` then you are using the `Doctrine DBAL
56+
:doc:`../create_new_project_phpcr_odm` then you are using the `Doctrine DBAL
5757
Jackalope`_ PHPCR backend with MySQL and you will need to create the MySQL
5858
database:
5959

@@ -243,7 +243,7 @@ example with ``{{ path(content) }}`` in Twig).
243243
Repository Initializer
244244
~~~~~~~~~~~~~~~~~~~~~~
245245

246-
:ref:`Repository initializers <../../bundles/phpcr_odm>` enable you to establish and maintain PHPCR nodes
246+
:ref:`Repository initializers <phpcr-odm-repository-initializers>` enable you to establish and maintain PHPCR nodes
247247
required by your application, for example you will need the paths
248248
``/cms/pages``, ``/cms/posts`` and ``/cms/routes``. The ``GenericInitializer``
249249
class can be used easily initialize a list of paths. Add the following to your
@@ -305,7 +305,9 @@ service container configuration:
305305
.. note::
306306

307307
The initializers operate at the PHPCR level, not the PHPCR-ODM level - this
308-
means that you are dealing with nodes and not documents.
308+
means that you are dealing with nodes and not documents. You do not have
309+
to understand these details right now. To learn more about PHPCR read
310+
:doc:`../database/choosing_storage_layer`.
309311

310312
Execute the ``doctrine:phpcr:repository:init`` command to initialize (or
311313
reinitialize) the repository:
@@ -401,3 +403,5 @@ You should now have some data in your content repository.
401403
.. _`sonata-project/doctrine-phpcr-admin-bundle`: https://packagist.org/packages/sonata-project/doctrine-phpcr-admin-bundle
402404
.. _`doctrine/data-fixtures`: https://packagist.org/packages/doctrine/data-fixtures
403405
.. _`doctrine dbal jackalope`: https://github.com/jackalope/jackalope-doctrine-dbal
406+
.. _`Apache Jackrabbit`: `https://jackrabbit.apache.org`
407+
.. _`pre persist lifecycle event`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/events.html#lifecycle-callbacks

0 commit comments

Comments
 (0)