Varios formularios dependiendo de datos de una BD
Saludos Comunidad
Estoy enfrascado en un proyecto con drupal tratando de escribir la menor cantidad de codigo posible.
El asunto es que ahora quiero construir un tipo de contenido que al hacer referencia a otro tipo de contenido cargue formularios vía ajax en dependencia de algunos datos que tenga el contenido referenciado. Les explico un ejemplo:
Como realizar operaciones matematicas en campos de un mismo tipo de contenido
Buenas, he aqui mi problema:
He creado un tipo de contenido con CCK que contiene 2 campos por ejemplo:
Tipo de contenido1: Empresas
campo1: Nombre de la Empresa
campo2: Cantidad de trabajadores
一つのコンテンツに任意で複数のノード参照フィールドを持たせたい
こんにちは。
いつもお世話になります。
Drupal 6.20 を使っています。
チェックリストのようなコンテンツを作りたいのですが、チェックする項目は別のコンテンツになっていて、チェックリストを作成する人がその項目を選んで対応表作っていき一つのコンテンツにする。チェックする項目が一つのときはノード参照して一つの対応表を作れるのですが、複数の場合はどうすればよいのでしょう。
僕自身も書いていてうまく説明できないので、具体的に書いてみます。(やりたいことを判って頂けるのか不安ですが)
やりたいのは課題対応表のようなものです。課題対応表は一種類の商品に一つ以上作ります。
課題の項目は、一つ一つがコンテンツになっています。
例えば、
1)タイトル:字が小さくて読めない,内容:・・・
2)タイトル:文章が長すぎ,内容:・・・
3)・・・・
課題一覧はViewsで作ることが出来ます。
作りたい課題対応表は、商品種類ごとに一つ一つの課題(ノード参照)に対して対応が書き込まれている一つのコンテンツになります。
一つの課題(ノード)ごとにコンテンツを作り、後でviewsで拾って表示させることは出来ますが、これだと項目が数百個とかに増えてくると入力作業が面倒です。
課題対応表のコンテンツ作成するときに
Read moreメンバー勤務表を作りたい(カレンダー表示) 【再掲】
お久しぶりです。
※なぜかうまく表示されていない(Newもついていないし)のであらためてポストさせていただきました。
カレンダー(モジュール)絡みでいくつか質問があります。
ある団体のサイトを作っており、その中に「複数メンバーのプロフィールページと、それにリンクする勤務表」を作りたいと考えています。
具体的に、ある病院にドンピシャの例があります。
http://pediatrics-chiba-u.org/outpatient.html
ここにあるように、マンスリータイプのカレンダーのそれぞれの日付の担当者名をクリックすると、その担当者のプロフィールに飛ぶようにしたいわけです。
ここのサイトでは、プロフィールページは複数の人が1ページにまとまっていて、ページ内のアンカーリンクに飛ぶようになっていますが、今回、せっかく Drupal で作るのですから、プロフィールは「1名1ページ(ノード)」で作り、そこへのリンクが張られるようにしたいわけです。
サイト自体のメインの「プロフィール紹介ページ」は、その各自プロフィールノードを Views でまとめて、上の病院サイト同様に複数人の概要を1ページにまとめて表示しようと思っています。
ちなみに、ここと同様には担当者は各日あたり一人であり、それがカレンダー上でプルダウンメニューで選択できればベストです。
Read moreメンバー勤務表を作りたい(カレンダー表示)
お久しぶりです。
カレンダー(モジュール)絡みでいくつか質問があります。
ある団体のサイトを作っており、その中に「複数メンバーのプロフィールページと、それにリンクする勤務表」を作りたいと考えています。
具体的に、ある病院にドンピシャの例があります。
http://pediatrics-chiba-u.org/outpatient.html
ここにあるように、マンスリータイプのカレンダーのそれぞれの日付の担当者名をクリックすると、その担当者のプロフィールに飛ぶようにしたいわけです。
ここのサイトでは、プロフィールページは複数の人が1ページにまとまっていて、ページ内のアンカーリンクに飛ぶようになっていますが、今回、せっかく Drupal で作るのですから、プロフィールは「1名1ページ(ノード)」で作り、そこへのリンクが張られるようにしたいわけです。
サイト自体のメインの「プロフィール紹介ページ」は、その各自プロフィールノードを Views でまとめて、上の病院サイト同様に複数人の概要を1ページにまとめて表示しようと思っています。
ちなみに、ここと同様には担当者は各日あたり一人であり、それがカレンダー上でプルダウンメニューで選択できればベストです。
Read moreNeed Help Displaying Content
I need some help displaying the correct fields through a view.
I am using Drupal 7 - downloaded the latest versions last week. I am using a custom subtheme of Fusion. I have a custom content type (called custom_image) that contains an image. I created a custom display (called custom_Icon) that displays just the image.
I have another custom content type (called concert) that contains an entity reference to a specific custom_image content node. I have several 'concert' nodes and want to create a summary of them,
Read moreLeverage Modify Node Fields functionality to allow users to change referenced node CCK values
Scenario:
I have a site that was built specifically for a service company. They have content types for job and address. On any particular day, they will have a list of jobs and their associated addresses (one address per job) displayed in a view.
I have installed VBO and configured it to modify the node fields of the job in this daily job view. It also displays some information from the address. In particular, it shows the mapping coordinates for the address on each job.
Read moreCCK display fields
Hi everyone
I don't know if this is the right place to post this, but it's getting to be desperate measures to try and get rid of this warning message that I've had on my sites since January :-(
I've posted it as an issue over on cck issues:
http://drupal.org/node/1415342
But nobody has so far replied.
The message is:
Call to undefined function _content_is_empty() in .../sites/all/modules/cck/content.module on line 1380
I've been trying to solve this and it looks like CCK version 6.x-3.x-dev is also having people report the same issue - http://drupal.org/node/541768
Read moreRules create multiple child nodes with referencing to a parent node, based on CCK value
Hi,
I'm trying to learn the Drupal techniques quick but even with reading a lot in the Drupal.org, Drupal groups and watching screencast, I can not manage to get one thing done with Rules.
I'm sure it is possible, hopefully somebody can help me with this.
This is the functionality I'm looking for:
I have a nodetype "parent" and another nodetype "child".
The parent nodetype has a field "amount".
The child nodetype has a nodereference field pointing to a single "parent" node.
When a node of nodetype "parent" is saved, I would like to fire a Rule which does the following:
Read more


