hofff / contao-content-navigation

Navigation for Contao.
GNU Lesser General Public License v3.0
4 stars 3 forks source link

Headers of invisible article should not be display #14

Closed falkoschumann closed 6 years ago

falkoschumann commented 10 years ago

If I set the content element self invisible the entry in table of content does not display. this is expected behavior.

If I set a article invisible the table of content display the headers from its content elements. This is unexpected behavior.

I think the ce-navigation module should ignore content elements of invisible articles, because links inside table of content without visible target confuse the user.

dmolineus commented 6 years ago

We're currently working on migrating this extension to Contao 4. Gonna be fixed there.

https://github.com/hofff/contao-ce-navigation/blob/b8b32cd1a202fb8f471b42713e83ccf992be4d90/src/Navigation/Query/ItemsInColumnQuery.php#L23

dmolineus commented 6 years ago

Duplicate of #7