I've installed the "AAQ" and I'm using the latest version of Zen.
I followed the instructions provided.
HTML Code:
Move includes/templates/template_default/templates/tpl_product_info_display.php
to your own template directory, if it's not already there.
In this file, find: <!-- eof Product details list -->
On the following line, insert this block of code:
<span id="productQuestions" class="biggerText">
<br />
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
</span>
<br class="clearBoth" />
Alternately, you may use the button provided. To do this, insert
<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 />
<br class="clearBoth" />
The button link show's up fine on the product page. However when I click on it. the link just takes me to,
index.php?main_page=FILENAME_ASK_A_QUESTION&products_id=416
I thought the latest version as as easy as copying over one file into the includes\templates\template_default\templates\tpl_product_info_display.php
I even created a new path with my template name.
Why isn't this working when I click on it?
Bookmarks