Drupal

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(图集)
 
(未显示8个用户的93个中间版本)
第1行: 第1行:
[[Image:Drupal.org.png|right]]
+
{{SeeWikipedia}}
 +
[[Image:Drupal-90x90.png|right]]
 +
Drupal 内容管理系统
  
 +
[[Image:Snoopy-Nap-680x100.jpg|幽默是一股拯救的力量。——马克·吐温|right]]
 
==简介==
 
==简介==
 
Drupal是一个强大的软件,它可以让个人或社区使用者很容易地发表、管理并组织一个网站里大量且多样的内容。已经有许多个人和组织采用Drupal来建立各种不同的网站,包括:
 
Drupal是一个强大的软件,它可以让个人或社区使用者很容易地发表、管理并组织一个网站里大量且多样的内容。已经有许多个人和组织采用Drupal来建立各种不同的网站,包括:
第11行: 第14行:
 
*资源分类目录
 
*资源分类目录
  
==基本特点==
+
==新闻==
 +
*[https://www.drupal.org/association/blog/happy-20th-birthday-drupal Happy 20th Birthday, Drupal] (14 January 2021)
 +
 
 +
==特点==
 
*内容管理系统
 
*内容管理系统
 
*blog
 
*blog
第20行: 第26行:
 
*文件的上传与下载
 
*文件的上传与下载
  
==在线演示==
+
==版本==
http://demo.huihoo.com/drupal/
+
* [https://api.drupal.org/api/drupal/9.0.x Drupal API reference]
  管理员: admin/admin
+
* [https://www.lullabot.com/articles/how-and-when-upgrade-drupal-7-drupal-9 How and When to Upgrade from Drupal 7 to Drupal 9]
 +
 
 +
===9.x===
 +
*[https://www.drupal.org/about/9 Drupal 9]
 +
 
 +
===8.x===
 +
*[https://dri.es/the-future-is-a-restful-drupal The future is a RESTful Drupal]
 +
*[http://symfony.com/blog/symfony2-meets-drupal-8 Drupal uses the [[Symfony]] Components as of version 8.]
 +
 
 +
===7.x===
 +
 
 +
==指南==
 +
一步安装
 +
  $ composer --no-interaction create-project drupal/recommended-project:^8.8 my-project
 +
 
 +
一步升级
 +
$ composer update drupal/core-recommended --with-all-dependencies
  
==安装指南==
 
 
1. 下载 drupal
 
1. 下载 drupal
 
  http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.2.tar.gz  
 
  http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.2.tar.gz  
第61行: 第82行:
 
  http://localhost/drupal/?q=user/register   
 
  http://localhost/drupal/?q=user/register   
 
   
 
   
==相关链接==
+
安装Modules
*http://drupal.org/
+
*Installing Drupal http://drupal.org/node/260
+
  
==中文Drupal站点==
+
Module 安装很简单,基本是按照以下步骤:
*http://www.drupalchina.org/
+
1. Copy the scheduler.module to the Drupal modules/ directory.
*非常大米 http://www.verydummy.com
+
2. Run the scheduler.mysql file to create the necessary database table.
*Web日志 http://zhangshg.luanhe.com
+
3. Activate the module on the admin/modules page
*Phoenix's Blog http://phoenix.longlong.cn/drupal
+
*kzeng's stupid words http://www.kzeng.info
+
*贝贝咖啡同学会 http://www.beibei.biz
+
*FLORD.NET http://www.flord.net/drupal
+
*哦哦理财 http://www.oomoney.com
+
*纯粹的灵魂 http://www.purelife.cn
+
*偶想爱你 http://www.5321.com.cn
+
*桃花源 http://www.aboil.org
+
*Phoenix's Knowledge Base http://www.phoenix-scene.info
+
*贫富差距网 http://china-str.com/
+
*德国中欧文化交流网 http://http://www.zentaocn.com/dp/
+
*外国虚拟主机空间选择网 http://webhosting-cheap.info/
+
*北京高考美术培训中心 http://artnew.be/
+
*爱游一游 http://www.iu1u.com
+
*Sam's Great Web http://sam.greatweb.cn
+
*何氏笔录 http://holz.byethost15.com
+
*流金岁月 http://www.hexic.cn
+
*新丝路译站 http://21-silkroad.com
+
*汪炳吉的个人网站 http://wbj123.com/
+
*悟灭心非尽 http://www.kylinx.net
+
  
==精彩图集==
+
安装Themes
[[Image:Drupal01.png]] [http://www.laomiao.net/ 活在人间 | 老苗的行走日记]
+
 
 +
Themes的安装很简单,将其下载解压后拷贝到 /var/www/drupal/themes 目录下,然后通过管理控制面板选择并激活它就可以啦。
 +
 
 +
5. 重置密码
 +
php scripts/password-hash.sh ‘huihoo’ > new_pwd.txt
 +
update users_field_data set pass="$S$EAaUnoWIJFCJyK6WwPkugNj5BJbR69W75lNk2rz8EOBmkj3S9r0g" where name = "admin";
 +
 
 +
==Drupal Modules==
 +
*AdSense - http://drupal.org/project/adsense
 +
*Bookmarks
 +
*Single Sign-On
 +
*Upload Image
 +
*Video(视频)
 +
*Ubercart(电子商务) - http://drupal.org/project/ubercart
 +
 
 +
使用开源软件设计、开发和部署协作型 Web 站点 http://www.ibm.com/developerworks/cn/web/osource/implement.html
 +
 
 +
==Drupal Themes==
 +
*[[drupal_meta|Meta Theme]]
 +
 
 +
==Drupal Hacks==
 +
简洁链接
 +
此选项将使得 Drupal 使用简洁链接(即 URL 中没有 ?q=。) [http://drupal.org/node/15365 简洁链接手册]
 +
添加Google Adsense
 +
* Log in as the site administrator
 +
* Go to Administer -> Blocks
 +
* Add a block
 +
* Give the block a descriptive title, e.g. "Google Ads"
 +
* Paste the AdSense code from your account. Make sure that you paste the entire code as it is and not miss any lines.
 +
* Make sure that the type is PHP. If you do not see a type PHP, then add it in the Input Format.
 +
* Give the block a description, e.g. "Google Ads"
 +
* Click on "Save"
 +
Now you have created the block, you need to enable it and position it.
 +
* Click on the Enabled checkbox
 +
* Select a weight for the block
 +
* Select if it is to be displayed in the right or left column.
 +
 
 +
Do not click "Save" yet. Go to the next step.
 +
 
 +
更多细节: http://baheyeldin.com/drupal/using-google-adsense-with-drupal.html
 +
 
 +
==应用集成==
 +
===[[CiviCRM]]===
 +
*[http://d45.demo.civicrm.org/ CiviCRM 4.5 Demo on Drupal]
 +
 
 +
===Nuxeo===
 +
整合 [[Nuxeo]] 提供企业内容管理服务
 +
 
 +
===phpBB===
 +
*http://drupal.org/project/phpbb
 +
*http://drupal.org/project/phpbb2drupal
 +
*Drupal and phpBB integration test site:  http://kepp.net/drupal/
 +
===SMFforum===
 +
http://drupal.org/project/smfforum
 +
===vBulletin forum===
 +
http://drupal.org/project/drupalvb
 +
===FUDforum===
 +
http://drupal.org/project/fudforum
 +
===Subversion viewer===
 +
http://drupal.org/project/svn
 +
===Memcache===
 +
http://drupal.org/project/memcache
 +
===MyBlogLog===
 +
http://drupal.org/project/mybloglog
 +
===OpenID===
 +
http://drupal.org/project/openid
 +
===Sxip Identity===
 +
http://drupal.org/project/sxip
 +
===Phorum===
 +
http://www.phorum.org/
 +
===Upcoming.org===
 +
http://drupal.org/project/upcomingorg
 +
===WebCalendar===
 +
http://drupal.org/project/webcal
 +
===XML Sitemap===
 +
http://drupal.org/project/gsitemap
 +
 
 +
更多 http://drupal.org/project/Modules/category/52
 +
 
 +
==项目==
 +
*[https://github.com/geerlingguy/drupal-vm Drupal VM]
 +
*[https://github.com/drush-ops/drush Drush]
 +
 
 +
==分支/分发==
 +
[https://www.drupal.org/docs/drupal-distributions Drupal distributions]
 +
*[https://www.drupal.org/project/varbase Varbase] #1 most downloaded drupal distribution in the world. [https://github.com/Vardot at GitHub]
 +
*[https://www.drupal.org/project/social Open Social] 筹集了125万欧元的投资 [https://github.com/goalgorilla/open_social Open Social @ GitHub]
 +
*[https://www.drupal.org/project/farm farmOS] 开源农业管理
 +
*[https://backdropcms.org Backdrop CMS]
 +
 
 +
==解决方案==
 +
===电子商务===
 +
[https://www.drupal.org/industries/ecommerce Drupal for ecommerce]
 +
*[[Drupal Commerce]]
 +
*[https://www.drupal.org/project/commerce_kickstart Commerce Kickstart] [https://www.vardot.com/en-us/ideas/vardot-technology/comparing-drupal-multi-site-solution-architectures Comparing Drupal Multi Site Solution Architectures]
 +
 
 +
===教育LMS===
 +
[https://www.drupal.org/industries/education Drupal for Education]
 +
*[https://www.drupal.org/project/opigno_lms Opigno LMS]
 +
*[https://www.drupal.org/project/openedu OpenEDU: Powered by Acquia Lightning]
 +
 
 +
==图集==
 +
<gallery>
 +
image:Gartner-Magic-Quadrant-for-Web-Content-Management-2019.jpeg|Gartner 2019
 +
Image:spreadfirefox_com.png|Spread Firefox
 +
Image:evolt_org.jpg|http://evolt.org
 +
Image:gallery.jpg|http://gallery.menalto.com
 +
image:Symfony-components-Drupal8.png|Symfony2框架
 +
image:3rd-party-components-Drupal8.png|Drupal8框架
 +
image:drupal8-web-services-rest-json-grapql.jpg|Drupal API
 +
image:drupal7-drupal8-drupal9.png|升级
 +
</gallery>
 +
 
 +
==英文站点==
 +
*[http://www.digitaldollhouse.com/ Digital Dollhouse]: Design Your Own Virtual Dream House! [http://drupal.org/node/430222 case study]  
 +
*http://drupalsites.net/
 +
*http://www.ubuntu.com/
 +
*http://www.spreadfirefox.com
 +
*http://kerneltrap.org/
 +
*http://evolt.org/
 +
*http://www.howtoforge.com-Integrated vBulletin forum
 +
*http://www.twit.tv/
 +
*http://rubybaboon.com/
 +
*http://www.ourmedia.org
 +
*http://gallery.menalto.com/
 +
*http://www.songbirdnest.com/
 +
*http://upcoming.org/
 +
*http://eventful.com/
 +
*http://www.volunteermatch.org/
 +
*[http://community.bonitasoft.com/ Bonitasoft Community | The BPM Community]
 +
 
 +
==中文站点==
 +
*[http://www.thinkindrupal.com Think in Drupal] 介绍和研究 Drupal 技术,Drupal 中文原创教程
 +
*[http://www.verydummy.com 非常大米]
 +
*[http://drupalsh.cn Drupal 建站者资源网站]
 +
*[http://drupalunion.com Drupal 博客联盟]
 +
*[http://zhangshg.luanhe.com Web日志]
 +
*[http://www.beibei.biz 贝贝咖啡同学会]
 +
*[http://www.oomoney.com 哦哦理财]
 +
*[http://www.purelife.cn 纯粹的灵魂]
 +
*[http://www.5321.com.cn 偶想爱你]
 +
*[http://www.phoenix-scene.info Phoenix's Knowledge Base]
 +
*[http://china-str.com/ 贫富差距网]
 +
*[http://http://www.zentaocn.com/dp/ 德国中欧文化交流网]
 +
*[http://webhosting-cheap.info/ 外国虚拟主机空间选择网]
 +
*[http://artnew.be/ 北京高考美术培训中心]
 +
*[http://www.iu1u.com 爱游一游]
 +
*[http://sam.greatweb.cn Sam's Great Web]
 +
*[http://holz.byethost15.com 何氏笔录]
 +
*[http://www.hexic.cn 流金岁月]
 +
*[http://21-silkroad.com 新丝路译站]
 +
*[http://wbj123.com/ 汪炳吉的个人网站]
 +
*[http://www.kylinx.net 悟灭心非尽]
 +
*[http://zh.LinuxVirtualServer.org/ LVS中文站点]
 +
*[http://www.inspring.cn/ 春晓Flex2应用网]
 +
*[http://top-host-rank.com/ 国外虚拟主机评测]
 +
*[http://www.mychinatour.cn/ 中国旅游英文网] 
 +
*[http://web.srv.cn/ 萨维网]
 +
 
 +
==链接==
 +
*http://drupal.org/
 +
*http://drupal.org/project/
 +
*http://drupal.org/project/Modules
 +
*http://drupal.org/project/Themes
 +
*[http://drupal.org/node/260 Installing Drupal]
 +
*[http://www.infoq.com/cn/news/2014/07/drupal-ios-android-sdk Drupal实现与原生iOS和Android应用程序的集成]
  
 
[[category:CMS]]
 
[[category:CMS]]
 +
[[category:drupal]]
 +
[[category:PHP]]
 +
[[category:symfony]]
 +
[[category:huihoo]]

2022年4月1日 (五) 09:03的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Drupal Thanks, Wikipedia.
Drupal-90x90.png

Drupal 内容管理系统

幽默是一股拯救的力量。——马克·吐温

目录

[编辑] 简介

Drupal是一个强大的软件,它可以让个人或社区使用者很容易地发表、管理并组织一个网站里大量且多样的内容。已经有许多个人和组织采用Drupal来建立各种不同的网站,包括:

  • 社群入口网站和讨论区
  • 企业网站/企业内部入口网站
  • 个人网站
  • 爱好网站
  • 电子商务应用
  • 资源分类目录

[编辑] 新闻

[编辑] 特点

  • 内容管理系统
  • blog
  • 共同写作环境
  • 讨论区
  • 电子报
  • 相簿
  • 文件的上传与下载

[编辑] 版本

[编辑] 9.x

[编辑] 8.x

[编辑] 7.x

[编辑] 指南

一步安装

$ composer --no-interaction create-project drupal/recommended-project:^8.8 my-project

一步升级

$ composer update drupal/core-recommended --with-all-dependencies

1. 下载 drupal

http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.2.tar.gz 
tar -zxvf drupal-4.7.2.tar.gz
mv drupal-x.x.x/*  /var/www

2. 创建数据库

mysqladmin -u root -p create drupal
mysql -u root -p
mysql>GRANT ALL PRIVILEGES ON drupal.* TO drupal@localhost IDENTIFIED BY 'drupal';
mysql>flush privileges;

3. 导入数据

mysql -u drupal -p drupal < database/database.4.1.mysql

因为 database.4.1.mysql 文件 要求使用DEFAULT CHARACTER SET utf8, 而我使用的是 mysql 4.0 所以

mysql -u drupal -p drupal < database/database.4.0.mysql // 没有强制使用 utf8

这里针对mysql 4.x 的版本, 所以需要设置 创建drupal数据库时指定默认字符集为 utf8

mysql>status
Client characterset:    latin1
Server characterset:    latin1

includes/database.mysql.inc

  /* On MySQL 4.1 and later, force UTF-8 */
 if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) {
   mysql_query('SET NAMES "utf8"', $connection);
 }
 return $connection;
}

4. 连接drupal 修改sites/default/settings.php

$db_url = "mysql://drupal:drupal@localhost/drupal";

然后创建管理员帐号

http://localhost/drupal/?q=user/register  

安装Modules

Module 安装很简单,基本是按照以下步骤:

1. Copy the scheduler.module to the Drupal modules/ directory.
2. Run the scheduler.mysql file to create the necessary database table.
3. Activate the module on the admin/modules page

安装Themes

Themes的安装很简单,将其下载解压后拷贝到 /var/www/drupal/themes 目录下,然后通过管理控制面板选择并激活它就可以啦。

5. 重置密码

php scripts/password-hash.sh ‘huihoo’ > new_pwd.txt
update users_field_data set pass="$S$EAaUnoWIJFCJyK6WwPkugNj5BJbR69W75lNk2rz8EOBmkj3S9r0g" where name = "admin";

[编辑] Drupal Modules

使用开源软件设计、开发和部署协作型 Web 站点 http://www.ibm.com/developerworks/cn/web/osource/implement.html

[编辑] Drupal Themes

[编辑] Drupal Hacks

简洁链接

此选项将使得 Drupal 使用简洁链接(即 URL 中没有 ?q=。) 简洁链接手册

添加Google Adsense

  • Log in as the site administrator
  • Go to Administer -> Blocks
  • Add a block
  • Give the block a descriptive title, e.g. "Google Ads"
  • Paste the AdSense code from your account. Make sure that you paste the entire code as it is and not miss any lines.
  • Make sure that the type is PHP. If you do not see a type PHP, then add it in the Input Format.
  • Give the block a description, e.g. "Google Ads"
  • Click on "Save"

Now you have created the block, you need to enable it and position it.

  • Click on the Enabled checkbox
  • Select a weight for the block
  • Select if it is to be displayed in the right or left column.

Do not click "Save" yet. Go to the next step.

更多细节: http://baheyeldin.com/drupal/using-google-adsense-with-drupal.html

[编辑] 应用集成

[编辑] CiviCRM

[编辑] Nuxeo

整合 Nuxeo 提供企业内容管理服务

[编辑] phpBB

[编辑] SMFforum

http://drupal.org/project/smfforum

[编辑] vBulletin forum

http://drupal.org/project/drupalvb

[编辑] FUDforum

http://drupal.org/project/fudforum

[编辑] Subversion viewer

http://drupal.org/project/svn

[编辑] Memcache

http://drupal.org/project/memcache

[编辑] MyBlogLog

http://drupal.org/project/mybloglog

[编辑] OpenID

http://drupal.org/project/openid

[编辑] Sxip Identity

http://drupal.org/project/sxip

[编辑] Phorum

http://www.phorum.org/

[编辑] Upcoming.org

http://drupal.org/project/upcomingorg

[编辑] WebCalendar

http://drupal.org/project/webcal

[编辑] XML Sitemap

http://drupal.org/project/gsitemap

更多 http://drupal.org/project/Modules/category/52

[编辑] 项目

[编辑] 分支/分发

Drupal distributions

[编辑] 解决方案

[编辑] 电子商务

Drupal for ecommerce

[编辑] 教育LMS

Drupal for Education

[编辑] 图集

[编辑] 英文站点

[编辑] 中文站点

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱