mp3 player on all pages without stopping

Hi,
Is there a way to design a website to have an mp3 player on all pages that doesn't stop playing at page moving?

Display fields from a different table in default node view

Hi
I am using drupal 7. I created a new table with using node_form_alter.
Now I need the default view (when i click to view a node) show me the information from two tables.

$build = array();
$sql = 'SELECT nid FROM {node} n WHERE n.type = :type AND n.status = :status';
$result = db_query($sql,
array(
':type' => 'purchasing',
':status' => 1,
)
);

Get the content language in page.tpl.php, how can I use $language_content in D7

Hi all,

I've been trying to find out how to get the content language in Drupal 7 (alpha 5).
In the header of page.tpl.php I want to add some content language dependent code.

First I tried $language, but then I found out that this returns the interface language.

When I try

Comment Permissions

Hi all,

I would like some nodes to allow anonymous comments, some nodes not to allow anonymous comments, and some nodes to allow comments by role, but it seems that there is only a single on/off switch for anonymous comments and none at all for comments by role? If so, are there any modules that will do this?

Thanks!

Seeking Assistance Creating Sleek, Modern Website Showcasing Video-Game Related Videos and Content

What I need or require:
I need a cutting-edge, sleek website designed for a new endeavor that will be devoted to showcasing high-definition videos and interactive maps that will serve as walkthroughs for video games. There will be a dedicated page for every video game, and on each page will be a list of 'achievements' and related videos.

In greater detail, visitors will initially see a nice home page when they first arrive at the site. On this page will be a showcase of recent games that have been added to the site, perhaps in a nice interactive gallery style with thumbnails where you hover over a screenshot from the game and the title fades in. Under that gallery will be a space to make bulletins or announcements. At the top should be some dropdown boxes (again very sleek and interactive as I currently have on my site) that allow you to pick the system you are interested in (ex. ps3, pc, xbox 360). When you click that, you are taken to a page that lists all games we have content for.

You then click on a game and are taken to a page that lists all of the achievements/trophies for that game. Achievements/trophies are challenges in video games that many people go online to find help for. To get an idea of what the achievement list will look like: http://www.xbox360achievements.org/game/transformers-war-for-cybertron/a...

What is # in ['#value']

I have looked all over for the answer. Looking at the start of the code for hook_form_alter we have:

function hook_form_alter(&$form, &$form_state, $form_id) { if (isset($form['type']) && $form['type']['#value'] . '_node_settings' == $form_id) {

I can't find a reference describing the use of the # character here. 2 PHP books and php.net and I came up empty.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x