欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

drupal

shiping1 的头像

drupal excel 有大用

读取 excel
feed_excel
phpexcel 还要安装 phpexcel库(库网址 http://phpexcel.codeplex.com/  https://github.com/PHPOffice/PHPExcel    )
In order to use PHPExcel, you must first download the entire library
(1.7) at phpexcel.net and put it under sites/all/libraries/PHPExcel/
(so you should have sites/all/libraries/PHPExcel/PHPExcel.php)

普通分类: 
shiping1 的头像

drupal 各种库文件

jquery.ui-1.6.zip
jquery-ui-1.7.3.zip
jquery-ui-themes-1.7.3.zip
PHPExcel_1.7.8-with_documentation-msoffice_format (1).zip
php-excel-reader-2.21.zip
phpExcelReader_not_ok.zip
plupload-2.1.1.zip
plupload_1_4_3_2_ok.zip
曲线图库文件
普通分类: 
shiping1 的头像

drupal 各种库文件

jquery.ui-1.6.zip
jquery-ui-1.7.3.zip
jquery-ui-themes-1.7.3.zip
PHPExcel_1.7.8-with_documentation-msoffice_format (1).zip
php-excel-reader-2.21.zip
phpExcelReader_not_ok.zip
plupload-2.1.1.zip
plupload_1_4_3_2_ok.zip
普通分类: 
shiping1 的头像

http://www.tvdrupal.com/

drupal 视频教程
普通分类: 
shiping1 的头像

drupal firefox 富文本编辑器失效的问题

1)是由于 firefox 用了 user Agent 的插件 用了手机的浏览模式
导致  firefox 的 firebug
报 jquery.bgiframe.min.js 出错 navigator.userAgent.toLowerCase(...).match(...) is null

所以恢复一下 这个插件user Agent,, 用默认的 Default user Agent 即可
普通分类: 
shiping1 的头像

如何将一个在127.0.0.1上搭建的基于Drupal迁移到一个公网的服务器上?

如何将一个在127.0.0.1上搭建的基于Drupa

普通分类: 
shiping1 的头像

仅仅能够访问 查看 自己发布的内容

普通分类: 
shiping1 的头像

theme_table 增加class 到列

普通分类: 
shiping1 的头像

我想在 菜单项里增加一项 url 为 add/story 名称为 增加新闻 如何 让 没有权限的人 看不到这个菜单项呢 隐藏 显示

如果你是自己hook_menu,你在access arguments的地方配合相应的权限参数寄可以,如果是后台直接添加菜单,一般系统自动会处理权限的问题,如果你是手动代码写链接,那你做user_access()判断
普通分类: 
shiping1 的头像

好像是 好像是 admin/settings/site-information 设置了首页后 登录就跳到这个首页

好像是 好像是 admin/settings/site-information 设置了首页后  登录就跳到这个首页
普通分类: 
shiping1 的头像

userplus 批量 添加 用户 和增加角色

1)安装这个模块后 在 admin/user/userplus 路径下可以进行 批量添加 用户 和增加角色
普通分类: 
shiping1 的头像

有些模块 由于以前曾经安装过 有问题 ,,正常情况下通过 admin/build/modules 卸掉重装不行

有些模块 有问题 正常 情况下通过 admin/build/modules卸掉重装不行
我们可以 通过
也就是devel 的重装模块 功能 来进行重装
即 devel 的 devel/reinstall?destination=node%2Fadd%2Fstory
普通分类: 
shiping1 的头像

得到form 数组 get a $form array for a specific form to edit

普通分类: 
shiping1 的头像

不同的角色 不同的首页 drupal different index pages different role

普通分类: 
shiping1 的头像

front page 模块 module 登录用户 和非登录用户 不同的角色 不同的首页 drupal different index pages different role 自己亲自实践 chatgpt 有大用

front 模块 绝对可以实现 登录用户 和非登录用户 不同的角色 不同的首页
front-6.x-2.0-rc1 这个版本 可以实现,自己亲自实践的
1)用front (front page) 模块来实现  不同的用户 不同的首页
https://drupal.org/project/front

安装好它后
1)admin/settings/front 进行设置
2)

普通分类: 
shiping1 的头像

Database tweaks 模块作用

普通分类: 
shiping1 的头像

drupal 最下面 如何显示 sql查询query 内存占用

devel
Devel node access

这两个模块要开启
同时 进 admin/settings/devel 设置
普通分类: 
shiping1 的头像

Warning: MySQL server has gone away query: INSERT INTO watchdog

普通分类: 
shiping1 的头像

Warning: MySQL server has gone away query: INSERT INTO watchdog

普通分类: 
shiping1 的头像

自定义的form 表单元素都是放在 div 里面 请问 如何在table 里面

可以用 $form['#prefix'] = '<table class="myclass">';
  $form['#suffix'] = '</table>';



也可以用theme方法

普通分类: 
shiping1 的头像

drupal 让餐模块 和 模板文件

<?php

function food_order_form(&$form_state, $node)
{
    $form['order'] = array(
        '#type' => 'fieldset',
        '#title' => '订餐:' . $node->title,
    );

    $form['order']['order_qty'] = array(
        '#type' => 'textfield',
        '#title' => '数量',
        '#maxlength' => 3,
        '#size' => 10,
        '#default_value' => 1,
    );  

    $form['order']['ship_address'] = array(
        '#type' => 'textfield',
        '#title' => '送餐地址',
普通分类: 
shiping1 的头像

一个网站是不是用drupal 做的,怎么看的出来啊

最简单的方法就是装个Chrome浏览器的Drupal插件
普通分类: 
shiping1 的头像

drupal 要会的模块

Views,Panels,DS,Rules,WebForm这几个我认为都需要会
普通分类: 
shiping1 的头像

See http://drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the sites/default/files directory to help protect against arbitrary code execution.

 

普通分类: 
shiping1 的头像

Drupal 7 中文安装教程

普通分类: 
shiping1 的头像

Drupal 6 中文安装教程 有大用

普通分类: 
shiping1 的头像

如何安装中文汉化包 中文 安装 汉化 我自己的方法 有大用 有大大用

https://localize.drupal.org/translate/languages/zh-hans    汉化包地址

https://drupal.org/node/11461/release  汉化文件夹地址
https://drupal.org/node/265348 汉化文件夹地址

安装中文汉化包 只需要将汉化包的相应目录复制到drupal的对应目录
profiles\default\translations 文件夹下面
d7是(\profiles\standard\translations)
然后通过浏览器来安装 drupal

普通分类: 
shiping1 的头像

drupal 中文包下载 及安装方法

普通分类: 
shiping1 的头像

如何汉化日历控制器

普通分类: 
shiping1 的头像

验证注册的用户是否存在

普通分类: 

页面

Subscribe to RSS - drupal