forked from redkite-labs/RedKiteCms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPDATE-FROM-REDKITE-CMS-BETA-1
41 lines (26 loc) · 1.55 KB
/
UPDATE-FROM-REDKITE-CMS-BETA-1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Update from RedKite CMS Beta 1
==============================
This release introduces Twitter Bootstrap 3 and provides support for Twitter Bootstrap 2.x.
Due to this improvement, the Twitter Bootstrap paths have been refactored as follows:
Previous release:
./web/components/redkitecms/twitter-bootstrap
Current release:
./web/components/redkitecms/twitter-bootstrap/2.x
./web/components/redkitecms/twitter-bootstrap/3.x
Because of that change, you must update all the references that points the old paths. This
usually involves themes:
{% stylesheets filter='?yui_css,cssrewrite' 'components/redkitecms/twitter-bootstrap/2.x/css/bootstrap.min.css' %}
When you completed that task, clear the cache and run the assetic:dump command:
php app/console ca:c --env=rkcms_dev
php app/console assetic:dump --env=rkcms_dev
If it compiles correctly all assets you are done, otherwise you must find the old paths and repeat
the previous step again.
Please take note that removing the cache could not be enough to update assetic routes. For this reason,
it's strongly suggestes to delete the ./web/css and .web/js folders, before running the assets:dump command.
Blocks editor
-------------
The most of templates have been reorganized with Beta 2. In particular the base editor
RedKiteCmsBundle:Editor:base_editor.html.twig has been moved to RedKiteCmsBundle:Block:Editor/_editor.html.twig,
so your block must point to the new path.
The old file has been left in its original path to avoid compatibility breaks. These templates simply extend
the new one.