Skip to content

Problem upgrading an old bolt 3.7 #3552

Closed Answered by levincem
levincem asked this question in Q&A
Discussion options

You must be logged in to vote

ok, it was the routing part the issue.

now with this

oldpages: path: /page/{slugOrId} defaults: _controller: Bolt\Controller\Frontend\TemplateController::template templateName: /pages/default.twig

and this in the template

{% setcontent pages = 'articles' where { categories: 'droit-immobilier' } %}

no more errors, and results found !

Not sure to understand why it was not working before, as my routing config was really.. close ? identical ? and i had tried the slug instead of the name before.. but.. Anyway, happy

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@levincem
Comment options

@bobvandevijver
Comment options

@levincem
Comment options

@levincem
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by levincem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants