I am getting this issue “[message EXCEPTION_SYSTEMCOMPONENT_TEMPLATENOTFOUND filename.tpl]” for overriding the ThankYouController.php. Please any one help me. How to solve the issue.
how you want to override this *.tpl file? with module or from template
p.s paste some code
I need to override the “ThankYouController.php” module file and template “thankyou.tpl” both files.
The error message speaks of “filename.tpl”. You say, it’s “thankyou.tpl”. Is the template file set correctly in your controller?
Yep. Still: pls paste some code
I configured the template file in my controller ThankYouController
“protected $_sThisTemplate = ‘/views/blocks/page/checkout/filename.tpl’;”
Did you add this in template area in
Yes, I add below mentioned code in metadata.php file,
‘blocks’ = array(
‘template’ => ‘page/checkout/thankyou.tpl’,
‘block’ => ‘checkout_thankyou_proceed’,
‘file’ => ‘/views/blocks/page/checkout/filename.tpl’
Templates are not blocks. There is a template section in metadata.