diff --git a/modules/Blog/Article/Resources/lang/en/module.php b/modules/Blog/Article/Resources/lang/en/module.php index 8b9f7e18..1e272945 100644 --- a/modules/Blog/Article/Resources/lang/en/module.php +++ b/modules/Blog/Article/Resources/lang/en/module.php @@ -7,5 +7,6 @@ return [ 'blog' => 'Blog', 'allArticles' => 'All articles', 'newArticle' => 'Write new article', - 'editArticle' => 'Editing article' + 'editArticle' => 'Editing article', + 'templatePath' => 'Articles', ]; \ No newline at end of file diff --git a/modules/Blog/ArticleList/Resources/lang/en/module.php b/modules/Blog/ArticleList/Resources/lang/en/module.php index 581543b4..98b22ac7 100644 --- a/modules/Blog/ArticleList/Resources/lang/en/module.php +++ b/modules/Blog/ArticleList/Resources/lang/en/module.php @@ -2,4 +2,5 @@ return [ 'name' => 'Article list', 'description' => 'Module for displaying list of articles on web', + 'templatePath' => 'Article list', ]; \ No newline at end of file diff --git a/templates/Binarity/Handler.php b/templates/Binarity/Handler.php index 86915a03..faf5bf2c 100644 --- a/templates/Binarity/Handler.php +++ b/templates/Binarity/Handler.php @@ -76,11 +76,11 @@ class Handler implements TemplateHandler ], [ 'module' => 'ArticleList', - 'templateName' => 'articlelist::admin.templatePath' + 'templateName' => 'articlelist::module.templatePath' ], [ 'module' => 'Article', - 'templateName' => 'article::admin.templatePath' + 'templateName' => 'article::module.templatePath' ], ]; }