Your genius strikes again…works great!
Thanks, Derek, I really appreciate it.
Kind regards,
Les
Les McKeown FCA, President & CEO Predictable Success(tm) Everything you need to achieve consistent, profitable growth
LEARN ABOUT IT… ===> http://PredictableSuccess.com
GET IT……….. ===> http://GetPredictableSuccess.com
Sorry to leave that hanging, I was interrupted by a phone call.
I went to view the TOC live example you have on your site (it’s just what I need!) then clicked on the RSS link in the left nav bar to see how it renders, and it shows the Template parsing order, formatting, etc. The RSS reader I’m using is Safari version 2.0.4
Ah, that’s the way the wiki feeds work. They are tied to the wiki’s recent changes (hence Special:Recentchanges_RSS and Special:Recentchanges_Atom). So the RSS feed would show you a list of the most recently changed articles, and in most news readers, the Atom feed would show none, as there haven’t been any changes made in a long time.
I can’t seem to find the answer I need so I’m posting this S.O.S.
I’ve installed this plugin and it works unless I specify anything but default formatting. If I specify Textile, for instance, it’s as if the wiki_toc plugin isn’t even installed. Below is my code for specifying Textile:
class Wiki_toc {
/* -------------------------------------
/* User Modifiable Class Variables
/* -------------------------------------*/
var $formatting = 'Textile'; // Formatting plugin you wish to use, first letter capitalized. e.g. 'Markdown', 'Textile', etc.
var $toc_tag = '[TOC]'; // Tag you wish to use in your articles to place the table of contents
var $heading = 'Table of Contents'; // Heading you'd like the table of contents to have
var $separator = '<hr >'; // XHTML to separate the table of contents from the article
…and yes, I do have both the TOC and textile plugins installed. Textile seems to work just fine when I select it as the formatting option instead of wiki_toc. I’m using EE 1.5.2 by the way. Any suggestions?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.