Show main site header on login pages

by Jarrod · 7 years ago

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.

Status Timeline
Declined — Mar 5, 2020
by Michael
Comments (1)
Michael Staff 6 years ago

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.

4

4 voters

Status Declined
Category Client Interface