跳转到主要内容
好极了 提交于 5 September 2013
我创建一个新的内容类型的话,比如机器名为game,还添加了“开发公司”,“运营公司”等几个字段。 请问我如何为该内容类型做出一个与默认主题不同的首页,列表页和内容页呢?类似于做个中国式的专题
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群分享  
订阅