Search code examples
drupaldrupal-blocks

Add a Flash video


I have been trying to figure this out for days. Hope someone can help.

I am implementing a new theme for a site. I added the html to a page.tpl.php file, populated it with the appropriate variables, and it works OK so far.

It consists of a header, footer, and a left and right div. The left div successfully displays the output of the $content variable.

The right div is supposed to show a flash video followed by two images, all displayed vertically, which vary with each page. And here I'm really stuck.

How do I go about adding these?


Solution

  • One final piece to the advice from those above was the following:

    1. "How (where) do I set it up so that the view recognizes that it is on Node 3 and displays only the images for Node 3." -- you can do this by clicking on the settings for the Nid argument in Views. Under Action to take if argument is not present: choose Provide Default Argument. In that, choose Node ID from URL
    2. Position your block in the appropriate region (left sidebar, right sidebar etc). Make sure the visibility settings of the block are such that it only appears at paths that match node/*

    Thanks, all!