If I put the module tag directly into my template it doesn't work or works a bit but doesn't call a 'detail' template.
If I put the module tag in the page content it works exactly as it should.
This happens with every module I try: News, CGCalendar, ListIt2 etc.
EXAMPLE
So if I put this news module tag in the page content:
Code: Select all
{news inline="1"}
Code: Select all
{content assign="get_content"}<!DOCTYPE html>
<__html>
<head>
<title>Test Page</title>
</head>
</__body>
{$get_content}
<__body>
</__html>
BUT
If I use this template with the News tag built in:
Code: Select all
{content assign="get_content"}<!DOCTYPE html>
<__html>
<head>
<title>Test Page</title>
</head>
</__body>
{news inline="1"}
<__body>
</__html>
My System info:
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8
AceEditor: 0.2.5
CGExtensions: 1.37
CGSimpleSmarty: 1.7
CGSmartImage: 1.11
Captcha: 0.4.6
CustomGS: 1.4
FormBuilder: 0.7.3
GBFilePicker: 1.3.3
SEOTools2: 1.2.1
ListIt2: 1.4
Gallery: 1.6.1
ListIt2XDefs: 1.2
ListIt2frontboxes: 1.4
CGCalendar: 1.10.4
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 5000000
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.20-pl0-gentoo
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 5M
session_save_path: No check because OS path
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.62
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Simon66