Rusty's code
@Dying in the rain.

随笔分类 -  Drupal

Perfect!
Ubuntu10.10下安装phpmyadmin
摘要:两句命令:sudo apt-get install phpmyadmin建立软链接:sudo ln -s /usr/share/phpmyadmin /var/www/ 阅读全文
posted @ 2011-04-25 13:55 Rusty's code 阅读(311) 评论(0) 推荐(0)
Drupal7添加菜单至首页
摘要:一、Home » Administration » Structure » Menus ,之后找到main menu,点后面的add link即可。这个path有讲究的很。blog是博客,forum是论坛,如果你有安装相应模块的话。user是账户操作,没登录的话会显示登录或注册。比如添加一个名为forum,path为forum的link(最好weight改成1,大的显示在后面),forum就会显示在首页“home”的后面。如下图:这个样子的效果。二、现在想作出这么个效果:定义一个Ubuntu分类,文章可以发布至这个分类,home的旁边也显示这个分类。分以下几步:1 阅读全文
posted @ 2011-03-30 10:49 Rusty's code 阅读(6343) 评论(2) 推荐(0)
Drupal7 "Unable to send e-mail. Contact the site administrator if the problem persists."错误解决办法
摘要:查了N久,终于找到 "Unable to send e-mail. Contact the site administrator if the problem persists."错误的解决办法。见这里:http://drupal.org/node/1108514其实就是Configuration/Site Information under "Site Details"这里必须输入个以你这个网站的域名为结尾的邮箱,比如XXX@yourdomain.com。不能用别的邮箱,比如gmail什么的。 阅读全文
posted @ 2011-03-30 09:43 Rusty's code 阅读(1766) 评论(1) 推荐(0)
Ubuntu10.10安装Drupal7及其环境(apache,mysql,php)
摘要:装个Drupal耍耍。1、首先安装环境。sudo apt-get install apache2 php5 php5-gd mysql-server php5-mysql安装中间会让输入mysql的密码。apache-apache2,php-php5,mysql-mysql-server,这些自不必说。php5-gd这个是drupal7需要的php的gd扩展,画图使用的gd库。php5-mysql这个是整合mysql和php的,只安装php5和mysql,怎么也找不到该怎么修改php.ini,以前里面都有; extension = mysql.so的,去掉注释就行,这个版本的不知道怎么搞,先将 阅读全文
posted @ 2011-03-29 21:48 Rusty's code 阅读(1401) 评论(0) 推荐(0)