You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115403 Plugin TOC and page break

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by David062 on Friday, 01 December 2023 16:13 GMT

David062
Hello,
I've just installed the table of content plugin on my site and I'm encountering a problem.
I use page breaks to separate my articles, and even if the table of content is generated according to the Hx tags, the links only work if you're on the corresponding article page.

For example, my table of content is like :
- Subtitle 1
- part 1
- part 2
- Subtitle 2
-part 1
-part 2

Well, the "Subtitle 1 - Part 2" link will work if I'm on the Subtitle 1 page, but if I click on "Subtitle 2 - Part 2" and I'm on the Subtitle 1 page nothing happens.

I hope you'll be able to understand my problem, as my English isn't great... And that you'll be able to help me

Ryan
The Table of Contents plugin currently only operates within the context of whole article displayed full, as the links only include the corresponding anchor name, and not the article link as well, which is what would be required for the links to work between articles.

I'm not sure this would be acheivable with the Table of Contents plugin, but I will look into it.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

David062
Hello,
Thanks for the reply

I hope a future update will allow this possibility, it would be really appreciated.