Hi
Thanks for the great theme..
I have a request from my client to disable the responsive grid based on a query string or cookie
Actually he wants to provide a link "View Full Site" in mobile version, and when this link is clicked the normal non responsive site should be loaded
So I was thinking of changing $theme->settings['responsive'] to 0 in preprocess_html /sites/all/themes/mytheme/preprocess/preprocess-html.inc, but that does not work

function themename_alpha_preprocess_html(&$vars) {
    $theme = alpha_get_theme();
    $theme->settings['responsive']=0;
}

The code gets executed. But I notice that the the code from /themes/omega/alpha/template.php runs before my preprocess_html
So my code does not change anything
Is there a way to do this. Is there a way to run this code before anything else?
Let me know if this is not clear
Kind regards
Ajjaykummar

Comments

iajay’s picture

Or is it better to create a delta and turn off responsive in that and somehow set that delta using context...
What is the code for setting delta (incase doing it with context module is not possible)

iajay’s picture

Any replies? Any suggestions?

iajay’s picture

Issue summary: View changes

minor changes