2 haharen Feb 24, 2017 14:47

@haharen Do you want to make a plugin and publish it on http://plugins.b2evolution.net ?
@haharen Do you want to make a plugin and publish it on http://plugins.b2evolution.net ?
Great!
@haharen the current post is available through the global variable $Item
.
Let's say you are coding a widget, so its display
method should be something like this:
function display( $params )
{
global $Item;
echo '<a href="'.$Item->get_permanent_url().'#foo">Foo</a>';
}
OK, it works.
Thanks!
Hello
That limits the use of the plugin especially for german blogs. But I's like to use it. So; is there someone who can fix this?
Thanks and Regards
will
NOTE: The following is for reference only.
1. Tocible
Homepage: http://markserbol.com/tocible/
Github: https://github.com/markserbol/tocible
Basic Usage: $('#contents').tocible();
2. Table of Contents jQuery Plugin by Nikhil Dabas
Homepage: http://ndabas.github.io/toc/
Github: https://github.com/ndabas/toc
Basic Usage: $('#contents').toc();
3. tocBuilder
Homepae: http://www.proofbydesign.com/Resources.aspx/TocBuilder
Github: https://github.com/kentrob/tocBuilder
Basic Usage: $('#contents').tocBuilder();
4. CSDN (Largest programmer community of China)
Homepage: http://www.csdn.net/
Code: please see the attach file below
Attachments: