[Drupal学习一]Drupal安装和基本配置[通俗易懂]

[Drupal学习一]Drupal安装和基本配置[通俗易懂]1.从官方网站上下载drupal-6.16 http://drupal.org/drupal-6.162.将下载的压缩包文件直接解压,放到apache的站点目录中。此时drupal的路径为WEB-SERVER/drupal3.访问站点http://localhost:8888/drupal/将进入drupal的安装页面。此时会提醒我们要拷贝重命名.sites/default/de…

大家好,又见面了,我是你们的朋友全栈君。1. 从官方网站上下载drupal-6.16

http://drupal.org/drupal-6.16

2. 将下载的压缩包文件直接解压,放到apache的站点目录中。此时drupal的路径为WEB-SERVER/drupal

3. 访问站点http://localhost:8888/drupal/将进入drupal的安装页面。此时会提醒我们要拷贝重命名.sites/default/default.settings.php为.sites/default/settings.php。 之后刷新页面,继续后续的安装。

4. 在Mysql数据库中建立站点的数据库。此例中取名为drupal_test_site。再返回到drupal安装页面,输入相应的数据库名称及账户信息。点击保存并继续按钮进行数据库的部署。

5. 配置站点信息。包括站点名称 管理员账户信息等,再继续。

6. 如果没有意外,会显示drupal安装成功。

注意:要是想汉化想drupal

(1).先在官网上下载中文语言包,下载之后解压,然后覆盖到已安装的drupal的根目录中、

(2).访问站点Administer -> Site building -> Modules ->将Locale这个模块启用,点击保存按钮

(3).选择语言,将默认设置为ZN。

7. visit the new site.

8. 第三方模块与核心模块

核心模块是在drupal安装之后就drupal自带的一些模块,这些模块可以在Modules中找到并自行启用或者禁用

第三方模块可以从官网上下载 下载之后需要安装到drupal/sites/all/modules中。然后在站点中进行激活配置

如DHTML Menus

具体可以参照drupal/sites/all/README.txt中的说明

9. 添加自定义的菜单(Menu)后drupal会自动添加到Blocks里面去

可在菜单设置中设置菜单的关联 如一级菜单和二级菜单的关联

10. 站点名称、站点口号Slogan等站点的基本信息可以在Site information中设置。在Themes中设置是否显示口号等信息

11. 在durpal中添加Fckeditor

Configuration

——————-

Note: this instruction assumes that you install FCKeditor in

sites/all/modules directory (recommended).

1. Unzip the files in the sites/all/modules directory. It should now

contain a fckeditor directory.

2. Download FCKeditor from http://ckeditor.com/download. Unzip the

contents of the fckeditor directory in the

sites/all/modules/fckeditor/fckeditor directory.

3. Enable the module as usual from Drupal’s admin pages.

4. Grant permissions for use of FCKeditor in

“Administer > User Management > Permissions”

Note: to enable the file browser, read also the

“How to enable the file browser” section.

5. Under “Administer > Site configuration > FCKeditor”, adjust

the fckeditor profiles. In each profile you can choose which textareas

will be replaced by FCKeditor, select default toolbar and configure

some more advanced settings.

6. For the Rich Text Editing to work you also need to configure your filters

for the users that may access Rich Text Editing.

Either grant those users Full HTML access or use the following tags:

<a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr>

<br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong>

<font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code>

<cite> <embed> <object> <param> <strike> <caption>.

7. To have a better control over line breaks, you may disable Line break converter

in the chosen filter (recommended).

8. Modify the fckeditor.config.js file to custom your needs (optional).

You may copy the needed configuration lines from the default FCKeditor

configuration settings (sites/all/modules/fckeditor/fckeditor/fckconfig.js),

the lines in fckeditor.config.js will override most settings.

In fckeditor.config.js you may define your own toolbars with selected buttons.

WARNING: clear browser’s cache after you modify any of the javascript files.

If you don’t do this, you may notice that browser is ignoring all your changes.

12. 可以设置多个主题,主题都放在sites/all/themes中

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/162260.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • getopt解析

    getopt解析转载自http://www.cnitblog.com/zouzheng/archive/2007/04/02/25034.aspxgetopt被用来解析命令行选项参数。就不用自己写东东处理argv了。#include      externchar*optarg;  //选项的参数指针      externintoptind,  //下一次调用getopt的时,从

    2022年5月2日
    41
  • Python win32api_python api文档

    Python win32api_python api文档本文整理汇总了Python中win32api.SetCursorPos方法的典型用法代码示例。如果您正苦于以下问题:Pythonwin32api.SetCursorPos方法的具体用法?Pythonwin32api.SetCursorPos怎么用?Pythonwin32api.SetCursorPos使用的例子?那么恭喜您,这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方…

    2022年10月11日
    1
  • 美国福克斯Fox热式流量计[通俗易懂]

    福克斯Fox热式流量计英维思集团的美国Foxboro公司是一家为工业过程自动化提供仪表、系统和服务的制造商,在全球同行业中处于**地位。它为用户提供的解决方案包括一切典型的智能型现场仪表,自动化系统以及先进的软件应用,以及与之相配套的综合工程。美国FOXBORO福克斯波罗因其产品的高智能和质量稳定性在电力、石油、化工、天然气、冶金、水泥、造纸、采矿、轻纺、食品、医药等行业中大量使用,获得了用户的广泛好评,产品行销全球,销售业绩在全球自动化领域内稳居前列。公司可提供从简单的需求到**的过程控制仪表,

    2022年4月11日
    157
  • Nfs固定端口 nfs 端口公网映射

    Nfs固定端口 nfs 端口公网映射Nfs固定端口nfs端口公网映射 postedon2019-09-2515:46秦瑞It行程实录阅读(…)评论(…)编辑…

    2022年6月27日
    22
  • 服务器重启项目引发的nginx 502 Bad Gateway解决

    服务器重启项目引发的nginx 502 Bad Gateway解决一、问题起因:ssh登录远程服务器重启项目(第一次),未等tomcat启动完成,直接访问项目的对应后台管理系统网站,导致网页一直加载不出来,心急又去重复启动项目(第二次),再次访问网页报错:502BadGatewaynginx。二、解决思路:…这里饶了很多弯路。前面几步是没有解决的错误思路,想要看最终解决,直接跳过,去查看最后的总结…1.首先想到去查看nginx日志,…

    2022年6月24日
    96
  • redis缓存雪崩 缓存穿透 缓存击穿如何解决_防止redis缓存击穿

    redis缓存雪崩 缓存穿透 缓存击穿如何解决_防止redis缓存击穿缓存的击穿、穿透和雪崩应该是再熟悉不过的词了,也是面试常问的高频试题。不过,对于这三大缓存的问题,有很多人背过了解决方案,却少有人能把思路给理清的。而且,网络上仍然充斥着,大量不太靠谱的解决方案,难免误人子弟。我的这篇文章,则会对这三大缓存问题,做一个深入的探讨和分析。最有价值的,不是答案本身,而是诞生答案的过程。缓存击穿缓存击穿是什么,大家应该心里都清楚,我只做一个简单通俗的解释:…

    2022年9月14日
    3

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号