Peter van Westen
ADMIN
Not sure why it works differently on one page vs the other. For some reason, only part of the article text is passed to the Quick Index plugin during the rendering of the article.
Anyway, I have a way you can make sure Quick Index is executed AFTER the whole article, fields and modules are rendered.
I replaced the {index} & {/index} tags in that article with [INDEX] & [/INDEX].
Quick Index doesn't see these as its tags and will ignore them.
Then I made a ReReplacer replacement to replace those with the actual Quick Index tags. But it will do that on the entire body of the HTML output (so after the article & module rendering stage).
After that Quick Index gets triggered again and sees the Quick Index tags, which it then handles.
You can see the result in the British Museum page.
PS: You can of course use a completely different syntax for the placeholder tags instead of the [INDEX] & [/INDEX]. For instance:
<!-- indice iniziale --> & <!-- indice finale -->
Please post a rating at the
Joomla! Extensions Directory