TOC - table of contents

After using MediaWiki for a long time I got spoiled with their auto-TOC
feature which creates a set of links to anchors on the page. I thought
it
would be nice to have a TOC for blog pages where you have to scroll down
to
see the titles of all the articles on the page. To scratch this itch, I
put
together a quick TOC feature for my Typo blog (implemented and
documented at
http://www.dev411.com/blog/ ). Is this something that would be generally
useful? If so, I can put some more work into it, e.g. admin console
control.

Also, how are the sidebar features (e.g. Flickr, Tada list, 43things
goals,
etc.) implemented? Are they implemented as plugins or are they hardcoded
into Typo? If the are plugins, I’ll look into making the TOC feature a
plugin.

John

as plugins. They’re pretty easy to write, even without a lot of
coding knowledge. Use the components/plugins/sidebars/static
directory and controller as your guide, and you should have no trouble.

Can’t wait to see it.

On 6/26/06, Matt R. [email protected] wrote:

as plugins. They’re pretty easy to write, even without a lot of
coding knowledge. Use the components/plugins/sidebars/static
directory and controller as your guide, and you should have no trouble.

It’s coming along. I have two questions:

(1) How can I pass @articles to the plugin? Various actions in the
ArticlesController will populate @articles which I’d like to pass this
to
the TOC plugin.

(2) Where is the sidebar generated? There doesn’t seem to be mention of
the
sidebar in the ArticlesController or the articles views.

Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs