You are here: start » api_incompatibilities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
api_incompatibilities [2012/10/05 14:09]
Christoph M. Becker moved
api_incompatibilities [2018/10/26 15:33] (current)
Line 11: Line 11:
 ===== $sl ===== ===== $sl =====
  
-CMSimple_XH 1.5 introduced the concept of subsites. This feature builds upon the well know and thouroughly tested feature of multi language sites. The drawback: for subsites $sl doesn'​t hold an ISO-639-1 language code. So plugin authors should neither rely on strlen($sl)==2 nor on $sl being a true ISO-639-1 language code. If your plugin is not able to cater for the new situation, it should be enough to document, that it can't be used with the new subsite feature. Probably only a minority of CMSimple_XH installations will use subsites.+CMSimple_XH 1.5 introduced the concept of subsites. This feature builds upon the well know and thouroughly tested feature of multi language sites. The drawback: for subsites $sl doesn'​t hold an ISO-639-1 language code. So plugin authors should neither rely on strlen($sl)==2 nor on $sl being a true ISO 639-1 language code. If your plugin is not able to cater for the new situation, it should be enough to document, that it can't be used with the new subsite feature. Probably only a minority of CMSimple_XH installations will use subsites.
  
 +Since CMSimple_XH 1.6 the subsites feature has been removed, and strlen($sl) == 2 is guaranteed again. Usually $sl will hold an [[http://​en.wikipedia.org/​wiki/​ISO_639-1|ISO 639-1 language code]].
 ===== Deprecated Functions ===== ===== Deprecated Functions =====
  
 
You are here: start » api_incompatibilities
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Valid XHTML 1.0 Valid CSS Driven by DokuWiki