Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
special_characters_in_headings [2012/12/02 15:54]
Christoph M. Becker
special_characters_in_headings [2018/10/26 15:33] (current)
Line 3: Line 3:
 Sometimes you have page headings with special characters, such as German umlauts or punctuation marks for example. The corresponding links will be handled correctly by CMSimple_XH. But you might dislike the appearance of those special characters in the browser'​s address bar. So it is possible to change special characters to the desired ones in links. Sometimes you have page headings with special characters, such as German umlauts or punctuation marks for example. The corresponding links will be handled correctly by CMSimple_XH. But you might dislike the appearance of those special characters in the browser'​s address bar. So it is possible to change special characters to the desired ones in links.
  
-In the back-end go to Settings->​Language. There you'll find urichar_org and urichar_new. Both options expect a comma separated ​list of character strings. Character strings in urichar_org will be replaced by the according character strings in urichar_new,​ e.g.+In the back-end go to Settings->​Language. There you'll find urichar_org and urichar_new. Both options expect a list of character strings ​separated by a vertical bar((You can change the separator character by editing the definition of XH_URICHAR_SEPARATOR in cmsimple/​cms.php.)) (before CMSimple_XH 1.6 the separator character had to be a comma). Character strings in urichar_org will be replaced by the according character strings in urichar_new,​ e.g.
 <​code>​ <​code>​
-urichar_org:​ Ä,Ö,Ü,ä,ö,ü +urichar_org:​ Ä|Ö|Ü|ä|ö|ü 
-urichar_new:​ Ae,Oe,Ue,ae,oe,ue+urichar_new:​ Ae|Oe|Ue|ae|oe|ue
 </​code>​ </​code>​
 will replace all German umlauts with their German circumscription. N.B.: urichar_org and urichar_new are case sensitive. will replace all German umlauts with their German circumscription. N.B.: urichar_org and urichar_new are case sensitive.
  
-Please note that it's not possible to replace ​a comma in the heading this way.+Please note that it's not possible to replace ​the separator character ​in the heading this way.
  
 <note warning>​For CMSimple_XH < 1.5: the links inserted with FCKeditor'​s iternal link tool do not respect the setting of urichar_org and urichar_new,​ so these links will not work properly.</​note>​ <note warning>​For CMSimple_XH < 1.5: the links inserted with FCKeditor'​s iternal link tool do not respect the setting of urichar_org and urichar_new,​ so these links will not work properly.</​note>​
  
 An alternative experimental possibility to replace special characters in page headings is described in the [[http://​cmsimpleforum.com/​viewtopic.php?​f=12&​t=5406|CMSimple_XH Forum]]. An alternative experimental possibility to replace special characters in page headings is described in the [[http://​cmsimpleforum.com/​viewtopic.php?​f=12&​t=5406|CMSimple_XH Forum]].
 
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