TOC CK 1.3.1 Light user_modul does not work

More
1 year 4 months ago - 1 year 4 months ago #74624 by Jonas
TOC CK 1.3.1 Light user_modul  does not work - instead of TOC, it displays the content of the article in my module on the sidebar. Also, please tell me if it is possible for this module to display the content of any article that is currently displayed in the browser. I can't imagine how to make modules for each article. It seems that the title of the article is displayed in the browser as the last part of the link. If it were inserted into the module as a variable, it would be great!!!  
Last edit: 1 year 4 months ago by Jonas.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74626 by ced1870
Hi
TOC does not render the content of an article, it displays a table that list the headings.
You can use it in module using {toc XX} where XX is the article ID, or {toc current} if you want to use the current article shown in the page

CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74629 by Jonas
Hello!
I read the documentation - this is what you wrote, but instead of content in the module, the article itself was displayed, so I registered and asked a question. It did not work as it should have for me.
I have already solved the problem in an elegant way. Maybe it will be useful for you to update the plugin. I wrote a Javascript code (with the help of AI), which simply transfers the block created by your wonderful plugin to my module with sticking on the left side. If the block is not formed, then nothing happens. This allows me to use my custom module universally with any article. I use the light version of the plugin. It creates a table of contents perfectly. Thank you very much for this. Let me know if you need this code and I will try to insert it into the message or to you personally somehow. I think that your plugin would benefit greatly from such a solution. No one has such an option for Joomla. I live in Ukraine and it is now difficult for me to buy PRO versions. Let this elegant solution be my gratitude to you for your work.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74630 by ced1870
thank you for your feedback :)
2 things
1/ not working as expected
can you please give me the simple steps to reproduce the issue ?

2/ your suggestion
of course I'm interested to know what you have done. Just to be sure, your code is made to make the TOC in a floating/sticking area ?
because you can do that using my extension Floating Module CK (paid) or using the "sticky" property in CSS too :)

CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74631 by Jonas
1) I inserted the code {toc 10} into the custom module, and the text of the article appeared in the module, but not the table of contents. I changed my code so that you could see the problem. Joomla version 5.3.1
go-to-market.xyz/index.php/en/about

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #74632 by ced1870
ok thanks I will test it

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.192 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 689 guests and no members online