News detail template parameter being ignored
Posted: Wed Sep 26, 2018 6:18 pm
I have 2 news categories - general and fundraising. I have 2 content pages, News and Fundraising.
The Default page for Detail View Settings for News module in Site Admin is set to News.
On my News page, this is the News tag:
{News summarytemplate="site-news-summary" detailtemplate="site-news-detail" moretext="Read the full article" category="general" number="3"}
This works as expected and probably don't need to specify the summarytemplate and detailtemplate items as these values are the defaults, anyway.
On my Fundraising page, this is the News tag:
{News summarytemplate="site-news-summary" detailtemplate="site-news-fundraising-detail" moretext="Read the full article" category="fundraising" number="3"}
I have a different detail template for the fundraising news articles because I want different breadcrumb navigation.
But when I click on a fundraising article in the summary, it is the default detail template (i.e. site-news-detail) that is being pulled in to display the fundraising article. So, my breadcrumb navigation is wrong for this.
What am I missing with the detailtemplate parameter in the News tag?
System info:
Cms Version: 2.2.8
Installed Modules:
AdminSearch: 1.0.4
CGBetterForms: 1.5
CGExtensions: 1.61.1
CMSContentManager: 1.1.6
Captcha: 1.0
CmsJobManager: 0.1.3
CustomGS: 3.2
DesignManager: 1.1.4
FileManager: 1.6.7
FilePicker: 1.0.3
Gallery: 2.3.2
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.4
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.5
SitemapMgr: 1.5.3
TinyMCE: 3.2-beta5
Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: UTC
permissive_smarty: true
The Default page for Detail View Settings for News module in Site Admin is set to News.
On my News page, this is the News tag:
{News summarytemplate="site-news-summary" detailtemplate="site-news-detail" moretext="Read the full article" category="general" number="3"}
This works as expected and probably don't need to specify the summarytemplate and detailtemplate items as these values are the defaults, anyway.
On my Fundraising page, this is the News tag:
{News summarytemplate="site-news-summary" detailtemplate="site-news-fundraising-detail" moretext="Read the full article" category="fundraising" number="3"}
I have a different detail template for the fundraising news articles because I want different breadcrumb navigation.
But when I click on a fundraising article in the summary, it is the default detail template (i.e. site-news-detail) that is being pulled in to display the fundraising article. So, my breadcrumb navigation is wrong for this.
What am I missing with the detailtemplate parameter in the News tag?
System info:
Cms Version: 2.2.8
Installed Modules:
AdminSearch: 1.0.4
CGBetterForms: 1.5
CGExtensions: 1.61.1
CMSContentManager: 1.1.6
Captcha: 1.0
CmsJobManager: 0.1.3
CustomGS: 3.2
DesignManager: 1.1.4
FileManager: 1.6.7
FilePicker: 1.0.3
Gallery: 2.3.2
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.4
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.5
SitemapMgr: 1.5.3
TinyMCE: 3.2-beta5
Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: UTC
permissive_smarty: true