Drupal fo Firebug works fine.

I just see cck fields don't appear in 'Drupal form altering' tab in firefox extension. Is there a reason ?

CommentFileSizeAuthor
#3 form_image.jpg35.47 KBgoz

Comments

K-Max’s picture

This is not only true, but it isn't showing CCK fields under nodes window for load $node->x either.

populist’s picture

Component: Firefox Extension » Code
Status: Active » Postponed (maintainer needs more info)

What kinds of CCK fields are you not seeing show up? I was able to see both Filefields and Textfields show up in both the node and form items.

goz’s picture

StatusFileSize
new35.47 KB

I don't see filefield, texfield, selectfield and may be others.

An example (Form in .jpg and drupalforfirebug forms tab below). In this example, i should see image and gallery's fields:

$form->pingv_image_node_form
 $form = stdClass Object (
     [#id] => [node-form]
     [nid] => array (
         [#type] => [value]
         [#value] => []
     )
     [vid] => array (
         [#type] => [value]
         [#value] => []
     )
     [uid] => array (
         [#type] => [value]
         [#value] => [14]
     )
     [created] => array (
         [#type] => [value]
         [#value] => [1264423570]
     )
     [type] => array (
         [#type] => [value]
         [#value] => [pingv_image]
     )
     [language] => array (
         [#type] => [value]
         [#value] => [fr]
     )
     [changed] => array (
         [#type] => [hidden]
         [#default_value] => []
     )
     [title] => array (
         [#type] => [textfield]
         [#title] => [Titre]
         [#required] => [1]
         [#default_value] => []
         [#maxlength] => [255]
         [#weight] => [-5]
     )
     [body_field] => array (
         [#after_build] => array (
             [0] => [node_teaser_js]
             [1] => [node_teaser_include_verify]
         )
         [#prefix] => [<div class="body-field-wrapper">]
         [#suffix] => [</div>]
         [teaser_js] => array (
             [#type] => [hidden]
             [#rows] => [10]
             [#teaser] => [edit-body]
             [#teaser_checkbox] => [edit-teaser-include]
             [#disabled] => [1]
         )
         [teaser_include] => array (
             [#type] => [hidden]
             [#title] => [Afficher le résumé en mode pleine page]
             [#default_value] => [1]
             [#prefix] => [<div class="teaser-checkbox">]
             [#suffix] => [</div>]
         )
         [body] => array (
             [#type] => [textarea]
             [#title] => [Corps]
             [#default_value] => []
             [#rows] => [10]
             [#required] => []
         )
         [format] => array (
             [5] => array (
                 [#type] => [value]
                 [#value] => [5]
                 [#parents] => array (
                     [0] => [format]
                 )
             )
             [format] => array (
                 [guidelines] => array (
                     [#title] => [Directives de formatage]
                     [#value] => [<ul class="tips"><li>You can use <a href="/filter/tips">Markdown syntax</a> to format and style the text. Also see <a href="http://michelf.com/projects/php-markdown/extra/">Markdown Extra</a> for tables, footnotes, and more.</li><li>Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.</li><li>Tags HTML autorisés : &lt;div&gt; &lt;span&gt; &lt;br&gt; &lt;a&gt; &lt;em&gt; &lt;strong&gt; &lt;cite&gt; &lt;code&gt; &lt;strike&gt; &lt;ul&gt; &lt;ol&gt; &lt;li&gt; &lt;dl&gt; &lt;dt&gt; &lt;dd&gt; &lt;img&gt; &lt;blockquote&gt; &lt;p&gt; &lt;pre&gt; &lt;h1&gt; &lt;h2&gt; &lt;h3&gt; &lt;h4&gt; &lt;h5&gt; &lt;h6&gt; &lt;table&gt; &lt;caption&gt; &lt;thead&gt; &lt;th&gt; &lt;td&gt; &lt;tr&gt; &lt;sup&gt; &lt;sub&gt;</li><li>Vous pouvez publier du code en utilisant les balises &lt;code&gt;...&lt;/code&gt; (generic) ou bien &lt;?php ... ?&gt; (PHP colorié).</li></ul>]
                 )
             )
             [6] => array (
                 [#value] => [<div class="filter-help"><a href="/filter/tips" target="_blank">Aide à la syntaxe</a></div>]
             )
         )
     )
     [#node] => stdClass (
     )
     [author] => array (
         [#type] => [fieldset]
         [#access] => []
         [#title] => [Informations de publication]
         [#collapsible] => [1]
         [#collapsed] => [1]
         [#weight] => [20]
         [name] => array (
             [#type] => [textfield]
             [#title] => [Ecrit par]
             [#maxlength] => [60]
             [#autocomplete_path] => [user/autocomplete]
             [#default_value] => [M]
             [#weight] => [-1]
             [#description] => [Laisser vide pour <em>Visiteur</em>.]
         )
         [date] => array (
             [#type] => [textfield]
             [#title] => [Écrit le]
             [#maxlength] => [25]
             [#description] => [Format : <em>2010-01-25 13:46:10 +0100</em>. Laissez vide pour utiliser la date de soumission du formulaire.]
         )
     )
     [options] => array (
         [#type] => [fieldset]
         [#access] => []
         [#title] => [Options de publication]
         [#collapsible] => [1]
         [#collapsed] => [1]
         [#weight] => [25]
         [status] => array (
             [#type] => [checkbox]
             [#title] => [Publié]
             [#default_value] => [1]
         )
         [promote] => array (
             [#type] => [checkbox]
             [#title] => [Promu en page d'accueil]
             [#default_value] => []
         )
         [sticky] => array (
             [#type] => [checkbox]
             [#title] => [Epinglé en haut des listes]
             [#default_value] => []
         )
     )
     [buttons] => array (
         [submit] => array (
             [#type] => [submit]
             [#access] => [1]
             [#value] => [Enregistrer]
             [#weight] => [5]
             [#submit] => array (
                 [0] => [node_form_submit]
             )
         )
         [preview] => array (
             [#type] => [submit]
             [#value] => [Aperçu]
             [#weight] => [10]
             [#submit] => array (
                 [0] => [node_form_build_preview]
             )
         )
     )
     [#validate] => array (
         [0] => [node_form_validate]
     )
     [#theme] => array (
         [0] => [pingv_image_node_form]
         [1] => [node_form]
     )
     [#parameters] => array (
         [0] => [pingv_image_node_form]
         [1] => array (
             [storage] => []
             [submitted] => []
             [post] => array (
             )
         )
         [2] => array (
             [uid] => [14]
             [name] => [M]
             [type] => [pingv_image]
             [language] => []
         )
     )
     [#build_id] => [form-e2bc198acff5859e9db2036f3872e29a]
     [#type] => [form]
     [#programmed] => []
     [form_build_id] => array (
         [#type] => [hidden]
         [#value] => [form-e2bc198acff5859e9db2036f3872e29a]
         [#id] => [form-e2bc198acff5859e9db2036f3872e29a]
         [#name] => [form_build_id]
     )
     [#token] => [pingv_image_node_form]
     [form_token] => array (
         [#id] => [edit-pingv-image-node-form-form-token]
         [#type] => [token]
         [#default_value] => [0c6acec679e7cd4687612e384c96b14d]
     )
     [form_id] => array (
         [#type] => [hidden]
         [#value] => [pingv_image_node_form]
         [#id] => [edit-pingv-image-node-form]
     )
     [#description] => []
     [#attributes] => array (
     )
     [#required] => []
     [#tree] => []
     [#parents] => array (
     )
     [#method] => [post]
     [#action] => [/node/add/pingv-image]
 );
goz’s picture

I use hook_form_alter and add field in #submit array but it doesn't appear in drupalforfirebug > forms neither.

jibize’s picture

Hi there,

Same problem here, I don't see any CCK fields in the form tab of the firebug extention. I don't know if it's relevant, but my site is in french as is the exemple shows by GoZ (it contains special characters).

digital_fox’s picture

I don't see any CCK fields in the form tab of the firebug extention too :)

populist’s picture

Status: Postponed (maintainer needs more info) » Fixed

I implemented a smarter shutdown hook and CCK fields should show up in the Forms and Node tab as part of the dev and soon stable release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.