7
Ok... I searched the whole thing a little bit, so here are my results:
- If you want to make a block template, firstly, you should change the xoopsversion.php of the module you are going to use (if you want a general block use system module)
- Copy the last block section in xoopsversion.php and paste it just below, changing: $modversion['blocks'][i] to $modversion['blocks'][i+1] in each one of the option lines.
- SOme explanations for the parameters (not so sure but if I'm wrong correct me):
1) File: the php file that the block should use to withdraw it's variables
2) Name: _MI_"modulename"_BNAME(i+1) (this is typically the form of the name, i don't know if it's necessary to be like this)
3) Description: Your description about the block enclosed in double quotes
4) show_func: (not tested) I believe this is a function from "File" whose results will be in the block. (i believe this is optional)
5) template: The html file that will generate the block's appearance
6) options: (not so sure again) Options for the function that was retrieved with "show_func" (-=optional=-)
7) edit_func: I don't know what exactly this does but it is optional either way.
Request: Please correct my mistakes in a post so as not to mess things up... Thanks in advance