• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 3:50 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
Tried replacing the .htaccess that came with CMSMS...still nothing :(

This is really stressing me out! For the life of me I can't understand why...

http://www.gymnasticsvillage.com/about- ... ays-2.html works but

http://www.gymnasticsvillage.com/about-us/holidays.html doesn't when they're both using the same template.

Stab in the dark but I've pasted the config file below...I set the heirarchy to 'false' but that didn't do anything. I set the global setting to NOT use heirarchy - per what I found in the forums - still nada!

I purposely removed the password stuff:

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '';
$config['db_password'] = '';
$config['db_name'] = '';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://www.gymnasticsvillage.com';
$config['timezone'] = 'America/New_York';
$config['default_encoding'] = 'utf-8';
$config['url_rewriting'] = 'mod_rewrite';

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = 'false';

#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
?>


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 3:52 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
sorry...I meant http://www.gymnasticsvillage.com/classes/holidays.html doesn't work.

It DOES work when I remove the heirarchy though!


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 3:56 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
I missed the comment about the rewrite conditions.

They are in the htaccess that comes with CMSMS and it looks like it was in the original as well.


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 3:57 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
When this is solved, I'll need to take a trip to the Netherlands and Austria and buy you guys a beer!

:)


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 3:58 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3643
Location: The Netherlands
lprintz wrote:
it looks like it was in the original as well.

Explain why it wasn't in your post then... :-X

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:14 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
Am I smoking something?

It is in my post...towards the bottom


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:19 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3643
Location: The Netherlands
must be me who is smoking then ???

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:26 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
Perhaps this call all be eliminated if I can just get the friggin heirarchy off there!

Any ideas?

In my global settings I have Automatically create page URL's:Yes and Automatically created URL's are flat:Yes

Cleared the cache but it didn't do anything :(


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:28 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3643
Location: The Netherlands
Thats a dead end.. hierarchy is true by default and the setting is deprecated for newer versions of CMSms... 1.11 doesn't understand it anymore IIRC.

You might want to upgrade to 1.11 anyway ;)

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:42 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 1979
Location: Feldkirchen in Kärnten, Austria
URL's will be automatically created when you add new pages, you will need to edit "URL" field for existing pages.
You could also change alias of "Classes" page to make sure if some rewrite rule or redirect exists somewhere and redirects anything with "classes" in url.

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:49 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3643
Location: The Netherlands
the url http://www.gymnasticsvillage.com/index. ... e=holidays is working oke, so my definitive guess is that the cause of your issue is in your .htaccess

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 4:54 pm 
Offline
Forum Members
Forum Members

Joined: Thu Jun 19, 2008 5:59 pm
Posts: 76
IT WORKS!

It still bugs me why it didn't work in the first place but I changed the top level page alias and voila!

Thanks uniqu3!

Len


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 5:02 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Aug 12, 2008 9:30 pm
Posts: 1979
Location: Feldkirchen in Kärnten, Austria
lprintz wrote:
It still bugs me why it didn't work in the first place


Because Jos and me are trying to tell that you have somewhere some sort of rewrite or redirect rule setup on your server for like 10 replies now but seems you do not read what we reply :o
And as we are not magicians we have NO idea what kind of files, rules or whatever else you might be running there.

But it works now, case close ;)

_________________
CMSMS Blog - I do this!
Forge profile
Github profile
Twitter
=============================================
Support CMSMS


Top
 Profile  
 
 Post subject: Re: Submenus not working - PLEASE HELP!
PostPosted: Tue Jul 31, 2012 10:24 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11812
Location: Arizona
If you have a flat file in the root somepage.thml and you have pretty URLs on CMSMS that is also in the root and make a page called somepage then when your menu has link to yoursite.com/somepage.html it will go to the flat file not the CMSMS page, turn off pretty URLs in CMSMS till you are done...

If you are trying to replace and existing site with same name pages etc. I would put CMSMS in yoursite.com/cmsms subfolder till it's done then move it to root...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner