You are here: start » customization

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
customization [2012/11/17 13:46]
127.0.0.1 external edit
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.
 
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