You are here: start » customization

Differences

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

Link to this comparison view

Next revision
Previous revision
customization [2012/09/25 23:25]
Christoph M. Becker created
customization [2018/10/26 15:33] (current)
Line 6: Line 6:
  
 The file cmsimple/​userfuncs.php is guaranteed to never be distributed with CMSimple_XH,​ so it won't be overwritten with the next update. But it is automatically included from CMSimple_XH before the plugins. So you can use this file to add required functionality to CMSimple_XH. The file cmsimple/​userfuncs.php is guaranteed to never be distributed with CMSimple_XH,​ so it won't be overwritten with the next update. But it is automatically included from CMSimple_XH before the plugins. So you can use this file to add required functionality to CMSimple_XH.
 +
 +<note important>​The first line of userfuncs.php should always be:
 +<​code=php><?​php</​code></​note>​
  
 If you have to modify a function of CMSimple_XH,​ you can copy the function over to userfuncs.php,​ delete it in the original place, and make your modifications in the copy in userfuncs.php. After an update, it often will suffice, to remove the function from its original place again. If you have to modify a function of CMSimple_XH,​ you can copy the function over to userfuncs.php,​ delete it in the original place, and make your modifications in the copy in userfuncs.php. After an update, it often will suffice, to remove the function from its original place again.
Line 20: Line 23:
 // CUSTOMIZATION-END</​code>​ // CUSTOMIZATION-END</​code>​
  
-Q: Does anybody ​now if and how such customizations can be tracked with a separate SVN repository?+Q: Does anybody ​know if and how such customizations can be tracked with a separate SVN repository?
  
 ===== Generally useful modifications ===== ===== Generally useful modifications =====
  
 If you think the modification is useful for others too, please present it in the [[http://​www.cmsimpleforum.com/​viewforum.php?​f=29|Open Development Forum]] (or in one of the non English forums). If others share your opinion about the general usefulness, it's quite likely that the modification will be part of the next version of CMSimple_XH -- so you don't have to track your changes. If you think the modification is useful for others too, please present it in the [[http://​www.cmsimpleforum.com/​viewforum.php?​f=29|Open Development Forum]] (or in one of the non English forums). If others share your opinion about the general usefulness, it's quite likely that the modification will be part of the next version of CMSimple_XH -- so you don't have to track your changes.
 
You are here: start » customization
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