[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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • ubuntu10.04更新源_ubuntu修改更新源

    ubuntu10.04更新源_ubuntu修改更新源W:GPGerror:http://mirror.bjtu.edu.cnprecise/Release:Thefollowingsignaturescouldn’tbeverifiedbecausethepublickeyisnotavailable:NO_PUBKEY51716619E084DAB9W:Failedtofetchhttp://c…

    2022年10月13日
    0
  • 卓越性能 の 军火库「建议收藏」

    卓越性能 の 军火库「建议收藏」在介绍性能优化的军火库之前,先来扯几句题外话。希望这些题外话,能打消你追求卓越性能的理想,来甘心当一枚圆滑的钉子。我是非常不推荐程序员,对公司的业务,进行性能优化的。说这话,纯粹是基于个人自身安全考虑。因为性能优化,在大多数公司,属于费力不讨好的工作项。追求极简的代码,性能卓越的代码,是有追求的程序员的目标。但随着经历了大大小小的公司,我发现很多优秀的程序员,在经受着这种追求的反嗜,以至于痛不欲生。下有下面几点原因,虽然我们知道它肯定是错的,但我们无能无力:公司按照完成的功能,对程序员…

    2022年9月30日
    0
  • SecureCRT使用提示

    SecureCRT使用提示

    2022年1月3日
    117
  • XSL教程(1)

    XSL教程(1)

    2021年7月22日
    50
  • 安装了anaconda 还需要单独安装pycharm吗_ugnx10安装教程

    安装了anaconda 还需要单独安装pycharm吗_ugnx10安装教程python环境配置步骤一:Pycharm和Anaconda的安装作者介绍1.复制pycharm和Aanconda的安装包2.安装pycharm3.安装Anaconda作者介绍张伟伟,男,西安工程大学电子信息学院,2019级硕士研究生,张宏伟人工智能课题组。研究方向:机器视觉与人工智能。电子邮件:2430290933@qq.com课题组CSDN官方账号,欢迎一键三连:https://blog.csdn.net/m0_37758063/article/details/113527955?s

    2022年8月28日
    0

发表回复

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

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