News Module - details page only shows one article

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
irish
Forum Members
Forum Members
Posts: 101
Joined: Tue Jun 03, 2008 2:31 pm

News Module - details page only shows one article

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News Module - details page only shows one article

Post 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
irish
Forum Members
Forum Members
Posts: 101
Joined: Tue Jun 03, 2008 2:31 pm

Re: News Module - details page only shows one article

Post by irish »

The template calls the {content} tag. I created a page titled News that is calling the {news} tag.
Peciura

Re: News Module - details page only shows one article

Post by Peciura »

post your .htaccess file "URL Settings" section from '/config.php'
irish
Forum Members
Forum Members
Posts: 101
Joined: Tue Jun 03, 2008 2:31 pm

Re: News Module - details page only shows one article

Post 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';
irish
Forum Members
Forum Members
Posts: 101
Joined: Tue Jun 03, 2008 2:31 pm

Re: News Module - details page only shows one article

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: News Module - details page only shows one article

Post by calguy1000 »

we don't support the MLE version.
and that's the end of that subject.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Peciura

Re: News Module - details page only shows one article

Post 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'.
Post Reply

Return to “CMSMS Core”