Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: How do I remove the Privacy Policy link in the footer?

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45544

I don't want to remove the whole footer, just the Privacy Policy link. Thanks.
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45552

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Kristin,

It depends on how the privacy policy link is inserted by the template. It either has to be hard coded (written directly) into the index.php page or there is a variable there which calls the footer template and prints there on demand.

So if it's hard coded in the index, you have to edit index.php and change it there to change it on all the pages. If it's part of the footer template, you will need to go there and either change the hard coding or remove the whatever variable is there.

I can't tell you exactly where it is because not all templates do it the same way. Those are the most likely spots where you'll find the code that generates the link.

Have you gone through our template course yet?

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45585

Hi -

I've checked the index.php file as well as two files, one which seems likely to be generating this info. But I've been unable to find the correct place I need to make the change. I'm attaching the two footer files here. Does either of these help?

Many thanks.
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45588

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17198
  • Thank you received: 450
  • Karma: 64
Hi Kristin,

The files have to be zipped up for security reasons to attach.

Also, could we get the link to the site to take a quick look?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45592

Sorry, zipped files are attached. And the site is blacksheepalehouse.com.

Live preview of the template I purchased is here:
www.templatemonster.com/demo/38756.html

THANKS.
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #45596

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Kristen,

Neither of these files has the code that produces that link.
; Joomla! Project
; Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8 - No BOM
; Note : %date% will be auto replaced by current year !Don't translate

MOD_FOOTER="Footer"
MOD_FOOTER_LINE1="Copyright © %date% %sitename%. All Rights Reserved."

The last line above shows that it only prints the copyright information. You can turn off the copyright in the gantry template manager features section, but it probably won't affect the link you're trying to remove.

Look in your module manager for a module that is in the footer position, or look at your index.php file for the template and see if there is code there that refers to the privacy policy.

Let us know,
Ed
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #46340

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17198
  • Thank you received: 450
  • Karma: 64
Hi Kristin,

This just-in from a visitor that saw your issue :)

Try looking in template/yourTemplate/features/copyright.php

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #46342

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hey thanks to the eagle-eyed visitor that spotted this!

Luckily Kristen has already solved the problem. I'm impressed that someone else wanted to help! This is the way a forum is supposed to work.

Thanks a bunch,
Ed
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #46407

Yes, I'm set now, but thanks all!
Please become a member of OSTraining to reply to this post.

How do I remove the Privacy Policy link in the footer? 1 year 1 month ago #46408

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17198
  • Thank you received: 450
  • Karma: 64
Hi Kristin,

Great! Glad to hear that! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.