Help with proper menu display.

I just got drupal 7.10 installed and my site is starting to take shape. The problem I'm having is that the menus are all squished. They didn't start that way. Somewhere along the line they went from being wide and displaying everything on a single line to narrow and splitting it up. How do I fix this? Here's the site:

www.computersandcircuits.com

Thanks in advance!

Imageboard

I was interested in making a website similar to the popular imageboards.

I'm not sure if it is possible with a fairly vanilla installation or with a special module.

Has anybody done this? Any ideas? I started doing it via the node, but can't work it out.

two forms in one module

Hi, I have a question: is possible build two different forms in one module?
The module is call ticket.module and I have this code, but not works:

What's the best way of working on a Drupal site offline and synchronising my changes with the live site later?

Hi. This is probably a very basic question so if there is a page somewhere in the docs that I've missed please let me know...

At the moment I administer a Drupal site and make all my changes and content additions "live" on the site. But is there an easy way to make changes to an identical installation on my home PC, and when finished, synchronise the changes with the live site?

(And is there an approach that would also do the reverse - synchronise any changes made on the live site to the site on my local PC?)

How to use the Date module API?

Hello,

I'm going to use the Date API of the Date Module to render a simple date widget.

There is not much documentation but the most helpful is: Date Form Elements

I created the following field definitions in the .install file and my code is based on the node_example:

function _event_installed_fields() {
  $t = get_t();
  return array(
    'event_date' => array(
      'field_name' => 'event_date',
      'type'        => 'date',
      'settings' => array(
        'tz_handling' => 'date',
      ),
    ),
  );
}

function _event_installed_instances() {
  $t = get_t();
  return array(
    'event_date' => array(
      'field_name' => 'event_date',
      'label'       => $t('Der Zeitpunkt des Events.'),
      'widget'      => array(
        'type'    => 'date_select', // see https://drupal.org/node/1364748
      ),
      'display' => array(
        'event_list' => array(
          'label' => 'hidden',
          'type' => 'date_select',
        ),
      ),
    ),
  );
}

This is my event_form() in .module:

function event_form($node, $form_state) {
$form = array();

$type = node_type_get_type($node);

// implementation of the title field

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x