Originally Posted by swguy
Assuming your template name is "custom":
a) copy the button image into includes/templates/custom/buttons/english
(create this directory if it doesn't exist).
b) create includes/languages/english/custom/button_names.php if you have not already done so,
from includes/languages/english/button_names.php
Add the lines
define('BUTTON_IMAGE_ASK_A_QUESTION','button_ask_question.gif');
define('BUTTON_ASK_A_QUESTION_ALT', 'Ask a question');
to this file.
Then, in tpl_product_info_display.php, your code would be:
<div id="askQuestion" class="biggerText">
<?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' .
zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . '</a>'; ?></div>
<br />
ASK_A_QUESTION
</a>
</div>
<br class="clearBoth" />
Good luck,
Scott