Quick links

Events happening in the community are now at Drupal community events on www.drupal.org.
jdanthinne's picture

Before developing a new module, does someone know if there's a module able to parse the body text, analyse it, find every h2, h3, h4, etc. and generate a "quick links" section (in form of an ordered list, or a select list) above the text (like wikipedia pages)?

Comments

Try

Ditto. It's not flawless -

Garrett Albright's picture

Ditto. It's not flawless - you sort of have to write your content with the toc in mind - but when it works, it works pretty well.

Switched to JQuery solution

jdanthinne's picture

I've tried Tableofcontents, but it's not working as expected, and what I was looking for (shortcuts in a sidebar) is not working at this time. So finally, with approx. 10 lines of javascript, I've managed to get the result I was looking for…

To add TOC for Drupal pages

robert castelo's picture

To add TOC for Drupal pages check out my TOC Node module:

Add a Table Of Contents to Drupal pages

Here's a list of other TOC modules available:
https://www.drupal.org/node/2278811

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: