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

这里的技术是共享的

You are here

drupal

Drupal Imagfield/Filefield in custom form drupal 6 自定义表单 上传图像字段 有大用


自己亲自做的例子 见  /node-admin/8501

普通分类: 

How to add image field in form drupal 7

普通分类: 

如何在Drupal7中用代码批量创建节点、评论和分类

转自http://blog.csdn.net/moonbeam3/article/details/7422547

最近,我忙于一个网站迁移工作。网站是使用某个老式CMS建立的,有一定数量的文章、不同的分类数据和用户评论。

普通分类: 

Best way to display field values from a referenced node (CCK - Contemplate) 输出 node 字段 变量 节点 变量 view 有大用 有大大用

普通分类: 

drupal views link 查看链接 在新窗口中打开


普通分类: 

linux / mac 安装drush 谷歌一下 "linux 安装 drush" 一步步发现问题 解决问题 有大用 有大大用

普通分类: 

form textfield 等 default_value 与 value值是有区别的 一个是默认值,另一个是值 有大用

普通分类: 

strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options

普通分类: 

PHP strict warnings: Declaration of ... should be compatible with ...

普通分类: 

Strict warning: non-static method view::load() should not be called statically

普通分类: 

How do I alter the form submission handler? 修改 submit 对原来的submit 进行一些处理 有大用 有大大用

普通分类: 

drupal page not found 打不开 页面空白 我通过 清空缓存 执行 cron 成功了 有大用


1)第一种方法 在 index.php (首页)
普通分类: 

在 php 里执行 cron

//include_once './includes/bootstrap.inc';
//drupal_bootstrap(
普通分类: 

移除 表单单个字段的外面的 class 类 为 form-item 的div 改写 单个字段 textfield text 自己亲自做的 有大用 有大用 有大用

第一方法 是 hook_theme 表单,表单字段  好像不需要对form 进行hook 
普通分类: 

在表单元素的div包装器上更改移除类 Change (remove )class on the div wrapper of a form element 有大用

普通分类: 

Drupal 7 How to use render element instead of variables in hook_theme()

普通分类: 

drupal7 d7 theme 有大用

所有模板引用都始于theme函数,以下是示意代码

普通分类: 

2 添加上下文链接

作者:老葛,北京亚艾元软件有限责任公司,http://www.yaiyuan.com

普通分类: 

drupal7 d7 render arrays 渲染 数组 页面 详解 hook menu items page callback 实践理解drupal 7 render API 字符串 body content 有大用 有大大用 有大大大用

下面有自己亲自做的例子 

drupal 7 render arrays详解

普通分类: 

function theme_form_element

普通分类: 

How to a use a template file to theme a form?

普通分类: 

div tags around the form elements remove form-item div 有大用

普通分类: 

function theme_textfield

普通分类: 

How to change the HTML markup in a field with a theme function in Drupal

How to change the HTML markup in a field with a theme function in Drupal

 
普通分类: 

drupal form模板复写方法 有大用 有大大用

 有英文的 看看 /node-admin/8465

普通分类: 

Remove extra div in drupal_get_form

普通分类: 

drupal 字段 form textfield remove form-item div 移除 文本框外围的form-item的div Removing field wrapper in a form 有大用

I would like to remove div element on webform textfield. Instead of :
普通分类: 

drupal 单个字段 form textfield remove form-item div 移除 文本框外围的form-item的div Removing field wrapper in a form 这个方法 好像不行


普通分类: 

某个单独页面 添加 js文件 drupal 某个单独页面 添加 js文件

昨天要做一个特殊的页面,使用到原先做好的静态页面,需要把效果和js加入,我的方法如下:

1.首先可以使用views模块创建一个简单的页面,并且给其命名相应的路径,例如:mobile-index

普通分类: 

Task

    普通分类: 

    页面

    Subscribe to RSS - drupal