Calling multiple published outputs in different layouts
Hi..I'm trying to integrate 2 different responsive HTML5 outputs in our application as per the application theme selected by user, i.e. dark and light in my case.
I've created and published 2 different outputs for dark and light theme in RH2017. Currently only single output has been implemented and calls are made by using rhmapid.
Is there any way to conditionally call different published outputs as per the theme selected by appending the custom parameters to the calling URL, for ex. appending url with something like &theme=dark/light. Or anybody knows any other ways to do it.
Also do I need to maintain the separate files for both the outputs always, isn't there a way to use the same files for both the themes just by using separate CSS files?
