Closed bettysteger closed 3 years ago
Sorry it’s a bug, just remove that modifier and it will work.
st 9. 12. 2020 v 12:05 odesílatel Bettina Steger notifications@github.com napsal:
I am using version 4.11.5 and MULTIVENDOR in CS Cart. I am completely new to this and just installed the Boilerplate Theme. It throws this exception:
SmartyCompilerException
Message Syntax error in template "/home/shopxkbq/www.shop.kauftregional.at/shop/design/themes/cscz-boilerplate/templates/blocks/product_list_item_templates/products_item_default.tpl" on line 17 "{$product.product|zfn_replace_index nofilter}" unknown modifier "zfn_replace_index"
Error at app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php, line: 17
Backtrace File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php Line:133 Function:trigger_template_error
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php Line:570 Function:compile
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php Line:349 Function:callTagCompiler
File:app/functions/smarty_plugins/smarty_internal_compile_private_print_expression.php Line:70 Function:compileTag
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php Line:570 Function:compile
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php Line:349 Function:callTagCompiler
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php Line:3549 Function:compileTag
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php Line:4413 Function:yy_r24
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php Line:4515 Function:yy_reduce
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php Line:118 Function:doParse
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php Line:283 Function:doCompile
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php Line:197 Function:compileTemplate
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php Line:155 Function:compileTemplateSource
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php Line:304 Function:fetch
File:var/cache/templates/cscz-boilerplate/db797d6d825857ed17e16e2dacad2fa23eff685d.tygh.products_scroller.tpl.php Line:128 Function:getSubTemplate
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php Line:188 Function:content_5fd0ad0a9a7563_05067572
File:app/Tygh/SmartyEngine/Core.php Line:77 Function:fetch
File:app/Tygh/BlockManager/RenderManager.php Line:672 Function:fetch
File:app/Tygh/BlockManager/RenderManager.php Line:484 Function:renderBlockContent
File:app/Tygh/BlockManager/RenderManager.php Line:406 Function:renderBlock
File:app/Tygh/BlockManager/RenderManager.php Line:364 Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php Line:229 Function:renderGrid
File:app/Tygh/BlockManager/RenderManager.php Line:199 Function:renderGrids
File:app/Tygh/BlockManager/RenderManager.php Line:163 Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php Line:52 Function:render
File:var/cache/templates/cscz-boilerplate/3adfe7e0f31585c4419ae161c1f6fe364224556e.tygh.index.tpl.php Line:154 Function:smarty_function_render_location
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php Line:188 Function:content_5fd0ad096968e1_68472354
File:app/Tygh/SmartyEngine/Core.php Line:77 Function:fetch
File:app/functions/fn.control.php Line:595 Function:fetch
File:index.php Line:25 Function:fn_dispatch
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mcer12/CSCZ-Boilerplate/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAMMALFEZBQJXXSDFVXU2LST5KXTANCNFSM4UTKJVKA .
Will be fixed asap. Please let us know if you find any more issues. Also any contributions are welcome!
@mcer12 Thank you, I can also make a Fork and create Pull Requests. I just cloned this repository into a private one to work on a new theme for a client.
I am so glad that i've found a boilerplate theme with Bootstrap 4 and SCSS :)
Do you have a roadmap or something? Or which kind of contributions do you have in mind? bug fixes probably?
If you find something that doesn't work properly, create an issue, we will try to fix it or a PR. There will be plenty redundant / old BS3 css classes in the templates but since this repository is meant for custom work and will mostly be rewritten for each project anyway, this is not a priority. It's really a bare minimum to build upon. That said, if you stumble on a hook not working or missing microformat, that's important and needs to be addressed.
We will push changes as we work with the repository, that's the roadmap :) We hope for more people to use this repository and contribute with the changes as the original boilerplate is quickly becoming completely unusable for new projects and the stock theme is not built for custom work.
@mcer12 ok i think this should be linked in the CS cart documentation somewhere, because it was not easy to find this repository.
I am using version 4.11.5 and MULTIVENDOR in CS Cart. I am completely new to this and just installed the Boilerplate Theme. It throws this exception: