Drupal

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(分发版)
(图集)
 
(未显示1个用户的18个中间版本)
第1行: 第1行:
 
{{SeeWikipedia}}
 
{{SeeWikipedia}}
 
[[Image:Drupal-90x90.png|right]]
 
[[Image:Drupal-90x90.png|right]]
Drupal内容管理系统
+
Drupal 内容管理系统
  
 
[[Image:Snoopy-Nap-680x100.jpg|幽默是一股拯救的力量。——马克·吐温|right]]
 
[[Image:Snoopy-Nap-680x100.jpg|幽默是一股拯救的力量。——马克·吐温|right]]
第15行: 第15行:
  
 
==新闻==
 
==新闻==
<rss>http://drupal.org/node/feed|short|date|max=8</rss>
+
*[https://www.drupal.org/association/blog/happy-20th-birthday-drupal Happy 20th Birthday, Drupal] (14 January 2021)
  
==基本特点==
+
==特点==
 
*内容管理系统
 
*内容管理系统
 
*blog
 
*blog
第27行: 第27行:
  
 
==版本==
 
==版本==
 +
* [https://api.drupal.org/api/drupal/9.0.x Drupal API reference]
 +
* [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===
 
===8.x===
 
*[https://dri.es/the-future-is-a-restful-drupal The future is a RESTful Drupal]
 
*[https://dri.es/the-future-is-a-restful-drupal The future is a RESTful Drupal]
第33行: 第39行:
 
===7.x===
 
===7.x===
  
==在线演示==
+
==指南==
  http://demo.huihoo.com/drupal/
+
一步安装
管理员: admin/admin
+
  $ composer --no-interaction create-project drupal/recommended-project:^8.8 my-project
  
==在线讨论==
+
一步升级
  Huihoo Drupal 讨论区: http://forum.huihoo.com/forumdisplay.php?fid=188
+
  $ 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  
第125行: 第130行:
  
 
更多细节: http://baheyeldin.com/drupal/using-google-adsense-with-drupal.html
 
更多细节: http://baheyeldin.com/drupal/using-google-adsense-with-drupal.html
 +
 
==应用集成==
 
==应用集成==
 
===[[CiviCRM]]===
 
===[[CiviCRM]]===
第163行: 第169行:
 
更多 http://drupal.org/project/Modules/category/52
 
更多 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/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/social Open Social] 筹集了125万欧元的投资 [https://github.com/goalgorilla/open_social Open Social @ GitHub]
 
*[https://www.drupal.org/project/farm farmOS] 开源农业管理
 
*[https://www.drupal.org/project/farm farmOS] 开源农业管理
 +
*[https://backdropcms.org Backdrop CMS]
  
==电子商务==
+
==解决方案==
*[https://drupalcommerce.org/ Drupal Commerce]
+
===电子商务===
 +
[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]
 
*[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==
+
===教育LMS===
 +
[https://www.drupal.org/industries/education Drupal for Education]
 
*[https://www.drupal.org/project/opigno_lms Opigno LMS]
 
*[https://www.drupal.org/project/opigno_lms Opigno LMS]
 +
*[https://www.drupal.org/project/openedu OpenEDU: Powered by Acquia Lightning]
  
==相关链接==
+
==图集==
*http://drupal.org/
+
<gallery>
*http://drupal.org/project/
+
image:Gartner-Magic-Quadrant-for-Web-Content-Management-2019.jpeg|Gartner 2019
*http://drupal.org/project/Modules
+
Image:spreadfirefox_com.png|Spread Firefox
*http://drupal.org/project/Themes
+
Image:evolt_org.jpg|http://evolt.org  
*[http://drupal.org/node/260 Installing Drupal]
+
Image:gallery.jpg|http://gallery.menalto.com
*[http://www.infoq.com/cn/news/2014/07/drupal-ios-android-sdk Drupal实现与原生iOS和Android应用程序的集成]
+
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>
  
==英文Drupal站点==
+
==英文站点==
 
*[http://www.digitaldollhouse.com/ Digital Dollhouse]: Design Your Own Virtual Dream House! [http://drupal.org/node/430222 case study]  
 
*[http://www.digitaldollhouse.com/ Digital Dollhouse]: Design Your Own Virtual Dream House! [http://drupal.org/node/430222 case study]  
 
*http://drupalsites.net/
 
*http://drupalsites.net/
第201行: 第221行:
 
*[http://community.bonitasoft.com/ Bonitasoft Community | The BPM Community]
 
*[http://community.bonitasoft.com/ Bonitasoft Community | The BPM Community]
  
==中文Drupal站点==
+
==中文站点==
[[Image:spreadfirefox_com.png|thumb|right|http://www.spreadfirefox.com/ Spread Firefox]] [[Image:evolt_org.jpg|thumb|right|http://evolt.org/]] [[Image:gallery.jpg|thumb|right|http://gallery.menalto.com/]]
+
*[http://www.thinkindrupal.com Think in Drupal] 介绍和研究 Drupal 技术,Drupal 中文原创教程
*http://www.drupalchina.org/
+
 
*[http://www.verydummy.com 非常大米]
 
*[http://www.verydummy.com 非常大米]
 
*[http://drupalsh.cn Drupal 建站者资源网站]
 
*[http://drupalsh.cn Drupal 建站者资源网站]
第228行: 第247行:
 
*[http://top-host-rank.com/ 国外虚拟主机评测]  
 
*[http://top-host-rank.com/ 国外虚拟主机评测]  
 
*[http://www.mychinatour.cn/ 中国旅游英文网]   
 
*[http://www.mychinatour.cn/ 中国旅游英文网]   
*[http://web.srv.cn/ 萨维网]
+
*[http://web.srv.cn/ 萨维网]
  
{{comment}}
+
==链接==
 +
*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]]
第236行: 第261行:
 
[[category:PHP]]
 
[[category:PHP]]
 
[[category:symfony]]
 
[[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

[编辑] 图集

[编辑] 英文站点

[编辑] 中文站点

[编辑] 链接

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

变换
操作
导航
工具箱