Hidden templates displaying even though turned off

pondertheweb's Avatar

pondertheweb

23 Sep, 2016 06:00 PM

Under Module Settings, I have "Hide hidden templates on publish/edit tab" set to "Yes" but hidden templates (those starting with _) are still shown on entry pages.

EE 3.4.2
Structure 4.0.0-b.7

  1. Support Staff 1 Posted by Support on 04 Jan, 2017 07:06 PM

    Support's Avatar

    Sorry about the delay in response!

    I believe the template group will need to start with _ in order for them to be hidden. Any chance you can confirm this is the case?

  2. 2 Posted by pondertheweb on 04 Jan, 2017 07:17 PM

    pondertheweb's Avatar

    Happy New Year!

    EE lets you do that on the template level without having to hide the whole group and adds a little closed eye icon to indicate which templates are hidden. I figured the point of this feature was to carry that over to Structure.

  3. Support Staff 3 Posted by Support on 04 Jan, 2017 07:29 PM

    Support's Avatar

    Yeah, we've been thinking about this one a bit. We're not 100% sure what to think yet. Since Structure has supported the hidden template groups for some time, but not the individual templates being hidden this could lead to sites where people edit their entries and lose the template it was assigned to.

  4. Support Staff 4 Posted by Support on 08 Feb, 2017 06:29 PM

    Support's Avatar

    If you add $config['hidden_template_indicator'] = '_'; to your EE config.php file, Structure will hide those templates from the entry pages.

    The config option information is located here:
    https://docs.expressionengine.com/latest/templates/hidden_templates...

  5. Support closed this discussion on 08 Feb, 2017 06:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac