Page 1 of 1
[solved]News module
Posted: Sat Mar 12, 2016 10:57 am
by Lucas2233
i have a problem i want to use the news module for my website i installed al the modules and templates i need but when i click on the articles it says:
Not Found
The requested URL /news/2/1/test- was not found on this server.
i am not a very experienced cmsms user could you please help cause got to finish the website as soon as possible
Re: News module
Posted: Sat Mar 12, 2016 3:25 pm
by DragonWebEU
Lucas2233 wrote:i have a problem i want to use the news module for my website i installed al the modules and templates i need but when i click on the articles it says:
Not Found
The requested URL /news/2/1/test- was not found on this server.
i am not a very experienced cmsms user could you please help cause got to finish the website as soon as possible
I guess pretty url-s are not set up correctly.
If you useing 2.0+ follow this
http://docs.cmsmadesimple.org/configuration/pretty-url
Go to admin panel. Login. Site Admin -> System Maintenance
clear cache, update routes and stuff.
Quick copy for CMS MS 1.9+...
.htaccess
Code: Select all
# BEGIN CMSMS and Rewrite Rules
# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On
# Might be needed in a subdirectory
#RewriteBase /
#BEGIN URL Filtering(helps stop some hack attempts)
RewriteCond %{QUERY_STRING} http\: [OR]
RewriteCond %{QUERY_STRING} \[ [OR]
RewriteCond %{QUERY_STRING} \] [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^.*$ - [F,L]
# END Filtering
# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# index.php?mact=News,cntnt01,default,0&cntnt01number=5&cntnt01lang=&cntnt01category_id=1&cntnt01returnid=40
#RewriteRule ^blog/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ get_blog_post_by_title.php?category_name=$1&post_title=$2
# END CMSMS
config.php
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = '1';
$config['query_var'] = 'page';
Re: News module
Posted: Sun Mar 13, 2016 4:04 pm
by Lucas2233
thanks at the time i posted this topic i didnt find a solution but when i was looking further i fixed it but now when i have the news on the front page the text is on the left side and not in the center as i would like to have it
you can look to the webpage at tillyvandijkcollages.nl im still working on the site but for now i didnt find a solution for this problem im thinking it is something in the css any ideas?