override single file of installed package concrete5 v8 (8.5.2)
Permalink
Hi,
How can i override single files of an package in concrete5 v8 (8.5.2) without touching the package itself? i'm remembering from my 5.7 time that you could take the exact path with only the root folder different somewhere, but i could now only find that information about concrete core build in blocks and packages.
I installed the fruitfull theme, and want to change some things, but want to be able to update the package later without loosing my changes. Is that (still) possible?
Bart
How can i override single files of an package in concrete5 v8 (8.5.2) without touching the package itself? i'm remembering from my 5.7 time that you could take the exact path with only the root folder different somewhere, but i could now only find that information about concrete core build in blocks and packages.
I installed the fruitfull theme, and want to change some things, but want to be able to update the package later without loosing my changes. Is that (still) possible?
Bart
It is possible to some extent but how you go about it depends on what file you want to override. Can you be more specific?
i changed:
- the file packages/fruitful/themes/fruitful/css/iGotStyle.less of the fruitfull theme to change the colors in the variables for example @primary etc
- the file packages/fruitful/blocks/hero_featurette_fruitful/view.php to change the appearance of the text fields that appears on the slider
- the file packages/fruitful/themes/fruitful/css/iGotStyle.less of the fruitfull theme to change the colors in the variables for example @primary etc
- the file packages/fruitful/blocks/hero_featurette_fruitful/view.php to change the appearance of the text fields that appears on the slider
for the block's view file it's easy you just add the file application/blocks/hero_featurette_fruitful/view.php and modify it any way you want.
For the less file, you can't override it. You have 2 options. First, check if that variable is not one that can be set from the dashboard theme customization tool.
The second option is to simply modify the file directly and not worry about it.
That package hasn't been updated in years, it is totally abandoned and the dev hasn't been around for ages. Chances are there will never be another update so you can just modify it directly.
For the less file, you can't override it. You have 2 options. First, check if that variable is not one that can be set from the dashboard theme customization tool.
The second option is to simply modify the file directly and not worry about it.
That package hasn't been updated in years, it is totally abandoned and the dev hasn't been around for ages. Chances are there will never be another update so you can just modify it directly.
yeah, that last thing you mention worries me, it's such a widespread and much used theme. Could the package be taken over by "the comunity" some way to make bug fixes? there are a lot of alignment issues in edit mode... Also, how is concrete5 itself doing? last update october 2019?
Unfortunately no. Even if abandoned, it is still copyrighted and not under MIT anything like that. And the dev is MIA so nothing much we can do. Eventually, it will stop working and it will be removed from the marketplace.
As for Concrete5 don't worry it is very actively developed. The core team is working hard on version 9.
As for Concrete5 don't worry it is very actively developed. The core team is working hard on version 9.
That last is good to hear.
About fruitful, i contacted the maker and we are mailing to look into a way to get help to update it! Good that you mention 9, will have to test it there too then ;)
About fruitful, i contacted the maker and we are mailing to look into a way to get help to update it! Good that you mention 9, will have to test it there too then ;)