Drupal Core templates

August 16th, 2010 by 26z
Default templates:
These are the default template (.tpl.php) files provided by core. Documentation on the variables and purpose of these templates are located inside the templates. There is a default set of variables available to all templates.

The templates handled by PHPTemplate in 5.x were also moved. PHPTemplate no longer handles template files.

In order to override these templates, all you need to do is copy them into your theme folder and clear the theme registry.

Aggregator
“modules/aggregator/…”

Block
“modules/system/…”

“modules/block/…”

Book
“modules/book/…”

Comment
“modules/comment/…”

Forum
“modules/forum/…”

Node
“modules/node/…”

Poll
“modules/poll/…”

Profile
“modules/profile/…”

Search
“modules/search/…”

User
“modules/user/…”

System
“modules/system/…”

Tags: Posted in blog | No Comments »

欢乐谷

May 27th, 2010 by 26z


Read the rest of this entry »

Posted in blog | No Comments »

Drupal Spam 模块

March 28th, 2010 by 26z

网站上垃圾留言防不胜防,只好安装spam模块。

CAPTCHA:
不少人在使用的模块,但个人感觉每次必须输入验证码有碍用户体验,算不上理想的模块。

Mollom:
Drupal官方开发人员发布的模块,支持wordpress、drupal,在用户发布评论的同时进行验证,如果不确信是否为垃圾留言,就提示用户输入验证码。但是在使用的过程中发现,对明显不是垃圾评论的评论,mollom也出现验证码,并且在开启了ajax_comments时不太好用。

另外还有Spam、antispam两个模块可供选择。

Posted in blog | No Comments »

Drupal – HTTP Server Request Fails

March 1st, 2010 by 26z

IDSOO转移到lighttpd后,在Drupal状态报告里看到“HTTP Server Request Fails”,即“HTTP 请求状态 失败”,后经在drupal.org查找,发现在setting.php中增加以下代码即可解决问题:

$conf['drupal_http_request_fails'] = FALSE;

Posted in blog | No Comments »

Ecshop会员整合

February 28th, 2010 by 26z

ECSHOP后台会员整合,只允许整合一个应用。
如果想整合多个应用,就需要先和UCenter整合,之后再通过UCenter去整合更多的应用。

整合之后工作流程:

1.首先在ini.php文件中使用 ini_user()函数来判断整合插件名称,此函数定义在lib_common.php文件中。
并生成相应的插件对象,方便以后调用。

$user = new $ini_user();
Read the rest of this entry »

Posted in blog | No Comments »

Page 1 of 151234510...Last »