I'm encountering a new pb (in fact, 2, but let's see the first one).
i might have some difficulties to explain, even in french lol
Contao is using its own search engine,which works pretty well.
when i'm looking for a product (which is in merconis) in the frontend Contao search, it gives me some results.
but on some links, it diplays me the "wrong" page,
to understand i'll give you the links :
http://www.neut.fr, search for "cortina", in the results, click on "CORTINA VELCRO ®Podartis - Pied diabétique" (first link i think)
you'll see the product view, because i used a hook to change the layout "on the fly"
Code: Alles auswählen
public function mygetPageLayout(\PageModel $objPage, \LayoutModel &$objLayout, \PageRegular $objPageRegular)
{
$product = \Input::get('product');
if(isset($product) && !empty($product))
{
$objPage->layout = 11;
$objLayout = $this->getPageLayout($objPage);
}
}
it shows: http://www.neut.fr/fr/pied-diabetique/p ... artis.html
but it should be : http://www.neut.fr/fr/autour-du-pied/pr ... l#p_1049-0
the first link is a content page mixed to a product page (but has im changing the layout, you can't see the content inserted in articles)
any clue on what is happening ?
thanks