No template found for default/blog.tpl
at line 68 in file classes/Smarty/TemplateFinder.php
63. return $tpl;
64. }
65. }
66. }
67.
68. throw new PrestaShopException('No template found for ' . $template);
69. }
70.
71. private function getTemplateHierarchy($template, $entity, $id)
72. {
73. $entity = basename($entity);
1411. )) {
1412. return $overridden_template;
1413. }
1414.
1415. return $this->getTemplateFinder()->getTemplate(
1416. $template,
1417. $params['entity'],
1418. $params['id'],
1419. $locale
1420. );
1421. }
Argument [0] default/blog.tpl Argument [1] Argument [2] Argument [3] lt-LT
1305. * @param string $default_template
1306. */
1307. public function setTemplate($template, $params = [], $locale = null)
1308. {
1309. parent::setTemplate(
1310. $this->getTemplateFile($template, $params, $locale)
1311. );
1312. }
1313.
1314. /**
1315. * Removed in PrestaShop 1.7.
Argument [0] default/blog.tpl Argument [1] Array ( [entity] => [id] => ) Argument [2] lt-LT
56. public function setTemplate($template, $params = [], $locale = null)
57. {
58. if (strpos($template, 'module:') === 0) {
59. $this->template = $template;
60. } else {
61. parent::setTemplate($template, $params, $locale);
62. }
63. }
64.
65. public function initContent()
66. {
Argument [0] default/blog.tpl Argument [1] Array ( ) Argument [2]
167. 'error' => true,
168. 'path' => $full_path
169. );
170. $this->context->smarty->assign($vars);
171.
172. return $this->setTemplate($config->get('template', 'default').'/blog.tpl');
173. }
174.
175. $category = new psblogcat($blog->id_psblogcat, $this->context->language->id);
176.
177.
Argument [0] default/blog.tpl
301. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
302. $this->initHeader();
303. }
304.
305. if ($this->viewAccess()) {
306. $this->initContent();
307. } else {
308. $this->errors[] = $this->trans('Access denied.', [], 'Admin.Notifications.Error');
309. }
310.
311. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
513. if (isset($params_hook_action_dispatcher)) {
514. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
515. }
516.
517. // Running controller
518. $controller->run();
519.
520. // Execute hook dispatcher after
521. if (isset($params_hook_action_dispatcher)) {
522. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
523. }
23. * @copyright Since 2007 PrestaShop SA and Contributors
24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
25. */
26.
27. require dirname(__FILE__).'/config/config.inc.php';
28. Dispatcher::getInstance()->dispatch();