Drupal 是一套開放源碼的內容管理平台,擁有多種實用的功能,可以用來建置從個人網誌到大型網路社群等各種類型的網站,例如華納唱片、紐約觀察報、Fast Company、Popular Science、SonyBMG、富比士、哈佛大學等網站,或是個人部落格(Tim Berners-Lee)、播客網站(TWIT.tv)、線上社群(SpreadFireFox.com)。
Drupal 是一套開放源碼的內容管理平台,擁有多種實用的功能,可以用來建置從個人網誌到大型網路社群等各種類型的網站,例如華納唱片、紐約觀察報、Fast Company、Popular Science、SonyBMG、富比士、哈佛大學等網站,或是個人部落格(Tim Berners-Lee)、播客網站(TWIT.tv)、線上社群(SpreadFireFox.com)。
你是想要定義怎樣的
你是想要定義怎樣的結果呢?可以說說看,比較具體。
一般而言,只能調整設定,不然就額外安裝模組。
请大大看一下这个网
请大大看一下这个网站 上的显示样式
http://lend.com.cn/
需要前面是一个小图片,后面不只是显示一个描述.要加上这个节点的特殊信息,如地区信息: 价格信息等
找到一个方法可以通
找到一个方法可以通过search_item来控制,但控制的项目不是很灵活,各位还有没有更好的方法
function phptemplate_search_item($item, $type)
{
$output = '
';
$info = array();
if ($item['type']) {
//Don't output the node type
$info[] = $item['type'];
}
if ($item['user']) {
$info[] = $item['user'];
}
if ($item['date']) {
$info[] = format_date($item['date'], 'small');
}
if (is_array($item['extra'])) {
//Don't output the extra information about the node (comments, attachments)
//$info = array_merge($info, $item['extra']);
}
$output .= '
';
return $output;
}