11RoutingBundle
22=============
33
4- Both content routes and redirect routes can be administrated. The content admin
5- shows a tree of the content documents to select which content to use for this
6- route. Set the root of the content with the ``content_basepath `` setting.
4+ Both content routes and redirect routes can be administrated. When creating
5+ content routes, a tree of content documents is shown. The administrator can
6+ select a content document to bind to the route. This tree is configured with
7+ the ``content_basepath `` setting.
78
8- The root path to add Routes defaults to the first entry in ``route_basepaths ``,
9- but you can overwrite this with the `` basepath `` if you need a different
10- base path.
9+ The root path to add routes defaults to the first entry in ``route_basepaths ``
10+ configuration of the RoutingBundle. You can overwrite this with the
11+ `` basepath `` option if you need a different base path.
1112
12- Routing can also be handled on a content that has a back link to its routes.
13- The admin integration provides an admin extension to add route editing to any
14- route aware content.
15-
16- Another extension provides a frontend link on all admin pages that are about
17- content that has a URL.
13+ Routes can also be handled in the content admin page. The admin integration
14+ provides an admin extension that allows adding routes to any route aware
15+ objects. Another extension provides a frontend link on all admin pages that
16+ objects that refer to routes.
1817
1918Configuration
2019-------------
@@ -28,8 +27,8 @@ Configuration
2827 bundles :
2928 routing :
3029 enabled : false
31- basepath : null
32- content_basepath : null
30+ basepath : ~
31+ content_basepath : ~
3332
3433 .. code-block :: xml
3534
@@ -196,7 +195,9 @@ See the `Sonata Admin extension documentation`_ for more information.
196195Styling the Frontend Link
197196*************************
198197
199- The frontend link button can be customized using the following CSS selectors:
198+ The frontend link button can be customized using the
199+ ``.sonata-admin-frontend-link `` selector. For instance, to show a link icon and
200+ make the label bold, use the following CSS:
200201
201202.. code-block :: css
202203
0 commit comments