Requests | Blesta

Requests

Show main site header on login pages

Jarrod shared this idea 4 years ago
Declined

It would be nice if there was a configuration flag that could 'toggle' the main site header on login/password reset/etc pages. This way when developing a custom theme/integration with Blesta a developer has a little bit more power without having to touch 'core' files.

Not sure if it'd be possible to have `app/controllers/client_login.php` look for this flag which defaults to `false` to keep current default behaviour.

Comments (1)

photo
1

Hi there,

Sorry we've declined this as it's possible to do this in the structure.pdt.

Go to: /app/views/client/bootstrap/structure.pdt

Find: (Line: 49-51)

```

<?php

if ($this->Html->ifSet($show_header, true)) {

?>

```

Remove that section and find: (Line 233-235)

```

<?php

}

?>

```

And remove that and it won't hide the header on the login pages etc.