styles

marymasterman's picture

Problem editing styles of fields in expert mode

This may have been asked elsewhere, but I am having trouble finding it. Sorry if this is a stupid question, I am very new to all of this...

I am completely new to CSS and Drupal, so I have been having some trouble with this. I am using Display Suite to display fields in three columns. Right now the fields look very drab. I want to put space in between them (wrapper?) and change the fonts, etc.

Read more
slashrsm's picture

[GSoC proposal] Derivates API for Media ecosystem (D7)

Overview: The goal of this project is to implement Derivates API for Media Library (Media, Styles, ...) ecosystem in Drupal 7. This API will provide a flexible, extensible and abstract API to implement derivation engines for different types of files.

Description:

Read more
aaron's picture

Embedded Media Field Roadmap for Version 2

FYI, Alex UA and I are planning a version 2 of Embedded Media Field, in part to prepare for the transition to the Media module for Drupal 7.

Here's the road map, mostly for my reference:

Read more
tegila's picture

Panel Styles

where can i find some documentation about how to create a new "Panel Styles" ?

i tried do that using the functions below in a file called: window.inc inside modules/panel/styles.
But, nothing happen. I also tried remove $output = theme('panels_pane', $content, $pane, $display); to see something wrong happen, but nothing.

function panels_window_panels_styles() {
  return array(
    'window' => array(
      'title' => t('Window'),
      'description' => t('Create a window style'),
      'render pane' => 'panels_window_style_render_pane',
    ),
  );
}

function theme_panels_window_style_render_pane($content, $pane, $display) {
  $output = theme('panels_pane', $content, $pane, $display);

  if (!$output) {
    return;
  }

  return render_window_box($content);
}

function render_window_box($content)
{
return <<< EOF
    <div class="window">
        $content
    </div>
EOF;
}

Subscribe with RSS Syndicate content