Page 1 of 1

''Home'' does not point to homepage

Posted: Mon Nov 20, 2006 10:18 pm
by Foton
Hi,

All is working well. Excellent CMS!

But....there is a strange thing going on; my ''home'' link in the menu does not point to the homepage, but points to a level up. ???
I installed CMSmadesimple in the directory www.mydomain.com/cmsms and all links work well, except the ''Home''-link, it points to www.mydomain.com/ I searched for hours now, but cannot find any clue to change this to the right page.
The header-image points to the correct homepage www.mydomain.com/cmsms

Was it a one-time-oppertunity while installing CMSMS or can I change it anywhere?

Thanks in advance.

Re: ''Home'' does not point to homepage

Posted: Mon Nov 20, 2006 10:45 pm
by calguy1000
Check your config.php for any obvious errors.

Re: ''Home'' does not point to homepage

Posted: Mon Nov 20, 2006 10:59 pm
by Foton
Dear calguy1000,
I checked the config.php several times, but can not find a error.
Here is what my config.php file partially looks like;

$config['root_url'] = 'http://www.mydomain.com/cms';
$config['root_path'] = '/var/www/vhosts/mydomain.com/httpdocs/cms';
$config['query_var'] = 'page';
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = '/var/www/vhosts/mydomain.com/httpdocs/cms/tmp/cache';
$config['uploads_path'] = '/var/www/vhosts/mydomain.com/httpdocs/cms/uploads';
$config['uploads_url'] = 'http://www.mydomain.com/cms/uploads';
$config['max_upload_size'] = 1000000;
$config['debug'] = false;
$config['assume_mod_rewrite'] = false;
$config['auto_alias_content'] = true;
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = '/var/www/vhosts/mydomain.com/httpdocs/cms/uploads/images';
$config['image_uploads_url'] = 'http://www.mydomain.com/cms/uploads/images';

all links points to ..../cms so that could not be the problem, is it?
Thanks for your quick reply!

PS; even the breadcrum points to the right page, its just the ''home'' in the menu..... :(

Re: ''Home'' does not point to homepage

Posted: Tue Nov 21, 2006 5:40 pm
by Ted
And the home page is just a regular page with a "home" page alias?

Re: ''Home'' does not point to homepage

Posted: Tue Nov 21, 2006 7:26 pm
by Foton
Hi Ted,

Yes, its just a regular homepage made in CMSMS with the ''home'' alias.

The homepage should be the startingpage from the CMSMS. Just as the header-image and the breadcumb points to the homepage of my cmsms, but only the home-button in my menu does not point to the startingpage of CMSMS. It points to www.mydomain.com! And I cannot find the place to change this url to point to www.mydomain.com/cmsms
I hope I made myself a little clear now... :)

Re: ''Home'' does not point to homepage

Posted: Tue Nov 21, 2006 8:44 pm
by Foton
I think I found it, at least it works;
I copied the homepage as home2 and made the first homepage not visable.
That worked for the menu and the header-image, but now the breadcrumb could not find the page.
Finally I changed in the template that I used the breadcrumb line;
{breadcrumbs starttext='U bent nu hier' root='Home' delimiter='»'}
into
{breadcrumbs starttext='U bent nu hier' root='Home2' delimiter='»'}
because the alias for this new homepage was home2 and now all is working......

Thanks for all the support!