Active
Project:
Table of Contents
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2011 at 19:45 UTC
Updated:
24 Sep 2011 at 05:41 UTC
Now if you use the block you will still execute a lot of useless hook and node_api functions.
If we think the module as:
- One simple filters than add the id to headers.
- One token than display the toc (using real drupal token, in core in D7). And eventually an associated filter
- One block than display the toc of the current node
- Perhaps one field than display the toc
It become pretty simple no? those 4 functionnality can be in seperate modules with in the main module only the function than provide a toc.
Comments
Comment #1
Spelling Ninja commentedComment #1.0
Spelling Ninja commentedtypo