The requested news post does not exist!
There are a few possible reasons for this;- The post may have been deleted due to irrelevancy.
- The post never existed.
{% extends 'global/master.tpl' %} {% set newsPosts = viewPost and postExists ? [news.getPost(postExists)] : news.getPosts(postsPerPage)[currentPage] %} {% set pagination = {'page': currentPage, 'pages': news.getPosts(postsPerPage), 'urlPattern': 'SITE_NEWS_PAGE'} %} {% if viewPost and postExists %} {% set commentsCategory = 'news-' ~ newsPosts[0].news_category ~ '-' ~ newsPosts[0].news_id %} {% set comments = newsPosts[0].news_comments.comments %} {% endif %} {% set title %} {% if not (viewPost ? postExists : newsPosts|length) %}Post does not exist!{% elseif viewPost and postExists %}{{ newsPosts[0].news_title }}{% else %}News{% endif %} {% endset %} {% block title %}{{ title }}{% endblock %} {% block css %} {% endblock %} {% block content %}