Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Concered about Update

Started by Muut Archive 11 years ago · 4 replies · 290 views
11 years ago

Hi!

I have my site with 0.9.2.1 (and the Antimatter-version that came with it) running without problems. Since I have changed a few things in base.html.twig and also _base.css I'm a little concerned, if these changes get lost on update?
I would use the manual upgrade ...

Also, is the Antimatter-theme in the Core included, since it is GRAV`s default theme, or do I have to update it separately?

Thanks!

11 years ago

Hi,

the Antimatter-theme is separated from the core, i.e. you can download it here http://getgrav.org/downloads/themes . Thus, you can update the core without loss of your changes. I don't use GPM, but at least it should ask and show, which themes/plugins it will update. If you want be sure, just wait till @rhukster or others are repsonding.

However, if you update Antimatter your changes will be lost! To circumvent this you can rename the folder of your customized Antimatter theme into e.g. Matter and change the theme in user/config/system.yaml to

YAML
pages:
  theme: matter

and do the update. If you want to take advantage of the changes in the Antimatter theme, the best procedure is to collect all your changes you have made and create your own theme using Theme inheritance technique described in http://getgrav.org/blog/theme-development-with-inheritance .

11 years ago

Hi!

Just for your information: 01.home was overwritten by the default one, and also the theme-folder with all customization. But no problem, I copied all changes before updating ;-)

11 years ago

By the way, it appears, that the images load much faster then with the former versions (which were quite fast anyway). thumbs up

11 years ago

Great and thanks for the notice! :-D

Others might run into the same problems, but they now know at least what can happen unexpectedly when upgrading. Doing backups like you did is always recommended...

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1326 9 years ago
Archive · by Muut Archive, 9 years ago
2 920 9 years ago
Archive · by Muut Archive, 9 years ago
2 4050 9 years ago
Archive · by Muut Archive, 9 years ago
1 2928 9 years ago
Archive · by Muut Archive, 9 years ago
3 1107 9 years ago