-
I mean with routes, like Or, is it possible to achieve it without messing with PHP? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello there, There's a way to do this without writing any PHP. I'm going to do this with Virgula theme, because it's very simple and so easier to see how the solution is working - but you could do the same thing with any theme. The steps are:
This works because of two features:
Hope that helps! This gives me the idea that being able to display custom Twig templates would be a useful feature. I might look into implementing this so that, in future, you won't need to create the dummy page to make it work. |
Beta Was this translation helpful? Give feedback.
Hello there,
There's a way to do this without writing any PHP. I'm going to do this with Virgula theme, because it's very simple and so easier to see how the solution is working - but you could do the same thing with any theme. The steps are: