logo

Tiny Table Of Contents – WP plugin


This plugin will not be supported until I have more time.

Plugin informationTop

Plugin name: Tiny Table Of Contents – TinyTOC
License: GNU-GPL
Current version: 1.6.3

DescriptionTop

Plugin that enables you to create table of contents in your posts and pages. You can choose what it will parse, and what it will not parse. It’s very simple to use from your editor so you do not have to manually enter tags. Now it’s nothing special, but later it will have much more features including some predefined styles and more styling control.

ScreenshotsTop

DocumentationTop

Here you can see plugin documentation. It will show you what does each option do. To use this plugin you just have to go to your post editor, select chapter title that you want in your table of contents and assign a level to it (by selecting level from drop-down menu TOC Levels in your editor).

InfoTop

Name: Plugin name and url
Version: Plugin version that you are using
Author: Author name and website url
E-mail: Author contact email

GeneralTop

Enabled: true if plugin is enabled, false if it’s not enabled
Maximum level number: Number of levels that you can select in you editor
Use “Back to top” button: If true, you will see button that will move you back to table of contents. If false you will not be able to use it.
Priority: Number that is used by wordpress to set plugins priority (bigger number, later it will be executed)
Use “Go to” feature: If true you can click on a chapter name in table of contents and you will be moved to it’s location
Remove when not used: If true TOC tags will be removed when TOC is not used, if false they will not be removed
TOC on all pages: If true TOC is displayed on all pages of multy page post, if false it will be displayed on on first page

Style chapter level headingsTop

Use chapter level styling: If true, each level has its own defined styling
Strip existing tags: If true, html tags from title are removed
Level n start: Defines html that is placed before title that is n-th level
Level n end: Defines html that is placed after title that is n-th level

HeaderTop

Title: Title that is displayed on top of your table of contents
Html before title: Html string that will be front wrapper of your table
Html after title: Html string that will be back wrapper of your track
Header css style: Css style used to style header

Back to topTop

Text: Text that will be used as your button. If you have image you can use it here by putting `%image%`
Css: Css style used to style button

Table of contents styleTop

Start list: Html list start wrapper
End list: Html list end wrapper
Start list item: Html list item start wrapper
End list item: Html list item end wrapper
Css: Css style used to style lists

Display onTop

Post: If true it will parse posts, if false it will not parse posts
Page: If true it will parse pages, if false it will not parse pages
Home page: If true it will parse home page, if false it will not parse home page
Search: If true it will parse search pages, if false it will not parse search pages
Feed: If true it will parse feeds, if false it will not parse feeds
Category archive: If true it will parse category archive, if false it will not parse category archive
Date archive: If true it will parse date archive, if false it will not parse date archive
Any archive: If true it will parse any archive, if false it will not parse any archive
Exclude pages: List of ID-s of pages that are excluded from parsing
Exclude posts: List of ID-s of posts that are excluded from parsing

FAQTop

Q: Now do I use this plugin?
A: When you go to your post editor you will see drop down menu TOC Levels. Select you chapter and then chose one of the levels. Or you can manualy wrap your chapter in [tinytoc level="ln"]cont[/tinytoc] tags where ln is your level (number) and cont is you chapter title.

Q: How to use image as “Back to top” button?
A: You have to add tag to your text with path to that image as src attribute value.

Q: Can I add text before TOC?
A: If you add [tinytoc] after that text, yes.

Q: Can I chose TOC position?
A: Yes, by placing [tinytoc] in your text.

Q: How can I remove Header and still be able to use Back to top feature?
A: In order to use Backt to top you need to have some tag with some ID. Just add style=”display: none;” to your Html before title field in tag. If you have default example <h3 id=”tyinTOC”> then you would have <h3 id=”tyinTOC” style=”display: none;”>. That will remove Title before table of contents and still allow you to use Back to top feature.

Q: How do I know what each of these fields mean?
A: Visit documentation.

DownloadTop

Download tinytoc.zip – version 1.6.3

ChangelogTop

Ver 1.6.3 (released 2010-06-03)Top

  • Bugs fixed and code improved by Matjaž Pečan

Ver 0.12.31 (released 2009-12-31)Top

Ver 0.8.30 (released 2009-08-30)Top

  • You can now position TOC by inserting [tinytoc] in your code

Ver 0.8.12 (released 2009-08-12)Top

  • Fixed custom styling on each level
  • Updated regular expression to make it faster

Ver 0.7.18 (released 2009-07-28)Top

  • Fixed some minor bugs
  • Added custom styling for each level in TOC list
  • Improved speed

Ver 0.7 (released 2009-06-27)Top

  • Fixed problem when parsing home page ( tag)
  • Fixed some small parsing bugs
  • Optimized script
  • Fixed creating of TOC problem (nested loops problem)
  • Fixed chapter parsing in TOC (now all styling is removed)
  • Added “Remove when not used” feature
  • Added “TOC on all pages” feature

Ver 0.3 (released 2009-05-21)Top

  • First version of the plugin.

Style chapter level headings

28 comments to “Tiny Table Of Contents – WP plugin”

  1. jill says:

    How do you use your toc for posts with multiple pages? it is generating a toc for the additional pages but when clicked on get 404 error
    thanks
    jill

  2. Ok, I’ll will take a look and fix those things. I have a new version in plan but now having college so can’t work.

  3. Navjot Singh says:

    One more problem. Latest version’s changelog specifies that we can position TOC anywhere by using [tinytoc].

    I tried it but shortcode does not get parsed.

  4. Navjot Singh says:

    There seems to be some serious problem with BacktoTop Feature.

    Consider this:

    On Settings Page, we are asked for Html and CSS for BacktoTop Feature and on Summary Page, Text, CSS and Image are retrieved. And both don’t match. settings.php page ask for HTML and CSS, update.php page updates it but home.php retrieves text, image and css?

    Please fix it.

  5. I’d like to help you but I do not have enough information. What do you want to, what are you using and so on. Write me to msufflaj32@gmai.com.

  6. jorge says:

    i need some help plz…

  7. Hmm, but what does it have to do with Tiny Table Of Contents? :)

  8. jorge says:

    hi, i’m using this plug in with django, but i have a little problem when i instanciate the var sorter = new TINY.table.sorter(‘sorter’,'table’,{…. it works fine but then notthing works no search no sorter no pagination, can somone help ? the fire bug when i try to search says sorter.search not a function or sorter is not define..

  9. Yes, I could do that :) . Will do it next week.

  10. Jim says:

    If I wish to put the TOC in the sidebar, could you publish the php script to place in a text widget for those of us who do not program? Thank you.

  11. Yes, I see it’s not problem with my plugin. How can I help you?

  12. Tim says:

    Ohh… Sorry. It seems that it conflicts with WP-United which integrates WP with PHPBB3. Hmm.

  13. Tim says:

    Hi! I installed your plugin but it doesn’t seems to work. When I go to the frontpage it shows me “Fatal error: Cannot use object of type stdClass as array in D:\HTDocs\wordpress\forum\includes\functions.php on line 3881″. It works fine if I deactivate the plugin. I have PHP5. Any thoughts? :) Thanks

  14. Is you PHP version 4.*.*? If so, you need PHP 5+ version in order this to work fine :) .

  15. Jeff says:

    Hey I just installed your plugin but cannot activate it… i get the following error:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in *******\wp-content\plugins\tiny-table-of-contents-tinytoc\tiny-table-of-contents-tinytoc.php on line 51

    Any help would be appreciated. thanks

  16. Hi, and thanks for reply.

    1.) There is no such feature now but it will be soon.
    2.) Use css field in Table of content section.

    I’ve noticed few bugs and I was really busy lately so I did not work on it but will start again in a few days.

  17. Don says:

    Hi.

    This plugin looks pretty nice. :-)

    One of the things I like is the “to top” feature which I haven’t found elsewhere in TOC plugins.

    Two questions:

    1. Can content go above the TOC? Say, an intro to the post, then the TOC?

    2. Can I reduce the size of it? Maybe its just the way you set up the sample at the top but it seems to take up a lot of “real estate” on the page. Can I reduce font size and the space between the lines?

    Thanks in advance.

  18. Great post! Just wanted to let you know you have a new subscriber- me!

  19. Url should be like wp-admin/admin.php?page=tinytoc/home.php (works fine for me).

  20. Hi!

    I just installed your plugin and the administration button points to: wp-admin/tinytoc/home.php

    Is this correct? I get 404 error, shouldn’t it point to the plugin directory?

Leave a Reply


 *


 *


logo

logo
Powered by Wordpress | Designed by Elegant Themes | CopyRight ©2012 php4every1.com