English 中文(简体)
Drupal主题停止在移动站点中使用面板。
原标题:Drupal theming stop using panels for mobile site

我正在开发一个由移动模块驱动的Drupal移动站点。非移动主题使用面板,而移动主题则不是。我需要在移动主题中关闭面板,因为面板会出现并破坏其布局。我该如何做到这一点,或者是否有更好的方法来实现一个单独的移动站点?我们正在运行的是Drupal 6。

提前感谢!

最佳回答

您可以尝试在template_preprocess_page()函数中进行一些黑客攻击。我从未尝试过您正在做的事情,因为我不使用panels模块。

panels 模块会将哪些内容添加到您的内容中?也许您可以用 CSS 实现吗?

希望这能帮到你。

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签