Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How to properly load js files in the footer?
· 11 years ago
Check for example Antimatter's templates/partials/base.html.twig. It defines a bottom block for js by calling {{ assets.js('bottom') }} You can add assets in that block for example by calling {% do as
-
How to properly load js files in the footer?
· 11 years ago
Hi, I have been looking into documentation and it seems a bit confusing, especially part with assets.add vs assets.addJS, and additional options (which do not work for me). How can I load some script
-
Correct way to modify additionnal theme?
· 11 years ago
Thanks you very much for your answer: I feel a lot better with being sure that there is no method for such case... What about revisionning locally the changes made to learn2 from original theme? Doing
-
Correct way to modify additionnal theme?
· 11 years ago
Really my best advice is to run two sites like we do here with getgrav.org and learn.getgrav.org Either that or just accept the fact that your not going to be able to have them both inherit. Choose o
-
Correct way to modify additionnal theme?
· 11 years ago
Thank you for replying to me Any method to modify learn2as an additionnal theme to antimatter for some pages AND be able to update learn2 later in a clean way?
-
Correct way to modify additionnal theme?
· 11 years ago
You can support multiple levels of theme inheritance, but yes, there is probably going to be some conflicts if they share the same filenames. Considering learn2 and antimatter are so different, I don
-
Correct way to modify additionnal theme?
· 11 years ago
For example, both themes antimatter and learn2 has a base.html.twig. So putting modifications for both in mytheme might create confusion no? ! ?
-
Correct way to modify additionnal theme?
· 11 years ago
Can't someone understand the question? @rhuster Please forgive me if my exposition is ambiguous. to make it more clear, here below: I have a web site with theme antimatter (working great!!). For some
-
Correct way to modify additionnal theme?
· 11 years ago
antimatter is not in the picture at all, just have learn2 installed and reference learn2.
-
Correct way to modify additionnal theme?
· 11 years ago
*Thank you very much for reply ☆ So, I can find a way to extend learn2 too* (thanks!!!) not sure I understand (sorry for that) how Below, I am describing what I understood: Supposition 1: I extend le