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);
1386.
1387. return $this->getTemplateFinder()->getTemplate(
1388. $template,
1389. $params['entity'],
1390. $params['id'],
1391. $locale
1392. );
1393. }
1394.
1395. /**
1396. * Renders and adds color list HTML for each product in a list.
Argument [0] default/blog.tpl Argument [1] Argument [2] Argument [3] en-US
1277. * @param string $default_template
1278. */
1279. public function setTemplate($template, $params = array(), $locale = null)
1280. {
1281. parent::setTemplate(
1282. $this->getTemplateFile($template, $params, $locale)
1283. );
1284. }
1285.
1286. /**
1287. * Removed in PrestaShop 1.7.
Argument [0] default/blog.tpl Argument [1] Array ( [entity] => [id] => ) Argument [2] en-US
56. public function setTemplate($template, $params = array(), $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]
150. 'error' => true,
151. 'path' => $full_path
152. );
153. $this->context->smarty->assign($vars);
154.
155. return $this->setTemplate($config->get('template', 'default').'/blog.tpl');
156. }
157.
158. $category = new psblogcat($blog->id_psblogcat, $this->context->language->id);
159.
160.
Argument [0] default/blog.tpl
200. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
201. $this->initHeader();
202. }
203.
204. if ($this->viewAccess()) {
205. $this->initContent();
206. } else {
207. $this->errors[] = $this->trans('Access denied.', array(), 'Admin.Notifications.Error');
208. }
209.
210. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) {
423. if (isset($params_hook_action_dispatcher)) {
424. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
425. }
426.
427. // Running controller
428. $controller->run();
429.
430. // Execute hook dispatcher after
431. if (isset($params_hook_action_dispatcher)) {
432. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
433. }
23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
24. * International Registered Trademark & Property of PrestaShop SA
25. */
26.
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();