OpenCraft
Follow OC!
  • Home
  • About
  • Solutions
  • Portfolio
  • Clients
  • Blog
  • Contact

rfaddoul's blog

Mon, 2008-06-09 11:14
Tags:
  • coding
  • drupal
  • theming

Coloring 1pixelout flash player in audio module

By: 
Rita Faddoul

In order to theme the 1pixelout player in drupal, you need to paste the following code in the template.php file of the theme.

<?php
function phptemplate_audio_1pixelout_node_player($node, $options = array()) {
  $defaultoptions['leftbg'] = '0x000000';
  $defaultoptions['rightbg'] = '0x000000';
  $defaultoptions['lefticon'] = '0xFFFFFF';
  $defaultoptions['righticon'] = '0xFFFFFF';
  $options = array_merge($defaultoptions, $options);
  return theme_audio_1pixelout_node_player($node, $options);
}
?>
Read more

  • 2 attachments

Our work

Grameen Foundation

The Grameen Foundation launched the open source loan-tracking...

African Network for Localisation

Building a community driven drupal site to support the African...

View our complete portfolio


OpenCraft

  • About
  • Team
  • Process
  • Community
  • Media Kit
  • Portfolio
  • Clients
  • Industries
    • Social economic development
    • Multimedia culture
  • Services
    • Drupal development
    • Information architecture
    • Open source software development
    • Social network engineering
  • Request quote
  • Contact
  • Search
Blog

Our profiles at:

Drupal Google
rss

Creative Commons License
search