Jump to content

How to hide the links on the login page to the backoffice? [SOLVED]


Recommended Posts

How to hide the links "PrestaShop ™ © 2007-2014 - All rights reserved" 

and links to social networks on the login page to the backoffice? 

 

How to change the text "PrestaShop ™ © 2007-2014 - All rights reserved"? 

 

How to change the links to redirect to other pages that I want? 

 

I apologize if there are too many questions in one post. 

 

thanks 

Obiettivoweb

 

Versione 1.6.0.9

Edited by Obiettivoweb (see edit history)
Link to comment
Share on other sites

 

How to hide the links "PrestaShop ™ © 2007-2014 - All rights reserved" 
and links to social networks on the login page to the backoffice? 
 
How to change the text "PrestaShop ™ © 2007-2014 - All rights reserved"? 
 
How to change the links to redirect to other pages that I want? 
 
I apologize if there are too many questions in one post. 
 
thanks 
Obiettivoweb
 
Versione 1.6.0.9

 

No one knows how to do?

Link to comment
Share on other sites

Have a look in your-admin-folder/themes/default/template/footer.tpl

Hi Mickeyboy1, 
 
I found the file footer.tpl, but I have not figured out what to change. 
you could tell me how to intervene to hide or change according to what I wrote above? 
 
Thanks again for your help 
Obiettivoweb
Link to comment
Share on other sites

Sorry i was mistaken with the file.

It is this one: your-admin-folder/themes/default/template/controllers/login/content.tpl

 

Line 152 is the code for the prestashop link:

<a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved
			</a> 

You can either comment this out by using  {* before the code and *} after it like this

{* <a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved
			</a> *}

or you can change it to your own link.

Put your own link after the href=" your-link"

Put the text you want displayed between > and </a> like this

<a href="http://www.link-to-somewhere/" onclick="return !window.open(this.href);">
				Link To Somewhere Else
			</a> 

You can do similar with the other social links

Edited by mickeyboy1 (see edit history)
Link to comment
Share on other sites

Sorry i was mistaken with the file.

It is this one: your-admin-folder/themes/default/template/controllers/login/content.tpl

 

Line 152 is the code for the prestashop link:

<a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved
			</a> 

You can either comment this out by using  {* before the code and *} after it like this

{* <a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved
			</a> *}

or you can change it to your own link.

Put your own link after the href=" your-link"

Put the text you want displayed between > and </a> like this

<a href="http://www.link-to-somewhere/" onclick="return !window.open(this.href);">
				Link To Somewhere Else
			</a> 

You can do similar with the other social links

Hi,
 
thanks for the tip. I have made changes to the file content.tpl, as you said, but it does not work.
 
The links are pointed at prestashop and the text changed to content.tpl though, remains the same.
 
I tried this out at comment by using the code {* before and after *}, but neither works.
 
Maybe there is something that dominates the changes in content.tpl.
 
Can you think of any other ideas?
 
thanks
Link to comment
Share on other sites

Well thats strange as it works on my local copy version 1.6.0.9

 

Default Code....

 

post-535854-0-33270400-1415313319_thumb.jpg

 

Edited Code...

{*<div id="login-footer">
		<p class="text-center text-muted">
			<a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved 
		</p> 
		<p class="text-center">
			<a class="link-social link-twitter" href="https://twitter.com/PrestaShop" target="_blank" title="Twitter">
				<i class="icon-twitter"></i>
			</a>
			<a class="link-social link-facebook" href="https://www.facebook.com/prestashop" target="_blank" title="Facebook">
				<i class="icon-facebook"></i>
			</a>
			<a class="link-social link-github" href="https://www.prestashop.com/github" target="_blank" title="Github">
				<i class="icon-github"></i>
			</a>
			<a class="link-social link-google" href="https://plus.google.com/+prestashop/" target="_blank" title="Google">
				<i class="icon-google-plus"></i>
			</a>
		</p>
	</div>*}

After edit....

 

post-535854-0-02626200-1415313384_thumb.jpg

 

Have you cleared your cache and refreshed your browser ???

Link to comment
Share on other sites

Well thats strange as it works on my local copy version 1.6.0.9

 

Default Code....

 

attachicon.gifloginbefore.JPG

 

Edited Code...

{*<div id="login-footer">
		<p class="text-center text-muted">
			<a href="http://www.prestashop.com/" onclick="return !window.open(this.href);">
				© PrestaShop™ 2007-{$smarty.now|date_format:"%Y"} - All rights reserved 
		</p> 
		<p class="text-center">
			<a class="link-social link-twitter" href="https://twitter.com/PrestaShop" target="_blank" title="Twitter">
				<i class="icon-twitter"></i>
			</a>
			<a class="link-social link-facebook" href="https://www.facebook.com/prestashop" target="_blank" title="Facebook">
				<i class="icon-facebook"></i>
			</a>
			<a class="link-social link-github" href="https://www.prestashop.com/github" target="_blank" title="Github">
				<i class="icon-github"></i>
			</a>
			<a class="link-social link-google" href="https://plus.google.com/+prestashop/" target="_blank" title="Google">
				<i class="icon-google-plus"></i>
			</a>
		</p>
	</div>*}

After edit....

 

attachicon.gifloginafter.JPG

 

Have you cleared your cache and refreshed your browser ???

Thanky you again mickeyboy1 for your help.

 

Same versione 1.6.0.9

Default code even for me.

 

I have cleared cach and refreshed my browser, but not works.

 

I have opened a ticket with the hosting provider.

Because some days ago, they have migrated my website from old to newer server.

 

I'm thinking that I login in to the old cpanel. I expect an answer from hosting to see what happens.

 
Among other things, Google fails to do the verification file for indexing website.
 
If you have another tip I would appreciate it.
Link to comment
Share on other sites

 

Thanky you again mickeyboy1 for your help.

 

Same versione 1.6.0.9

Default code even for me.

 

I have cleared cach and refreshed my browser, but not works.

 

I have opened a ticket with the hosting provider.

Because some days ago, they have migrated my website from old to newer server.

 

I'm thinking that I login in to the old cpanel. I expect an answer from hosting to see what happens.

 
Among other things, Google fails to do the verification file for indexing website.
 
If you have another tip I would appreciate it.

 

The hosting provider has responded to my e-mail.
It was as I thought.
I did login to the cpanel on the old server.
 
Now it all works.
 
Thanks again friends.
Link to comment
Share on other sites

×
×
  • Create New...