Say I wanted to add some HTML code to the slide show page, and I wanted to put it right under the picture in the slideshow ( the black area). Where and how would I put this in?
Edit themes/yourtheme/theme.php
Find function theme_slideshow()
If this line doesn't exist, pastefunction theme_slideshow()
{
global $CONFIG, $lang_display_image_php, $template_display_media;
pageheader($lang_display_image_php['slideshow']);
include "include/slideshow.inc.php";
$start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
template_extract_block($template_display_media, 'img_desc', $start_slideshow);
$params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
'{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
'{ADMIN_MENU}' => '',
);
starttable();
echo template_eval($template_display_media, $params);
endtable();
starttable();
echo <<<EOT
<tr>
<td align="center" class="navmenu" style="white-space: nowrap;">
<a href="javascript:endSlideShow()" class="navmenu">{$lang_display_image_php['stop_slideshow']}</a>
</td>
</tr>
EOT;
endtable();
pagefooter();
}
into a new line before?>
To add some HTML directly underneath your slideshow section, replace endtable();
starttable();
with endtable();
echo <<<EOT
Your custom HTML goes here.
EOT;
starttable();
and edit accordingly.
Thanks. It worked fine.