DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: jh_t3blog_categories¶
Author: | Christopher |
---|---|
Created: | 2010-12-18T19:57:23 |
Changed: | 2012-10-30T20:01:48 |
Classification: | Treeview for t3blog categories |
Description: | Creates a new treeview of t3blog categories, styled by jQuery plugin jsTree. |
Keywords: | t3blog, categories, tree, treeview, tree-view, t3blogjquery |
Author: | Jonathan Heilmann |
Email: | mail@jonathan-heilmann.de |
Language: | en |
EXT: jh_t3blog_categories¶
Extension Key: Treeview for t3blog categories
Language: en
Version: 0.0.2
Keywords: t3blog, categories, tree, treeview, tree-view, t3blogjquery
Copyright 2006-2012, Jonathan Heilmann, <mail@jonathan-heilmann.de>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`EXT: jh_t3blog_categories 1 <#__RefHeading__5708_1738894311>`_
`Introduction 3 <#__RefHeading__5710_1738894311>`_
`Configuration 4 <#__RefHeading__31515_818911409>`_
`Known problems 5 <#__RefHeading__31525_818911409>`_
`To-Do list 6 <#__RefHeading__477_413120346>`_
`ChangeLog 7 <#__RefHeading__31623_818911409>`_
Introduction¶
What does it do?¶
This Extension is a t3blog widget and creates the categories-view like the original widget (most of the original code is used), but styled with jsTree ( www.jstree.com ) and it's functions.The t3blogjquery extension is required.
Screenshots¶
Abbildung 1: A possible widget output
Configuration¶
Jh_t3blog_categories requires t3blogjquery, which includes all jQuery libraries that are needed and removes the original mootools- library.
The widget itself may be installed with the help of the extension manager. After installing, you will need to include the static template “t3blog categories tree (jh_t3blog_categories)” to your template.To add the widget to your frontend output, you will need to add the following lines to "plugin.tx_t3blog_pi1.layoutBlog" in your template-setup (normally where the original categories widget ist placed):
80 = TEXT
80 {
field = tx_jht3blogcategories_categories
}
Reference¶
This is just a collection of the settings added in difference to the original widget. For all other settings have a look to the t3blog extension-documentation or the setup.txt in "EXT:jh_t3blog_categories/static/t3blog_categories_tree/"
activateCookie¶
Property
activateCookie
Data type
bool
Description
Activates the cookie. The opened and closed nodes will be restored when reloading the page.
Default
1
cookieExpires¶
Property
cookieExpires
Data type
int
Description
The days after which the cookie expires; leave empty for session cookie.
Default
365
theme¶
Property
theme
Data type
string
Description
Select the theme of jsTree. If empty, the “default” theme is used.Possible options:- apple
- classic
- default
- default-rtl
Default
[tsref:plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories]
Example¶
plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories.activateCookie = 1
plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories.cookieExpires = 365
plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories.theme =
hideEmptyCategories¶
Property
hideEmptyCategories
Data type
bool
Description
Hides empty categories in tree1 = hide0 = display
Default
1
[tsref:plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories.categ ories]
Example¶
plugin.tx_t3blog_pi2.tx_jht3blogcategories_categories.categories.hideEmptyCategories = 1
Known problems¶
At the moment there are no known problems.
To-Do list¶
Maybe add some more jsTree features? Contact me by mail ( mail @jonathan-heilmann.de ) if you have a wish.