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
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?
With the html email, I think you'd have to add another file in the email directory ... I haven't used that so I didn't look into it.
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.
Re: Marg's contribution
I looked for it when I started working on this, which was only about a month ago, and didn't see it. I really can't speak to the question of its deletion; perhaps the mods can speak up.
As noted in the readme file, I ported this myself because I noticed it was missing from 1.3 and I enjoyed using it back in 1.27d.
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.
There was no call up for the product in the HTML version of the email.
I ended up modifying /includes/modules/pages/ask_a_question/tpl_header_php.php and it all works fine now.
For anyone that is interested:
Replaced -
With -Code:$html_msg['EMAIL_MESSAGE_HTML'] = strip_tags($_POST['enquiry']);
Code:$html_msg['EMAIL_MESSAGE_HTML'] = '<b>Product: </b><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $_GET['products_id']) . '">' . $product_info->fields['products_name'] . '</a><br />' . strip_tags($_POST['enquiry']);
I just uploaded a version with the fixes that have been suggested plus the button that was posted. It should be available in a few days after the mods approve it.
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.
Ask A Question users who are also using the button (instead of a text link): be sure to merge the new 1.3.7 includes/languages/english/button_names.php file changes with your customizations.
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.
Hi swguy,
Just installed the AAQ mod and get the follwoing error when clicking on th eAAQ link:
Warning: require(includes/templates/template_default/templates/tpl_ask_a_question_default.php) [function.require]: failed to open stream: No such file or directory in /***/template_default/common/tpl_main_page.php on line 119
Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_ask_a_question_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /***/template_default/common/tpl_main_page.php on line 119
This error was mentioned in a couple of eariler posts but other than "dont bother I uninstalled it", and "....figured out what I did wrong...was my own stupidity...."... no other fix or tip for fixing the problem was noted by the author which isn't a lot of help with other cart owners suffering from 4am brain freeze! :)