Vra

I want to display some magnolia responsive page in a mobile app through a webview. In this case I want to hide some section (branding and footer). Is it possible to hide some of these section by passing some parameter to the http url?

Was dit nuttig?

Oplossing

To hide some sections, you can configure variation of the template rendering that section for mobile channel and have the template render nothing for mobile channel.

To force mobile channel on desktop you can append ?mgnlChannel=smartphone to the url.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top