Hello,
I would like to add the category name below the caption of the image.
I've modified theme.php in my template directory (Project_vii) but can't get it to work dynamically - ie instead of a fix text have the category name.
http://photo06.fr/displayimage-4-2.html
I tried to use {TITLE} but get the caption. I then tried {CAT_TITLE} and I then simply see {CAT_TITLE) displayed - not the actualy category.
In the URL I attached above, I would like the "Nice" to appear.
In advance - thank you!
Hi,
I'm still looking to solve this. I've tried several ways and I can not find how to retrieve the CATEGORY field and integrate it below my intermediary image.
This is the code I have in theme.php:
// HTML template for intermediate image display
if (!isset($template_display_media)) { //{THEMES}
$template_display_media = <<<EOT
<tr>
<td align="center" class="display_media" nowrap="nowrap">
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center">
{IMAGE}
</td>
</tr>
</table>
</td></tr>
<tr><td>
<table width="100%" cellspacing="2" cellpadding="0" class="tableb">
<tr>
<td align="center">
{ADMIN_MENU}
</td>
</tr>
</table>
<!-- BEGIN img_desc -->
<table cellpadding="0" cellspacing="0" class="tableb" width="100%">
<!-- BEGIN title -->
<tr>
<td class="tableb"><center><b>
{TITLE}
</b></center></td>
</tr>
<!-- END title -->
<!-- BEGIN caption -->
<tr>
<td class="tableb"><center>
{CAPTION}
</center></td>
</tr>
<!-- END caption -->
<!-- BEGIN free text -->
<tr>
<td class="tableb"><center>
</p>FREE TEXT GOES HERE</a>.
</center></td>
</tr>
<!-- END free text -->
</table>
<!-- END img_desc -->
</td>
</tr>
EOT;
} //{THEMES}[/code
?>
What I would like is that in the part where I have "FREE TEXT GOES HERE" (in the Begin free text section) that the category appears (in the example link I provide below - I would like "Nice" to appear...
In advance - thank you!