Should replace with:
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">'.ASK_A_QUESTION.'</a>'; ?></b>
works fine now.....
Should replace with:
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">'.ASK_A_QUESTION.'</a>'; ?></b>
works fine now.....
The readme file should say
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
and the file ./includes/languages/english/extra_definitions/ask_a_question_defines.php
should be
<?php
define('ASK_A_QUESTION', 'Ask a question about this product');
?>
I will fix this next time I upload. I'm still hoping some nice person will make a button! :)
~
Thanks,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Scott-
Just to clarify, the edit recommended below is a replacement for the edit recommended in the readme for includes\templates\TYOUR_TEMAPLATE\templates\tpl_product_info_display.php
Also can you not incorporate the button Marg bundled with her previous version?The readme file should say
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
and the file
/includes/languages/english/extra_definitions/ask_a_question_defines.php
should include:
define('ASK_A_QUESTION', 'Ask a question about this product');
And is your updated version known to work on all versions of Zen Cart 1.3x. And does it work on previous 1.2x versions? Hope so as I see Marg's version is no longer available in download area.
I like your new leaner more efficient design and works well on v.1.3.0.2 (fresh install). Nice job.
Woody
In case anyone wants to visit the support thread for the previous mod version:
http://www.zen-cart.com/forum/showthread.php?t=36598
And the previous archives for that thread is at http://www.zen-cart.com/forum/showthread.php?t=6098
Your changes look good.
I have only verified this with 1.3.0.2; you would have to verify it with other 1.3's. And I have no idea about 1.2.
I downloaded Marg's contribution prior to it being deleted and there was no button in it. These things were all text prior to 1.3.
Good luck,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Yes that is why I was wondering why Marg's version was removed from the downloads area as it also support previous ZC versionsOriginally Posted by swguy
Marg updated her "ask_a_question_v1.3.0" for 1.3x (last file change is May 24, 2006). I have it running on Zen Cart 1.3.0.1. Including the graphic button provided in that same version. Previous version from Apr 06, 2006, which also ran on ZC 1.3x also had the button included.Originally Posted by swguy
Button is attached.
I have installed this contribution and it works fine - except when HTML emails are slected. The emaila is still sent but there is no reference to the actual product that the question is being asked about. Any ideas as to why this is?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.