Jozef Chocholáček wrote: > [quote]Well, you have access to the whole page content in the template > rendering the HTML header, so I think that should give you all you need to > render the OG tags.[/quote] > > Yes, I can find out, that there is [i]my-module:components/productDetail[/i] > component somewhere in the main area of my page, but the actual product is > not defined there - it is loaded from elsewhere (e.g. from some REST service) > according to the productID from the request.
I think you could create your own page model class that loads the produc, and get the product data from that model class for both the header template and the component elsewhere on the page. Nils. ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------