[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)
上一篇 2022年7月20日 上午8:16
下一篇 2022年7月20日 上午8:36


相关推荐

  • java 继承是什么_java中继承指的是什么

    java 继承是什么_java中继承指的是什么java中继承指的是什么发布时间:2020-08-2014:46:11来源:亿速云阅读:55作者:小新这篇文章将为大家详细讲解有关java中继承指的是什么,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。java中继承是什么?Java中的继承是一个对象获取父对象的所有属性和行为的机制。它是面向对象编程系统(OOP)的重要组成部分。Java中继承的思想是,创建基于现…

    2022年7月7日
    24
  • yum 安装卸载mysql_yum 安装卸载mysql

    yum 安装卸载mysql_yum 安装卸载mysqllinux下使用yum安装mysql1、安装查看有没有安装过:yumlistinstalledmysql*rpm-qa|grepmysql*查看有没有安装包:yumlistmysql*安装mysql客户端:yuminstallmysql安装mysql服务器端:yuminstallmysql-serveryuminstallmysql-develwww.2cto.co…

    2022年5月20日
    41
  • DIKW 体系介绍

    DIKW 体系介绍DIKW 体系 DIKW 体系是关于数据 信息 知识及智慧的体系 可以追溯至托马斯 斯特尔那斯 艾略特所写的诗 岩石 在首段 他写道 我们在哪里丢失了知识中的智慧 又在哪里丢失了信息中的知识 Whereisthewi Whereisthekn 1982 年 12 月 美国教育家哈蓝 克利夫兰引用艾略特的这些诗句在其出版的 未来主义者 一书提出了 信息即资

    2026年3月19日
    2
  • L2-014 列车调度 (25 分)详解

    L2-014 列车调度 (25 分)详解火车站的列车调度铁轨的结构如下图所示。两端分别是一条入口(Entrance)轨道和一条出口(Exit)轨道,它们之间有N条平行的轨道。每趟列车从入口可以选择任意一条轨道进入,最后从出口离开。在图中有9趟列车,在入口处按照{8,4,2,5,3,9,1,6,7}的顺序排队等待进入。如果要求它们必须按序号递减的顺序从出口离开,则至少需要多少条平行铁轨用于调度?输入格式:输入第一行给出一个整数N…

    2022年7月26日
    9
  • Landsat8 OLI数据不同波段组合作用

    Landsat8 OLI数据不同波段组合作用OLI波段合成 R、G、B 主要用途 4、3、2 自然真彩色 7、6、4 城市 5、4、3 标准假彩色图像、植被 6、5、2 农业 7、6、5 穿透大气层 5、6、2 健康植被 5、6、4

    2022年7月23日
    26
  • 安卓中activity的生命周期_activity生命周期方法

    安卓中activity的生命周期_activity生命周期方法当Activity处于Android应用中运行时,它的活动状态由Android以Activity栈的形式管理。当前活动的Activity位于栈顶。随着不同应用的运行,每个Activity都有可能从活动状态转入非活动状态,也可能从非活动状态转入活动状态。

    2022年8月16日
    9

发表回复

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

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