Page 1 of 1

News Module - details page only shows one article

Posted: Tue May 11, 2010 3:41 pm
by irish
I just started using the News module. I set up a few news articles and all looked ok. But no matter which article I select on the category page, the details page will only show the first article that I input.

http://adikat.ie/en_IE/news/

News: 2.10.4
CMS Version: 1.6.7
PHP:  5.2.13
O/S: Linux 2.6
Server Apache

Re: News Module - details page only shows one article

Posted: Tue May 11, 2010 3:45 pm
by RonnyK
Are you having the call {content} in your pagetemplate, or are you only using block-parameters. As {content} is a required call.

Ronny

Re: News Module - details page only shows one article

Posted: Tue May 11, 2010 3:59 pm
by irish
The template calls the {content} tag. I created a page titled News that is calling the {news} tag.

Re: News Module - details page only shows one article

Posted: Tue May 11, 2010 9:44 pm
by Peciura
post your .htaccess file "URL Settings" section from '/config.php'

Re: News Module - details page only shows one article

Posted: Wed May 12, 2010 8:54 am
by irish

Code: Select all

RewriteEngine On

#option to remove directory listings in all folder (avoid publishing unwanted contents)
Options -Indexes

Options +FollowSymLinks

# URL Filtering helps stop some hack attempts
#IF the URI contains a "http:"
RewriteCond %{QUERY_STRING} http\: [OR]

#OR if the URI contains a "["
RewriteCond %{QUERY_STRING} \[ [OR]

#OR if the URI contains a "]"
RewriteCond %{QUERY_STRING} \] [OR]

#OR if the URI contains a "<__script__>"
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]

# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]

#OR script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]

#OR any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]

#IF the URI contains UNION
RewriteCond %{QUERY_STRING} UNION [OR]

#OR if the URI contains a *
RewriteCond %{QUERY_STRING} \*

#then deny the request (403)
RewriteRule ^.*$ - [F,L]

# End URL Filtering

# No sense advertising what we are running
ServerSignature Off

  # 301 Redirect all requests that don't contain a dot or trailing slash to
      # include a trailing slash
            RewriteCond %{REQUEST_URI} !/$
           RewriteCond %{REQUEST_URI} !\.
            RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

           # Rewrites urls in the form of /parent/child/
           # but only rewrites if the requested URL is not a file or directory
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^(.+)$ index.php?page=$1 [QSA]


$config['root_url'] = 'http://adikat.ie';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '/';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';

Re: News Module - details page only shows one article

Posted: Thu May 13, 2010 1:44 pm
by irish
I just noticed that the version doesn't show that I am using the MLE version. I copied and pasted from System Information. I am using MLE 1.6.7. Maybe that is causing the issue?

Re: News Module - details page only shows one article

Posted: Thu May 13, 2010 1:45 pm
by calguy1000
we don't support the MLE version.
and that's the end of that subject.

Re: News Module - details page only shows one article

Posted: Thu May 13, 2010 1:56 pm
by Peciura
Information. I am using MLE 1.6.7. Maybe that is causing the issue?
Post your question to this board http://forum.cmsmadesimple.org/index.ph ... ,41.0.html

And check this file first '/doc/htaccess.mle'.