Detail template for News module seemingly not working
Posted: Wed Jul 27, 2016 8:16 pm
Hi All.
With reference to the news module. I can't seem to use a detail template. It always uses the default template.
This is how i call the module:
The summary template works perfectly, but when i try to follow the link to the detail page, it uses the default detail template. The URL on the detail page looks like this:
I'm not sure if this is correct, but i'm assuming the d, is supposed to refer to the detail template.
Site details:
With reference to the news module. I can't seem to use a detail template. It always uses the default template.
This is how i call the module:
Code: Select all
{news detailtemplate="Detail Template" summarytemplate="Summary Template" category="Portfolio" detailpage="about"}Code: Select all
https://www.mydomain.com/news/8/42/News-Story/d,Detail%20TemplateSite details:
Code: Select all
----------------------------------------------
Cms Version: 2.1.4
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.1
CGBlog: 1.14
CGExtensions: 1.53.8
CGSimpleSmarty: 2.1
CGSmartImage: 1.21.3
CMSContentManager: 1.1
CMSMailer: 6.2.14
Captcha: 0.5.3
CustomContent: 1.10
DesignManager: 1.1.1
Disqus: 2.1.0
FileManager: 1.5.2
FormBuilder: 0.8.1.4
Forum: 0.9.4
FrontEndUsers: 1.31.3
Gallery: 2.1.5
JQueryTools: 1.3.9
LISE: 1.2.1.1
LISEPortfolio: 1.2.1.1
ListIt2: 1.4.1
ListIt2Test: 1.4.1
MenuManager: 1.50.2
MetaMax: 2.1.5
MicroTiny: 2.0.3
ModuleManager: 2.0.2
Navigator: 1.0.3
News: 2.50.5
Printing: 1.1.2
Search: 1.50.2
SelfRegistration: 1.6.14
Showtime2: 3.5.2
SiteMapMadeSimple: 1.2.8
ThemeManager: 1.1.8
TreeManager: 0.6.0
Config Information:
php_memory_limit:
max_upload_size: 28000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Africa/Johannesburg
permissive_smarty: true
Php Information:
phpversion: 5.4.45
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 24567
E_STRICT: 2048
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 300
register_globals: Off (False)
output_buffering: On
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 28M
upload_max_filesize: 28M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-573.22.1.el6.x86_64 On x86_64
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.50
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Permission Information:
tmp: /home/modhcbsp/public_html/tmp (0755)
tmp_cache: /home/modhcbsp/public_html/tmp/cache (0755)
templates_c: /home/modhcbsp/public_html/tmp/templates_c (0755)
modules: /home/modhcbsp/public_html/modules (0755)
uploads: /home/modhcbsp/public_html/uploads (0755)
File Creation Mask (umask): /home/modhcbsp/public_html/tmp/cache (0755)
config_file: 0400
----------------------------------------------