
Originally Posted by
ehswift
I am using a customized version of the responsive_classic template included in Zen Cart 1.5.5d and those files are no longer in the includes\templates\MY-CUSTOM-RESPONSIVE\templates folder as you suggested, however they are still there in the includes\templates\responsive_classic\templates folder. When I created my own template I used the override system and just copied all of the files from the responsive_classic template to my custom responsive template folder before making any modifications. Did I miss a step here?
Also, help me understand something please. When I use the template override system for my own custom responsive template am I still supposed to use the same override system in the template_default folders as well? I think this is where the confusion is coming into play.
There are 3 template files affected, assuming you want the Recaptcha widget on all 3 of those pages:
/includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_write_default.php
To update these templates for v1.5.5, specifically for responsive_classic compatibility in your own custom modified responsive_classic:
1. copy their equivalent from responsive_classic over to your modified template. In the case of contact_us this is easy because the file was included.
For the other two, there were no changes from template_default, so the plugin author didn't provide them, since the template_default was already modified to include the widget.
OR, just follow the instructions in the readme to put the recaptcha widget where you wanted it, by adding this line:
Code:
<?php echo recaptcha_get_html(); ?>
For convenience I've updated the plugin zip with complete copies of the affected v155 templates, which you can merge with your modified-responsive_classic template. https://www.zen-cart.com/downloads.php?do=file&id=1455
Bookmarks