Hi,
I'd like to insert a line in the following data.php sile for a slideshow in the homepage of his drupal website:
http://www.etoile-cinemas.com/
This line should display the days and hours for each film (slide)
For the moment, the slideshow displays a clickable logo of the cinema in which the film is projected.
The days and hours appear at several other locations in the website (for each film description):
http://www.etoile-cinemas.com/film/ghost-writer
And on roll over:
http://www.etoile-cinemas.com/films
This displays the logo for the cinema: $record[salle] = $row[salle];
And this should display the days and hours: $record[programmation] = $prog = db_fetch_array($r);
But these days and hours don't display at all.
Does someone have an idea of what could be wrong and in what direction I could search to find a solution?
Thank you
Cathy
/* --------------------------------------------------------------------------------------------- */
/* ------------ Your slideshow content for this Frontpage Slideshow 1.7.x instance. ------------ */
/* --------------------------------------------------------------------------------------------- */
/*
*** TIP ***
-----------
To add more slides to your FPSS slideshow, simple copy/paste and then change per your needs the data blocks marked with "slide elements".
*/
$slides = array();
foreach ($slideShowDynamicData as $row) {
$record[slidelink] = '';
$record[title] = $row[title];
// Delphine $record[category] = 'Réalisé par '.$row[field_film_director_value].'<br>'.'Avec '.$row[field_film_actor_main_value].'<br>';
$record[category] = 'Réalisé par '.$row[field_film_director_value].'<br>';
if ($row[field_film_actor_main_value]) $record[category].= 'Avec '.$row[field_film_actor_main_value].'<br>';
$record[tagline] = '';
$record[text] = '';
$record[salle] = $row[salle];
$record[programmation] = $prog = db_fetch_array($r);
$record[slideimage] = $row[field_film_photo_home_fid];
preg_match("/href=\"(.*?)\"/", $row[view_node], $regs);
$record[slidelink] = $regs[1];
$slides[] = $record;
}