Seriously, has the contributor actually tested this!!??
I have downloaded the new version from the addons section, and it is still all gash!
All I get on the page is:
<!--bof recent products module-->
<!-- bof: featured products -->
<!-- eof: featured products -->
<!--eof recent products module-->
and the errors:
[24-Feb-2011 18:55:30] PHP Warning: include(includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/site/public_html/includes/templates/template_default/templates/tpl_modules_recent_products.php on line 12
seriosuly, no definition of FILENAME_RECENT_PRODUCTS_MODULE
I manually configured the file path, and when it read the file it errored the page!!
Who is allowing this mod to be uploaded in this "DRAFT" form..
Hello, it am testing this mod and everything seems to be ok.
Is there anyway NOT to make it show up on the home page but on all the other pages?
Frank
You can wrap a test around the code that calls the file or otherwise executes the code:
if (!$this_is_home_page) {
the code to be executed on other pages than home
}
Me thinks something is wrong with this mod. From what I gather this is how it works.
You can activate the sidebox module and it will show the recently viewed products.
Or you can add the code to the product page so when you are at a product page's description, it will show the recently viewed products.
For ME, the sidebox module works. Trying to get the option on the product info page is NOT working. I'm not getting ANY ERRORS, just getting nothing but like I said, the sidebox module is working.
Here is the code.
<!--bof also purchased products module-->
<?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
<!--eof also purchased products module-->
<!--bof recent products module-->
<?php require($template->get_template_dir('tpl_modules_recent_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_recent_products.php');?>
<!--eof recent products module-->
NOW I did make some changes above. The code to call the file was different slightly in the author's instructions and I just made his the same was as the 'also purchased products module' hoping that would fix it but it did not. BOO.
this is the author : motoccnl . You could sent him a pm
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
I m not the author of this module. I just added the possibility to show it on a products page. I already updated it a while ago on the zencart site.
To define 'FILENAME_RECENT_PRODUCTS_MODULE' do the following:
Go to: includes/filenames.php
and ad the following line:
define('FILENAME_RECENT_PRODUCTS_MODULE','recent_products.php');
This way it should work.
Sorry![]()
![]()
![]()
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.