Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 5bd61ed

Browse filesBrowse files
committed
Merge pull request #757 from symfony-cmf/abandoned-blog-bundle
remove blogbundle from docs and cleanup examples
2 parents 3d36077 + 2a5ecad commit 5bd61ed
Copy full SHA for 5bd61ed

File tree

Expand file treeCollapse file tree

8 files changed

+25
-371
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+25
-371
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ cache:
99
- $HOME/.cache/pip
1010
- _build
1111

12-
install: pip install sphinx~=1.3 git+https://github.com/fabpot/sphinx-php.git
12+
install: pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git
1313

1414
script: sphinx-build -nW -b html -d _build/doctrees . _build/html

‎bundles/blog.rst

Copy file name to clipboardExpand all lines: bundles/blog.rst
-329Lines changed: 0 additions & 329 deletions
This file was deleted.

‎bundles/content/introduction.rst

Copy file name to clipboardExpand all lines: bundles/content/introduction.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ For instance, a very simple template looks like:
7979

8080
.. code-block:: html+jinja
8181

82-
{# src/Acme/BlogBundle/Resources/views/Post/index.html.twig #}
82+
{# src/AppBundle/Resources/views/Post/index.html.twig #}
8383
{% extends '::layout.html.twig' %}
8484

8585
{% block title -%}
@@ -94,7 +94,7 @@ For instance, a very simple template looks like:
9494

9595
.. code-block:: html+php
9696

97-
<!-- src/Acme/BlogBundle/Resources/views/Post/index.html.php -->
97+
<!-- src/AppBundle/Resources/views/Post/index.html.php -->
9898
<?php $view->extend('::layout.html.twig') ?>
9999

100100
<?php $view['slots']->set('title', $cmfMainContent->getTitle()) ?>
@@ -120,7 +120,7 @@ To configure a default template, use the ``default_template`` option:
120120
121121
# ...
122122
cmf_content:
123-
default_template: AcmeBlogBundle:Content:static.html.twig
123+
default_template: AppBundle:Content:static.html.twig
124124
125125
.. code-block:: xml
126126
@@ -131,7 +131,7 @@ To configure a default template, use the ``default_template`` option:
131131
<!-- ... -->
132132
133133
<config xmlns="http://cmf.symfony.com/schema/dic/content"
134-
default-template="AcmeMainBundle:Content:static.html.twig"
134+
default-template="AppBundle:Content:static.html.twig"
135135
/>
136136
</container>
137137
@@ -141,7 +141,7 @@ To configure a default template, use the ``default_template`` option:
141141
142142
// ...
143143
$container->loadFromExtension('cmf_content', array(
144-
'default_template' => 'AcmeMainBundle:Content:static.html.twig',
144+
'default_template' => 'AppBundle:Content:static.html.twig',
145145
));
146146
147147
Whenever the content controller gets called without a specified template, it

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.