History: ModuleCategories
Preview of version: 16
Put the attached file, mod-categories.tpl into your /templates/modules directory.
Put the attached file, mod-categories.php into your /modules directory.
Note: the following modified files are based on/modified from v.1.9
Put the attached file, tiki-browse_categories.php into your /templates directory. This will over-write the existing file of the same name, so rename the original one (for backup purposes 😬)before you copy this new one over it. All I did to this file is remove the following code (we don't need it there anymore since its in the new module's .php file, and having it in both places will cause errors):
include_once ('lib/tree/categ_browse_tree.php');
Put the attached file, tiki-browse_categories.tpl into your /templates directory. This will over-write the existing file of the same name, so rename the original one (for backup purposes 😬)before you copy this new one over it. The only necessary thing I modified in this file was to remove the following code (which removes the category tree because we don't need it there anymore since its in the module now):
<div class="tree"> {$tree} </div>
Remember to enable Categories in Admin --> Features.
Remember to make the new Categories module always visible to your users that need to access the categories.
Turning on phplayers menus in Admin --> Features will give you a folder-style tree like the one pictured above.
The .css and image files for the phplayers tree-style menu are located in lib/phplayers. I've Attached my modified .css and image files in case you want to make yours look just like the example pictured above:
lib/phplayers/layerstreemenu.css has the font styles (use this if you want to change the size or style of the text in the category tree.)
The folder lib/phplayers/images contains all the images used in the tree, which are all prefixed with tree_ (i.e. tree_collapse.png, tree_leaf.png)
lib/phplayers/layerstreemenu-hidden.css sets the size for all of the images used in the tree (so if you change the size of the images used in the tree, you have to change the .imgs property settings in this file to match the new size of the images.)
Just let me know if you have questions — Colorado
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Marc Laporte | 27 | |||||
| emagin | 26 | |||||
| emagin | 25 | |||||
| sylvie greverend | 24 | |||||
| sylvie greverend | 23 | |||||
| sylvie greverend | 22 | |||||
| sylvie greverend | 21 | |||||
| sylvie greverend | 20 | |||||
| colorado | 19 | |||||
| colorado | 18 | |||||
| colorado | 17 | |||||
| colorado | 16 | |||||
| colorado | 15 | |||||
| colorado | 14 | |||||
| colorado | 13 | |||||
| colorado | 12 | |||||
| colorado | 11 | |||||
| colorado | 10 | |||||
| colorado | 9 | |||||
| colorado | 8 | |||||
| colorado | 7 | |||||
| colorado | 6 | |||||
| colorado | 5 | |||||