CMS MADE SIMPLE FORGE

Products

 

[#8962] Sample Detail template refers to ecommerce module which is not a dependency

avatar
Created By: Paul Baker (paulbaker)
Date Submitted: Wed Feb 20 16:58:54 -0500 2013

Assigned To:
Version: 2.18.4
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Sample Detail template refers to ecommerce module which is not a dependency
Detailed Description:
When you visit a detail page using an unedited Sample Detail template (shipped
with the installation) you get an error:

Error: at line 702 in file
/home/ctw/public_html/cmsms/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax Error in template "module_db_tpl:Products;detail_Sample"  on line 108
"{cgecomm_form_addtocart product=$entry->id}" unknown tag
"cgecomm_form_addtocart"

No ecommerce module is installed - I don't need it in my website.

If you change line 108 to 
{* cgecomm_form_addtocart product=$entry->id *}
the template works without error.

I don't think default templates included with modules should refer to other
modules which are not dependencies.


History

Updates

Updated: 2013-09-05 18:21
cmsms_version_id: 29887 => -1
state: Open => Closed

Updated: 2013-02-21 18:47
resolution_id: => 7