CMSMS 0.13 & pretty URLs

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pinthenet

CMSMS 0.13 & pretty URLs

Post by pinthenet »

Just upgraded a test installation from 0.12.2 to 0.13. It's running on EasyPHP (== Apache)

If I remove my old .htaccess and set 'internal_pretty_urls' & 'use_hierarchy' to true the generated URLs miss the top level hierarchy when I'm one or two levels down in the menu (I'm still using cssmenu - could that be it?). mod_rewrite is false

Eg
http://127.0.0.1/cms/index.php//Ausbild ... essur.html
instead of
http://127.0.0.1/cms/index.php/Angebot/ ... essur.html

If I switch 'use_hierarchy' to false, all the image URLs get messed up - eg
http://127.0.0.1/cms/index.php/uploads/ ... tall_1.JPG
instead of
http://127.0.0.1/cms/uploads/images/layout/Stall_1.JPG

If I view the generated page's source code the image is correctly defined
eg <img src="uploads/images/layout/Stall_1.JPG"

Do I need to change some other parameters? I've got the {metatags} in the template (why?)

John
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: CMSMS 0.13 & pretty URLs

Post by petert »

it's {metatag}

This tag sets the base for all the files and images.
In the cmsms genrated source you should something like '' in the of your pages
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMSMS 0.13 & pretty URLs

Post by Ted »

Actually, it's {metadata}.
pinthenet

Re: CMSMS 0.13 & pretty URLs

Post by pinthenet »

(sorry for the metadata confusion :-[)

The correct tag is there & I see the in , but I still get either the missing level (and double /), or incorrect image URLs
pinthenet

Re: CMSMS 0.13 & pretty URLs

Post by pinthenet »

Just seen something else (I switched to Menumanager with cssmenu.tpl)

I hope my terminology is understandable:

If I select a top-level only menu entry it's correct
eg http://127.0.0.1/cms/index.php/Home.html

If I select a menu entry from the second level of a menu entry that only has second level entries, it also works
eg http://127.0.0.1/cms/index.php/Reitbetrieb/Betrieb.html

But if I select a 2nd or 3rd level entry from a top-level entry that has a mix of sub and sub-sub menus it always loses the top level

eg
http://127.0.0.1/cms/index.php//Ferienbetreuung.html
and
http://127.0.0.1/cms/index.php//Ausbild ... essur.html

are under top-level menu 'Angebot'
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMSMS 0.13 & pretty URLs

Post by Ted »

Hmm.  I'll have to do some research on that one.  Sounds like a bug to me.
pinthenet

Re: CMSMS 0.13 & pretty URLs

Post by pinthenet »

I've fixed it! I thought the problem might be because my top-level entries with sub-menus were type 'Section Header' . I switched one to 'Content' and the URLs were then shown correctly. I then switched back to 'Section Header' and the URLs remained correct, even after a Clear Cache - seems it needed a kick.

Maybe I only needed to resubmit those pages?

John
jeldert

Re: CMSMS 0.13 & pretty URLs

Post by jeldert »

pinthenet wrote: I've fixed it! I thought the problem might be because my top-level entries with sub-menus were type 'Section Header' . I switched one to 'Content' and the URLs were then shown correctly. I then switched back to 'Section Header' and the URLs remained correct, even after a Clear Cache - seems it needed a kick.

Maybe I only needed to resubmit those pages?

John
I can confirm this, and it can even be done simpler: Just click on the section header and click on submit. Now the URL's are all good.
Locked

Return to “CMSMS Core”