how would add php code to the template.index file in /themes/hardwired/template.html.
i tried renaming template.html to template.php and also changed the line define('TEMPLATE_FILE', 'template.php'); in the include/init.inc.php file. It shows the photoalbum fine but i cant add php code to it.
now this has been asked very often...
The answer is: you can't! You can't simply rename the file extension from html to php, as the file isn't actually run in the browser, but it's content is being parsed (meaning it's content is being read and the bracket stuff is being replaced with the coppermine gallery output). Do some search on the board and faq, and read the doc and manual. You can have php code in theme.php and you can use anycontent.php to add some custom dynamical php content.
GauGau