跳转到主要内容
HaiKe 提交于 5 September 2013
structure_customize.module文件 function structure_customize_menu() { // index $items['admin/cmain'] = array( 'title' => 'Main', 'description' => 'Background structure custom modules', 'page callback' => 'structure_customize_cmain', 'access arguments' => array('access content'), 'access callback' => TRUE, 'type' => MENU_CALLBACK, 'file' => 'structure_customize.admin.inc', ); return $items; } /** * Override hook_theme */ function structure_customize_theme() { $themes['structure_customize_cmain_template'] = array( 'arguments' => a
Drupal8 Alpha3 发布

Drupal8 Alpha3 在美国当地时间9月4日下午2:00发布了。

该版本是Drupal官方发布的第二个Drupal8版本,上一个Drupal8版本是Drupal8 Alpha2,发布于6月24日,已经过去2个月零20天了。

这一版本对Drupal8 Alpha2 进行了众多问题的修复,详细参见官网的发布说明(Release notes):https://drupal.org/node/2081595

下载地址http://ftp.drupal.org/files/projects/drupal-8.0-alpha3.tar.gz

中文安装教程http://drupalchina.cn/node/1929

learningxm 提交于 3 September 2013

http://drupal.stackexchange.com/questions/21459/how-to-show-terms-in-a-views-in-its-hierarchical-structure

 

先做个标记,有时间的时候翻译一下

 

 

You can get more flexible configuration with Views Field View.

This is the setup I needed for a taxonomy tree of three levels where I needed grouping by top level term.

learningxm 提交于 3 September 2013

Drupal主题制作指南(v6)

http://wenku.baidu.com/view/01877eff04a1b0717fd5dd68.html

主题制作之主题的.info文件

http://wenku.baidu.com/view/f19396b765ce0508763213ef.html   Drupal主题制作指南 http://www.360doc.com/content/11/1209/08/7312479_170825841.shtml   drupal OG首页主题化 http://www.thinkindrupal.com/node/537   http://drupal2u.com/  都是免费的drupal模板   http://www.deonixdesign.com/index.php?action=browser&catid=24   http://www.templatemonster.com/category/drupal-templates/  收费模板   有些是付费的,不过可以参考   drupal群分享  
东方龙马 提交于 3 September 2013

问题

打开drupal的css和javascript压缩后,主题的背景图片就没了,如何解决?

CSS这样写的:

body {
  background: url("../images/login-bg.png") repeat scroll 0 0 transparent;
}

回答

CSS文件改成utf-8无BOM编码格式。

Taxonomy upgrade extras
beyond521 提交于 2 September 2013

是这样的,现在这个站点作为实验用,于是all目录下面云集了我想用到的所有模块/主题模版和css,如果我以后正式开发站点,这些模块和主题可以直接复制到新站的all目录下以达到快速建站的目的吗?

 

还有,views模块里面建立的页面和区块可不可以导出为一个文件,回头开发新站的时候直接导入这个文件,减少工作量。

订阅