简体   繁体   English

Drupal主题停止使用移动网站面板

[英]Drupal theming stop using panels for mobile site

I'm working on a Drupal mobile site which is powered by the Mobile module. 我正在一个由Mobile模块提供动力的Drupal移动网站上工作。 The non-mobile theme uses panels, and the mobile theme does not. 非移动主题使用面板,而移动主题则不使用面板。 I need to turn off panels for the mobile theme as the panels appear and ruin its layout. 当面板出现并破坏其布局时,我需要关闭移动主题面板。 How can I do this, or is there a better way to achieve a separate mobile site in general? 我该怎么做,或者总体上有更好的方法来实现单独的移动网站? We're running Drupal 6. 我们正在运行Drupal 6。

Thanks in advance! 提前致谢!

You might be able to do some hacking in the template_preprocess_page() function. 您可能可以在template_preprocess_page()函数中进行一些修改。 I've never tried to do what you're doing, as I don't use the panels module. 我从未尝试做您正在做的事情,因为我不使用面板模块。

What kind of stuff does the panels module put into your content? 面板模块将哪些内容放入您的内容中? Maybe you can do it with CSS? 也许您可以使用CSS做到这一点?

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM