Skip to content

Commit 32e63c4

Browse files
committed
[WIP] Removed symfony_cmf prefix
1 parent 736f4f0 commit 32e63c4

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

app/AppKernel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public function registerBundles()
2323
new JMS\SerializerBundle\JMSSerializerBundle($this),
2424

2525
// enable cmf bundles
26-
new Symfony\Cmf\Bundle\RoutingBundle\SymfonyCmfRoutingBundle(),
27-
new Symfony\Cmf\Bundle\CoreBundle\SymfonyCmfCoreBundle(),
28-
new Symfony\Cmf\Bundle\MenuBundle\SymfonyCmfMenuBundle(),
29-
new Symfony\Cmf\Bundle\ContentBundle\SymfonyCmfContentBundle(),
30-
new Symfony\Cmf\Bundle\SimpleCmsBundle\SymfonyCmfSimpleCmsBundle(),
31-
new Symfony\Cmf\Bundle\CreateBundle\SymfonyCmfCreateBundle(),
26+
new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
27+
new Symfony\Cmf\Bundle\CoreBundle\CmfCoreBundle(),
28+
new Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle(),
29+
new Symfony\Cmf\Bundle\ContentBundle\CmfContentBundle(),
30+
new Symfony\Cmf\Bundle\SimpleCmsBundle\CmfSimpleCmsBundle(),
31+
new Symfony\Cmf\Bundle\CreateBundle\CmfCreateBundle(),
3232

3333
// and the sandbox bundle
3434
new Acme\MainBundle\AcmeMainBundle(),

app/config/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ twig:
2020
assetic:
2121
debug: %kernel.debug%
2222
use_controller: false
23-
#bundles: [SymfonyCmfSimpleCmsBundle, SymfonyCmfCreateBundle]
23+
#bundles: [CmfSimpleCmsBundle, CmfCreateBundle]
2424
#java: /usr/bin/java
2525
filters:
2626
cssrewrite: ~
@@ -69,28 +69,28 @@ liip_doctrine_cache:
6969
nodes:
7070
type: file_system
7171

72-
symfony_cmf_routing:
72+
cmf_routing:
7373
dynamic:
7474
enabled: true
7575

76-
symfony_cmf_simple_cms:
76+
cmf_simple_cms:
7777
routing:
7878
templates_by_class:
79-
Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: SymfonyCmfSimpleCmsBundle:Page:index.html.twig
79+
Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: CmfSimpleCmsBundle:Page:index.html.twig
8080
controllers_by_class:
81-
Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute: symfony_cmf_routing.redirect_controller:redirectAction
81+
Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute: cmf_routing.redirect_controller:redirectAction
8282
multilang:
8383
locales: %locales%
8484
use_sonata_admin: false
8585

8686
knp_menu:
8787
twig: true
8888

89-
symfony_cmf_menu:
89+
cmf_menu:
9090
use_sonata_admin: false
9191
menu_basepath: /cms
9292

93-
symfony_cmf_create:
93+
cmf_create:
9494
phpcr_odm: true
9595

9696
lunetics_locale:

app/config/routing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static:
1818
_locale: en|de
1919

2020
cmf_create_rest:
21-
resource: "@SymfonyCmfCreateBundle/Resources/config/routing/rest.xml"
21+
resource: "@CmfCreateBundle/Resources/config/routing/rest.xml"
2222

2323
cmf_create_image:
24-
resource: "@SymfonyCmfCreateBundle/Resources/config/routing/image.xml"
24+
resource: "@CmfCreateBundle/Resources/config/routing/image.xml"

src/Acme/MainBundle/DataFixtures/PHPCR/LoadSimpleCmsData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function load(ObjectManager $dm)
3434

3535
$data = $this->yaml->parse(file_get_contents(__DIR__ . '/../../Resources/data/external.yml'));
3636

37-
$basepath = $this->container->getParameter('symfony_cmf_simple_cms.basepath');
37+
$basepath = $this->container->getParameter('cmf_simple_cms.basepath');
3838
$home = $dm->find(null, $basepath);
3939

4040
$route = new MultilangRoute();

src/Acme/MainBundle/Resources/data/page.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static:
1818
name: "contact"
1919
label: "Contact"
2020
title: "A contact page"
21-
body: "Please send an email to symfony-[email protected]"
21+
body: "Please send an email to [email protected]"
2222

2323
map:
2424
name: "map"

src/Acme/MainBundle/Resources/views/layout.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
1616
<![endif]-->
1717

18-
{% include "SymfonyCmfCreateBundle::includecssfiles.html.twig" %}
18+
{% include "CmfCreateBundle::includecssfiles.html.twig" %}
1919
{% endblock %}
2020
</head>
2121
<body>
@@ -37,7 +37,7 @@
3737

3838
<div class="row">
3939
<div id="banner" class="span12">
40-
<a href="https://github.com/symfony-cmf/symfony-cmf-standard"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"/></a>
40+
<a href="https://github.com/symfony-cmf/cmf-standard"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"/></a>
4141

4242
<div class="hero-unit">
4343
<h1 id="logo-text"><a href="{{ path('/cms/simple') }}">Standard Edition</a></h1>
@@ -70,7 +70,7 @@
7070
</div>
7171
</div>
7272
</div>
73-
{% render controller("symfony_cmf_create.jsloader.controller:includeJSFilesAction") %}
73+
{% render controller("cmf_create.jsloader.controller:includeJSFilesAction") %}
7474
</body>
7575
</html>
7676

0 commit comments

Comments
 (0)