New installation 1.10.1 pretty URL's config file limit

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

New installation 1.10.1 pretty URL's config file limit

Post 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
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
winkelman
Forum Members
Forum Members
Posts: 32
Joined: Sun Dec 19, 2010 9:05 pm

Re: New installation 1.10.1 pretty URL's config file limit

Post 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 ;).
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: New installation 1.10.1 pretty URL's config file limit

Post 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
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

Re: New installation 1.10.1 pretty URL's config file limit

Post 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 ;D

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.
Last edited by blackhawk on Wed Nov 23, 2011 1:23 pm, edited 1 time in total.
winkelman
Forum Members
Forum Members
Posts: 32
Joined: Sun Dec 19, 2010 9:05 pm

Re: New installation 1.10.1 pretty URL's config file limit

Post by winkelman »

blackhawk wrote:Now if you want something done like that for your CGcalender when display="calendar" - your on your own ;D
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?
Locked

Return to “[locked] Installation, Setup and Upgrade”