MLE with over 20 languages but not every page has content...

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: MLE with over 20 languages but not every page has content...

Post by Wiedmann »

Hi Alby,

I hope you are fine. (Nice weather for bbc, isn't it?)

1.)
there is a little bug in "class.content.inc.php" which should be corrected in all mle versions (e.g. CreateFrontendLink() don't work correct).

2.)
This is a patch that I wanted to test more thoroughly before you include it.
Well, I have done some additional tests. And there was really a problem with some module action and if internal pretty url is enabled. I have attached a new patch (which also respect the above "class.content.inc.php" patch).

Regards,
Carsten
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

[The extension txt has been deactivated and can no longer be displayed.]

Last edited by Wiedmann on Sun May 11, 2008 12:50 am, edited 1 time in total.
alby

Re: MLE with over 20 languages but not every page has content...

Post by alby »

Wiedmann wrote:
This is a patch that I wanted to test more thoroughly before you include it.
Well, I have done some additional tests. And there was really a problem with some module action and if internal pretty url is enabled. I have attached a new patch (which also respect the above "class.content.inc.php" patch).
I was a little busy with FMS but today I wanted to test the SVN version to go out tomorrow the 1.2.5 and then test seo patch

Alby
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: MLE with over 20 languages but not every page has content...

Post by Wiedmann »

Hi Alby,

I have changed my seo-links patch once more *g*

(Well I don't really like the current code, but it seams to work...
(A rewrite of the current way, how the requested page and lang is set in CMSMS (MLE) would be the better and mor constistent way.)

That's now the version I have running at this website:
http://forum.cmsmadesimple.org/index.php?topic=22242.0
(There you can test the current behaviour)

- the handling for URI's without the lang param should be better.
- non existent pages should now always return a 404 (with or without the lang param)

There is still one problem left with use_hierarchy=true. With true, you can access pages also with just the page alias.

Regards,
Carsten
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

alby

Re: MLE with over 20 languages but not every page has content...

Post by alby »

Wiedmann wrote: I have changed my seo-links patch once more *g*

(Well I don't really like the current code, but it seams to work...
(A rewrite of the current way, how the requested page and lang is set in CMSMS (MLE) would be the better and mor constistent way.)

That's now the version I have running at this website:
http://forum.cmsmadesimple.org/index.php?topic=22242.0
(There you can test the current behaviour)

- the handling for URI's without the lang param should be better.
- non existent pages should now always return a 404 (with or without the lang param)

There is still one problem left with use_hierarchy=true. With true, you can access pages also with just the page alias.
I see your site  :)

Today go out 1.3beta for about one week.
Tomorrow change code for 1.3 (must see too the new PageLink contenttype).
Just works, I apply the patch and put on a couple of sites

If all is well with the official 1.3 release put in 1.3 MLE version

Alby
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am
Location: Stuttgart / Germany

Re: MLE with over 20 languages but not every page has content...

Post by Wiedmann »

Today go out 1.3beta for about one week ...
That will be a lot of work for me too ;-) Because I have some other additional patches included in the current version (e.g. a query cache, correct caching headers for browsers/proxys, only relative uris in internal links, mod_auth for backend login, p.p.)
Tomorrow change code for 1.3
Well, if you are ready with a MLE 1.3beta for download, I can also test the seo patch and if it's working with this verison.
(must see too the new PageLink contenttype).
Maybe fine for others... For me useless, because I'm doing the same with the existing link content type (as you can see on the webpage and in the forge).
--> From a semantic view, it is more logical for my customers to use one (the existing) link tag (regardless if they want link to a external/internal page or a local file).

But most things are looking good in 1.3 :-)

Regards,
Carsten
Last edited by Wiedmann on Thu May 29, 2008 10:33 pm, edited 1 time in total.
alby

Re: MLE with over 20 languages but not every page has content...

Post by alby »

alby wrote: Today go out 1.3beta for about one week.
Tomorrow change code for 1.3 (must see too the new PageLink contenttype).
Ok, it's in SVN but I don't test anything.
Tomorrow I start with first test.
First look: I think that it is not necessary a patch for PageLink, should be internal pages (alias)
Maybe is better start with a new topic for testing and patch

Alby
Locked

Return to “[locked] CMSMS MLE fork”