need a help in drupal theme_field modification

 /* function theme_field($variables) {
  $output = '';

  // Render the label, if it's not hidden.
  if (!$variables['label_hidden']) {
    $output .= '<div class="field-label"' . $variables['title_attributes'] . '>' . $variables['label'] . ':&nbsp;</div>';
  }

  // Render the items.


  $output .= '<div class="field-items"' . $variables['content_attributes']. '>';

  foreach ($variables['items'] as $delta => $item) {
    $classes = 'field-item ' . ($delta % 2 ? 'odd' : 'even');

Post node to a category like the forum does

I have a list of terms that once clicked, it takes you to list of nodes associated with the term. I want to add node creation link at the top of the page and if someone post a node using the link, it will post the node in that term. How can I get the node add form to post under the term that it was clicked from?

drush - which folder for install on VPS / root server (newbie)

Hi dear drupalers

new to drupal - I want to install drush on my linux root-server: my friend does the root
adminstration.

i will work on all my drupal domains - but i guess that i do not need root access.
Can anyone please tell me which folder I should use to install drush?

Do you need to have my file structure?

Thank you in advance!

Well a friend told me to take $HOME/local/drush, but cant we put it anywhere;
we just need to make sure that drush is in our $PATH. See the README.

creating an overview on ++ 6000 groups: is this doable with organic-group in drupal ?

i have to extend the groups on my newly installed drupal-commons Version 6x24

(running on http://www.schulcenter.org - and see here http://schulcenter.org/?q=group/schulen )

How can i configure / extend the groups (/on the database-level)?

i want to create the following fields - see the names of the collumns

-name of the school
-adress
-type
-homepage
-additional name
-description
-fields of interest

PHP & Drupal

I recently started using Drupal with some very basic knowledge of PHP. So far so good. But now I really want to adapt some existing modules to meet my needs and need to brush up my knowledge of PHP. Can any of you advise me where I should start? What PHP-topics are really important if I want to start developing for Drupal?

Update manager doesnt install

Hi,

I have a quirk whereby when I try to use Update Manager to download security updates for a module, a new dialog comes up saying its downloading but it just sits there and eventually I give up on it..

Ive checked the file manager in cpanel to see if anything got downloaded but it looks like nothing ever does.

Has anyone else had this issue?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x