3

[Newb]How can i write inside a fieldset

http://drupal.org

Hello everyone, I am Francesco, 22yo, from Italy. :)
I am new to Drupal community and development.
I am working together with the "Pro Drupal Development" book that seems pretty clear and easy to understand.
During the "module development" part of the book they propose the "annotation" module as an example; probably many of you are familiar with it but, just in case...
It lets you leave simple notes for each node you create together with an administration side that allows you to decide which content types can accept those notes.
I followed, and understood, which is the actual point, the steps given by the book and made "my" module work.
The funny and enjoyable part is when you try to get your modification to come to life.
I did some "cool" modifications like you can have more notes for each node rather than only one, and added a new fieldset (plus the one i already have, together with a textarea, for inserting the new note) to show all the notes previously added by the user.
Those modifications are working and i feel very accomplished but there is an issue i can't figure out.

When i add a note the textarea reacts just ok because it has a reference name like "$node->annotation" so that when i want to view the previous note i added i just can do the SELECT statement and then put the result inside "$node->annotation".

read more

Read »
Created by Dplanet 1 year 37 weeks ago
Category: Modules   Tags:
  • Dplanet
  • drupalmodules
  • david_normaan

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for [Newb]How can i write inside a fieldset

Recent comments