Posted by giorgio79 on October 28, 2009 at 10:33pm
Jump to:
| Project: | Content Templates (Contemplate) |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hello,
I am looking for some tips and ideas on how I could make the Table of Contents module work with my Contemplate driven content.
TOC module currently only checks the node->body for H2 H3 and other similar tags to create a contemplate.
I am hoping it would not be a big hack to pass the contemplate output through the toc functions to generate one for the entire contemplate output, as I have several H2s and H3s in there.
Any ideas? :)
Comments
#1
Hoops, I meant to say
"TOC module currently only checks the node->body for H2 H3 and other similar tags to create a Table of Contents." :)
There were some discussions here on how to pass node body through the functions to generate the TOC in a node tpl file.
I am hoping I can pass the entire contemplate output through those functions.
http://drupal.org/node/329654