It will be a nice feature post some comments to TOC (maybe "hideable") depending via users-security-permission using comment controls box links
Some comments are very article dependent and good so they become as article`s parts

Comments

deviantintegral’s picture

I don't see an easy way to do this through the input filter without reloading the node within the filter. It would require a decent amount of code. Since none of my sites currently have comments enabled, I can review / test, but I won't be implementing anything like this anytime soon.

There might be a way to do what you want with a block view, keeping this functionality separate from the TOC.

--Andrew

podarok’s picture

may be using Flag module make CSS class and attach it to TOC using js?

deviantintegral’s picture

I'd like to avoid using JS to build the table of contents. In fact, back in the 4.7 days, there was a module which built then entire table using javascript as a part of Javascript Tools. The whole reason for me building this module was so that it wouldn't require javascript at all, and would work for things like print views.

On some sites, where a comment should be "highlighted", I've seen the main body updated with the information. If you did that, then it could show up in the table quite easily. You could have a list at the end of the body with "highlighted comments".

I would worry that including comments in the table could be confusing, as readers may think the comments are part of the story. I think this would especially be a problem for those unfamiliar with blogging.

What would be easy would be to add an option linking to the top of the comments section. There would be an option to turn it on or off similar to attachments. Thoughts?

--Andrew

podarok’s picture

"as readers may think the comments are part of the story."
Gm... I think that comments are always part of story...

giorgio79’s picture

Status: Active » Closed (fixed)