Hi,
is there a way to include custom php code in theme.php, including echo and print statements?
thanks,
verena
yes, you're free to add code anywhere. Without more details, you can't expect a ready to copy'n paste answer, as it depends on what you want to insert and where it is suppossed to appear. You're probably looking for a way to add a custom header/footer, so I suggest you take a look into http://forum.coppermine-gallery.net/index.php?topic=9863.0
Joachim
Thanks for your hint, but was looking for something else. I wanted to change the category list and tried to add some php code to this part:
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
<tr>
<td width="100px" class="tableh1"></td>
<td width="100px" class="tableh1"></td>
<td width="100px" class="tableh1"></td>
<td width="100px" class="tableh1"></td>
<td width="*" class="tableh1"></td>
</tr>
<!-- END header -->
but php isn't interpreted in this part of the template. But I found a way to edit
function theme_display_cat_list($breadcrumb, &$cat_data, $statistics)
to get the categories in columns.
verena