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


相关推荐

  • matlab中plot函数的功能及用法_plot绘制什么图

    matlab中plot函数的功能及用法_plot绘制什么图使用plot绘制二维图像本文转自http://blog.sina.com.cn/s/blog_d8f783c90102woqb.html以及https://blog.csdn.net/alvern_zhang/article/details/51153058MATLAB中plot函数常常被用于绘制各种二维图像,其用法也是多种多样,本文仅介绍plot函数的基本用法——使用plot函数绘制二维点图和线…

    2022年10月16日
    3
  • SQL Like 通配符

    SQL Like 通配符 SQL通配符在搜索数据库中的数据时,SQL通配符可以替代一个或多个字符。SQL通配符必须与LIKE运算符一起使用。在SQL中,可使用以下通配符:通配符描述%替代一个或多个字符_仅替代一个字符[charlist]字符列中的任何单一字符[^charlist]或者[!charlist]

    2022年7月15日
    16
  • 再见VS Code,我用Fleet!

    再见VS Code,我用Fleet!大家好,我是辰哥~点击下方名片关注和星标『Python研究者』!????点击关注|设为星标|干货速递????来源Fleet官网:https://www.jetbrains.com/zh-cn/flee…

    2022年5月4日
    209
  • Kinect的学习笔记发展(一)Kinect引进和应用

    Kinect的学习笔记发展(一)Kinect引进和应用

    2021年12月17日
    46
  • 【原创】无锁编程技术及实现

    【原创】无锁编程技术及实现无锁编程技术及实现作者:jx(360电商技术组) 1.基于锁的编程的缺点 多线程编程是多CPU系统在中应用最广泛的一种编程方式,在传统的多线程编程中,多线程之间一般用各种锁的机制来保证正确的对共享资源(share resources)进行访问和操作。在多线程编程中只要需要共享某些数据,就应当将对它的访问串行化。比如像++count(count是整型变量)这样的简单操作也得加锁,因为即便是增量操作

    2022年5月1日
    34
  • Mongo的morphia读取Map<String>>类型数据的问题「建议收藏」

    Mongo的morphia读取Map<String>>类型数据的问题「建议收藏」      最近一直使用morphia,给mongo数据查询带来很多遍历,但是最近项目遇到了一个严重的问题,在从Mongo数据库中查询Map&lt;String, List&lt;Object&gt;&gt;字段时,针对value值为空list时(即[ ]),竟然读到数据的严重问题,具体描述如下: 1.Entity数据结构:      import org.mongodb.morph…

    2022年6月17日
    43

发表回复

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

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