Community Forums
ATutor Support
toc within a content page
Author | Subject |
---|---|
Page: 1 | |
leonc | Subject: toc within a content page![]() |
If you are asking for help, provide lots of detail so problems can be reproduced. Things to describe: Operating system ATutor is installed on - linux ATutor version - 2.2.1 Patch #s applied - ATutor theme name -default PHP version - MySQL version - Webserver & version - Copies of error messages - Changes to default settings - Web browser being used - ...and anything else relevant - This is a default install of Atutor, from a few weeks ago on a dotCanada hosted website when i copy and paste html content (as code) from an html editor into the HTML page content box, or copy formatted html content into the HTML Visual Editor, i am getting two instances of the content. The first version is a link to the second. In other words the first version is a toc for the second version. On inspection, it is showing as div#toc. I get the same result when i open the source page in Firefox and copy/paste from there. It does not happen if i go through notepad, but that strips all my links. The only reference i found in the forum to this was for version 1.5 but that seems to not apply to version 2.2.1. How do i remove the div#toc (or whatever implementation is currently in use? thanks leon Posted: 2017-06-09 13:29:15 | |
greg![]() | Subject: Re: toc within a content page![]() |
div#toc is where a table of contents gets generated. It is turned on for users who are not logged in. For logged in users it can be turn on/off in user preferences. If the content is showing up in div#toc, that probably means there is a broken heading tag. The Toc is generated from the headings on a page. Posted: 2017-06-09 16:14:52 | |
leonc | Subject: Re: toc within a content page![]() |
I am logged in as teacher. I checked the code. It is of the form <h2>...</h2> <p>....</p> ... <ul> <li>...</li> ... <li>...</li> <h2>...</h2> <p>...</p> there are no broken codes. But the entire contents is being displayed as a hyperlink, followed by the contents again. I have deleted, saved, redone it several times. I've pasted it into the html view, and into the visual editor. Same results each time. Are there other possible causes? thanks Posted: 2017-06-12 06:04:51 | |
greg![]() | Subject: Re: toc within a content page![]() |
It seems to be an issue in some cases, when the HTML of the page is more than basic HTML. When its simple headings and paragraphs the TOC seems to work as expected. I have added the issue to the tracker for further investigation. You can follow the bug there. It might be a little while before we get to it. www.atutor.ca/atutor/mantis/view.php?id=5801 In the meantime, you can disable the TOC by logging in as the admin, then Users>Default Preferences>Navigation. Posted: 2017-06-12 09:01:37 | |
Page: 1 |
You must be signed-in to post.