Jump to content
  • 0

How To Show The Page Header With Logo On The Client Login Form?


Question

Posted

Hi, 

 

I'd like to show the branding of my site on the login page. Right now all it has is the login box with the words "Log in: My Domain." My customer has no idea that they're on the same website when they're logging in. 

 

It's showing my custom footer from structure.pdt (below the screenshot), but no header. Any idea on how to add that in? 

 

Thank you, 

 

Clare

post-53-0-31147200-1410134054_thumb.jpg

14 answers to this question

Recommended Posts

  • 0
Posted

You can use this vQmod. Visit https://account.orangehost.co.nz/ to see this in action.

 

If you don't want to use a vQmod you can make the changes manually:

 

In /app/views/client/bootstrap/structure.pdt replace

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

with

if (true) {

Or just remove the if block altogether.

always_show_header.xml

  • 0
Posted

Well  for that you don't need adit any files just fill fields in company settings ant it will show you company name,address,contact e-mail...

 

Go settings--->sistem---companies and click edit

 

Here is my example ,just replace content with yours

 

comp.jpg

 

 

Here is result,this is different theme,but content is same.

 

login.jpg

  • 0
Posted

Well content about she talk is edited in companies settings ,even if she use always show header , it will still show mydomain.com...etc  because it is default content in companies settings and it is not in header but in section content,she will have to edit those sttings to get own content.

  • 0
Posted

You can edit the login template at /public_html/blestainstall/app/views/client/bootstrap/client_login.pdt and

                               <div class="col-md-4 col-sm-6 col-md-offset-1">
					<h2><i class="fa fa-lock"></i> <?php $this->Html->_($company->name);?></h2>
					<h4><?php $this->_("ClientLogin.index.login_heading");?></h4>
					<p><?php $this->_("ClientLogin.index.description");?></p>
					<hr />
				</div>

is the div that control what is shown there. You can easily replace one of those with an image if you with to use a physical logo.

  • 0
Posted

You can use this vQmod. Visit https://account.orangehost.co.nz/ to see this in action.

 

If you don't want to use a vQmod you can make the changes manually:

 

In /app/views/client/bootstrap/structure.pdt replace

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

with

if (true) {

Or just remove the if block altogether.

 

 

 

Thanks flangefrog! This is what I was looking for. I wanted the clients to see my website header when they are logging in, and replacing the first PHP code with the second worked! 

 

I may also try to edit some of the rest of the page too with everyone else's other comments. 

 

Thank you everyone!!!

  • 0
Posted

Is that your site ,looks very nice .

 

Yes it is, thanks. I have been running with just a few clients for several months (clients were from a previous business) and I'm planning to launch the domain part of the business in a few days because we have .nz 2LD domains like anyname.nz coming on 30th September.

post-9849-0-23233000-1410188125_thumb.pn

  • 0
Posted

Yes it is, thanks. I have been running with just a few clients for several months (clients were from a previous business) and I'm planning to launch the domain part of the business in a few days because we have .nz 2LD domains like anyname.nz coming on 30th September.

 

You're very creative mate and it looks amazing :D.

  • 0
Posted

You can use this vQmod. Visit https://account.orangehost.co.nz/ to see this in action.

 

If you don't want to use a vQmod you can make the changes manually:

 

In /app/views/client/bootstrap/structure.pdt replace

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

with

if (true) {

Or just remove the if block altogether.

 

i will change it. But not change anything. Login page is the same

  • 0
Posted

Are you using the vQmod or making the change manually?

 

If you are using vQmod, make sure you download it using the link in my signature and install it according to the first post on that page. Check /vqmod/logs for any errors.

 

If you are making the changes manually, are you doing this on the correct template? Bootstrap is the default but an upgraded install might have an old "default" template.

 

Mike, I haven't tried that plugin yet but I don't think it can modify the PHP?

  • 0
Posted

You can use this vQmod. Visit https://account.orangehost.co.nz/ to see this in action.

 

If you don't want to use a vQmod you can make the changes manually:

 

In /app/views/client/bootstrap/structure.pdt replace

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

with

if (true) {

Or just remove the if block altogether.

And how do I include footer?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...