how do i solve?
I don’t understand what the problem is. The promotions are showing as expected, aren’t they?
no, because I don’t see anything
https://www.granshoppingmongolfiera.it/sitoprova/negozi/categorie/cura-della-presona/bottega-verde
Ok, maybe you store the URI and it should be
filterBy('negozio', $page->uri())
instead of uid(). If not, check what is stored in the negozio field in the content files.
Ok, it stores the URL (why ever), then you have to use the URL to filter.
$eventi = $pages->find('promozioni')->children()->filterBy('negozio', $page->url())->map(function($page)
this?
it works thanks a lot
