跳转到主要内容
dororo80 提交于 17 February 2013

完全是按照panels3 的官方教程做的。http://drupal.org/node/206792 用panels建立一个两栏的首页面

但是结果却是这个样子。上图所示。

跟教程的结果完全不一样。

左边的边栏为什么会出现呢?

上网问了一圈,结果说是要在blocks里面把左边栏的configuration改成只在特定页面显示,排除front页面。。。

这样就可以不显示了。

但是如果我要在创建新的布局的页面,就要在blocks里面加入排除那个页面。是这样子么?如果新创建的布局页面很多,也要一个个排除么?

对于创建panels page 的说明也很清楚,是创建一个客户自定义的页面。这个页面还要排除系统旧有的blocks?太不人性化了吧?有谁能说明一下。

多谢。

 

标签
盛夏光年 提交于 9 February 2013

大神们。我不小心把site设置成site under maintenance了。不知道如何恢复。enter完我的localhost 地址后就出现如图所示的提示。哪位大神指点一下怎么恢复啊?

toto多背一公斤 提交于 9 February 2013

原文:Drupal SimpleTest coding standards http://drupal.org/node/325974 编写测试代码时,您应遵守这些命名约定的。

命名约定

Drupal 8 namespace Drupal\$module\Tests; use Drupal\simpletest\[Web|Unit|DrupalUnit]TestBase; Foo[Unit]Test extends [Web|Unit|DrupalUnit]TestBase Drupal的6/7 Foo[Unit]Test extends [Web|Unit]TestCase 文件名称  

Miwa 提交于 8 February 2013

-at least 5+ years proven programming experience in OOlanguage -at least 3+ years proven experience with MySQL -at least 5+ years experience with HTML, CSS and Javascript -at least 5+ years experience with javascript frameworks like JQuery -experience with bug tracking systems -experience with MVC models -at least 1+year experience with magento -Proficient Magento architecture, with the capacity of the secondary development -experience with firebug based HTML / CSS development -basic knowledge of Linux, Ubuntu / Debian preferred

板块
标签
Miwa 提交于 8 February 2013

1、 Good spoken and written English.

2、5+years of in-depth drupal development

3、3+years of in-detpth drupal 6 development

4、drupal 7 experience is prefeffed

5、oversea experience is prefeffed.

 

if you have interested is this position,pls contact me.

Miwa.Chen

hrchina@wogertrading.com   +86 574 82815811  15824533574(Ningbo No.)

location :Xuhui Shanghai

标签
zheojian 提交于 2 February 2013

原文链接: Writing secure code https://drupal.org/writing-secure-code

 

想了解安全问题吗?请关注security team

无论你是在写一个PHP代码片段还是一个完整的模块,重要的是确保你的代码安全。

对输出使用check函数,以防止跨站点脚本攻击。

用户提交的任何一个片段的内容都不能原样放到HTML中。

木棉 提交于 1 February 2013

原文链接:http://drupal.org/node/750148

 

安全公告例如SA-CONTRIB-2010-027SA-CONTRIB-2010-030指出用户通过正则表达式使用/e匹配PHP代码的风险。

转义字符串可能导致任何代码执行漏洞-这可能危害你的Drupal站点。

由于这个原因,/e应该避免被使用,通常用preg_replace_callback()匹配生成替换字符串避免将用户输入当做php代码执行的风险。

订阅