Drupal
文章平均质量分 75
bobo068
这个作者很懒,什么都没留下…
展开
-
Drupal theme 自定义region实现
1.建立template.php模板文件2.template.php中增加如下函数蓝色pushbutton是模板名,绿色部分为drupal默认region,红色是自定义的,function pushbutton_regions() { return array( right => t(right sidebar), //tpl中对应$sidebar_right le原创 2007-07-06 12:13:00 · 1093 阅读 · 0 评论 -
增加一个自己的drupal Site configuration
今天介绍一个简单的drupal站点配置开发。1.在menu中声明一个网站配置:function events_menu($may_cache) { global $user; $items = array(); if ($may_cache) { $items[] = array(path => admin/settings/events, title =原创 2007-08-03 14:51:00 · 713 阅读 · 0 评论