This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

adrian.goldner458
adrian.goldner458

Hello,

Is ist possible to change the layout of a page at runtime? I'd like to change the Layout file depending how the route is requested. I've tried to manage it in the onInit() Method in the code Section of the Page but had no luck. I couldn't find a possible solution in the Docs or in OctoberCms' source code either. Any Ideas?

Thanks!

Lukasz
Lukasz

Did you find a solution?

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.