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

这里的技术是共享的

You are here

drupal

shiping1 的头像

第1章 实体(Entity)API (三) 有大用

8 EntityFieldQuery

普通分类: 
shiping1 的头像

第1章 实体(Entity)API (二) 有大用


普通分类: 
shiping1 的头像

第1章 实体(Entity)API (一) 有大用

普通分类: 
shiping1 的头像

Drupal基本概念辨析 - Entity types - Bundles - Fields - Entity

与本文相关的Drupal专业术语的翻译说明:

普通分类: 
shiping1 的头像

浅谈 Entity 的概念

普通分类: 
shiping1 的头像

Drupal Theming: Adding Font Awesome Icons to Menu Items

I'm currently working on a Drupal build where I'd like users to be able to easily add icons to menu items through the UI. Enter FontAwesome, the scalable vector icon font that leverages the power of CSS. That in combo with the infamous Menu Attributes module allows users to add custom classes to Drupal menu items via the Menu edit interface on a per menu item basis.
普通分类: 
shiping1 的头像

drupal 在服务器上安装PECL 上传进度库 进度条 或者apc后 还是转圈 看不到上传进度

如图在 图像字段中 有如下的设置

普通分类: 
shiping1 的头像

Drupal文件 里面有关临时文件的讲述

第13章 Drupal文件

普通分类: 
shiping1 的头像

Drupal 一分钟 宁皓网 有大用

1 分钟 Drupal 小技巧。
来自  
http://ninghao.net/course/982#info

普通分类: 
shiping1 的头像

drupal7 官方文档有提供了几种引入新版本jquery的方法 更新 jquery 有大用

 

普通分类: 
shiping1 的头像

使用plupload问题

使用plupload问题

普通分类: 
shiping1 的头像

Drupal Entity 实体介绍 第一部分 ----超越节点

Drupal7 在架构上面最大的变化之一,就是Drupal 7中引入了实体(Entity)作为抽象内容。为此我看了很多关于Entity的文章,看看Entity是如何运作的,他们到底是什么以及它们如何被用于模块。本章节为实体的第一部分,主要是看看Entity 如何诞生并且应用在Drupal7上的。

Drupal7引入了很多大大小小的变化。在这些变化中,使用实体作为主要的抽象内容,是Drupal 底层架构最大的变化。

普通分类: 
shiping1 的头像

Drupal7如何使用Entity metadata wrappers (Entity API)

Drupal7如何使用Entity metadata wrappers (
普通分类: 
shiping1 的头像

Drupal7核心实体API介绍

Drupal7
普通分类: 
shiping1 的头像

drupal7 多语言 宁皓网 有大用 有大大用 有大大大用

普通分类: 
shiping1 的头像

drupal7模块-Field UI(Field用户界面)

 

普通分类: 
shiping1 的头像

drupal text 模块 所需要的什么单选框 复选框按钮

普通分类: 
shiping1 的头像

drupal update manager 更新管理模块 可以直接安装新模块 不必下载模块后安装模块

普通分类: 
shiping1 的头像

windows drupal7自带image控件开启进度条

drupal7自带的图片控件,在上传图片过程中,一直像是一个圆形的活动图标,如何让其显示成进度条。

 

普通分类: 
shiping1 的头像

​for information about the recommended htaccess file which should be added to the D xampp tmp directory to help protect against arbitrary code execution

drupal7状态信息 
for information about the recommended htaccess file which should be added to the D \ xampp \ tmp directory to help protect against arbitrary code execution

应该是说 没有 D: \ xampp \ tmp 这个目录吧 
我在D: \ xampp 下面建一个目录就可以了吧  就不会再报错了吧
但是为了防止和其它的drupal系统冲突 我就 另外建了一个 目录 
我在 http://my.drupal7study2.com/admin/config/media/file-system 
普通分类: 
shiping1 的头像

Drupal7 基础(上) 宁皓网 有大用

Drupal 7 的字段,视图,还有内容关系。
准备

下载与安装 Acquia Dev Desktop

普通分类: 
shiping1 的头像

如何进行中文化安装 ? (Drupal 7)

新安装:

  1. 下载中文化 PO 档 (http://drupaltaiwan.org/localized) 最好到 https://localize.drupal.org/translate/languages/zh-hans 下载
  2. 放到 /profiles/standard/translations/
  3. 进行新安装 (你会看到选择语言界面)

旧安装,增加中文化:

(看图动工)

普通分类: 
shiping1 的头像

views_get_view 取得暴露过滤器的参数

function _getItem_time($view,$display_id,$field){
    $exposedContent = $view->get_exposed_input();
    //假如暴露的过滤器有值,返回年月日时分秒的格式
    if(!empty($exposedContent)){
        if(!empty(date('Y-m-d H:i:s',strtotime($exposedContent[$field]['value']['date'])))){
            return date('Y-m-d H:i:s',strtotime($exposedContent[$field]['value']['date']));
        }
        return '';
    }
//假如暴露的过滤器没有值
    else {
普通分类: 
shiping1 的头像

function view::get_exposed_input

普通分类: 
shiping1 的头像

embeding a view using views_get_view and setting filter values

普通分类: 
shiping1 的头像

drupal anywhere 13: views_get_view,drupal开发神器,适用于drupal 6 7 8 set_arguments 有大用

[例子二:传入argument(参数)] 这是指的是views的url参数 不是views的filter

只输出termId=3的结果,就是说输出那些是属于分类ID是3的结果,注意,只比上面的多了加红的一行:
新建argviews.php,只有下面几行代码:
<?php
普通分类: 
shiping1 的头像

Views Group By

drupal views 是两相字段 相加 等
普通分类: 
shiping1 的头像

menu里如果有两种权限 只要具有一种权限 就可以访问此url 有大用




用  'access arguments' => array('access aaaa','access bbbb');  好像是不可以的

普通分类: 
shiping1 的头像

drupal html5的 placeholder

<?php
普通分类: 
shiping1 的头像

drupal l 函数 target _blank 有大用

 $items[] = l('现在注册', 'http://wpa.qq.com/msgrd?v=3&uin=958186957&site=qq&menu=yes', array('attributes' => array('title' => t('Create a new user account.'),'target'=>'_blank')));

在新窗口中打开

普通分类: 

页面

Subscribe to RSS - drupal