Page 1 of 1
New installation 1.10.1 pretty URL's config file limit
Posted: Sat Nov 19, 2011 12:04 am
by fearmydesign

Hi, I just did a brand new installation of 1.10.1 and I am trying to follow the steps on the documention to set Pretty URL's but my config.php file has very few lines of code, before (1.9's) had much more... is something wrong with my config file, here is what's in it now...
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'database_username';
$config['db_password'] = 'database_password';
$config['db_name'] = 'database_name';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://www.newwebsite.com';
$config['timezone'] = 'America/New_York';
$config['default_encoding'] = 'utf-8';
?>
These are the instructions I am following for Pretty URL's
http://wiki.cmsmadesimple.org/index.php ... And_Tricks
Re: New installation 1.10.1 pretty URL's config file limit
Posted: Sat Nov 19, 2011 4:31 am
by winkelman
Have you read /doc/CMSMS_config_reference.pdf?
You will see you can add variables for pretty url like in 1.9.4.3

.
Re: New installation 1.10.1 pretty URL's config file limit
Posted: Sat Nov 19, 2011 5:22 pm
by fearmydesign
winkelman wrote:Have you read /doc/CMSMS_config_reference.pdf?
You will see you can add variables for pretty url like in 1.9.4.3

.
Thanks, I did read it and saw that, but I was more focused on the fact that on past versions, all the info was preinstalled (or pre-written) to the config.php file.... but thanks
Re: New installation 1.10.1 pretty URL's config file limit
Posted: Tue Nov 22, 2011 2:19 am
by blackhawk
I just installed cmsms 1.10.1 and if you read the docs folder like fearmydesign said, (which comes with your zip file), they will lead you to the right coding to have SEO friendly URLs enabled. Now if you want something done like that for your CGcalender when display="calendar" - your on your own
You can add/override the proper config variables to config.php if you want to. (tight!) Big ups for that! Its less cluttered and forces the developer actually learn how to use the config.php file properly.
Re: New installation 1.10.1 pretty URL's config file limit
Posted: Tue Nov 22, 2011 2:59 am
by winkelman
blackhawk wrote:Now if you want something done like that for your CGcalender when display="calendar" - your on your own

That's a special part for mod_rewrite and/or CGCalendar (and not related to pretty URL for CMSMS core in general ... what says the author?