I’m trying to change the search results page template programmatically using the bricks/active_templates filter. When using it, I can get it to change the header and footer properly, but changing the $active_templates[‘content’] variable doesn’t have any affect on which template is loaded.
Hey Yusef,
thanks for your report.
You have to set $active_templates['search']
in this case (see article in the academy).
Best,
André