Footer - Powered by TurnKey Linux
Love what you guys have done here. I recently downloaded the wordpress appliance to put my small biz website on. I was wondering how to remove the "Powered by TurnKey Linux" footer from the bottom of all of my pages, or at least from the side bar as it interferes with a portion of my site and does not look very professional.
Thanks for your help and keep doing what you do.
How to select the credit footer with CSS
The credit link is intended to help spread the word about the appliances. TurnKey Linux is a relatively new project so that's an important part of finding new users we can help. By default it's themed in a tiny font that doesn't spoil most themes.
In any case, it's easy to override the CSS for the credit footer so you can theme it to your liking like this:
/* This removes the credit link, but if possible we ask that you try and re-theme it to your liking instead as a courtesy to the TurnKey Linux project */ #turnkey-credit #override { display: none; }Where is that CSS file
I love what your project is doing and I want to leave the footer, actually mod it just a bit and still give you guys props. What I really need to remove is the one on the side bar. I have a looping news gaget going and your credit is in the way. I am new to wordpress and my web developer did 90% of the work. I understand what to do I just cant find the correct css file.
Thanks again.
CSS is global
Does this code apply to
Does this code apply to Joomla as well? I can't seem to get this to work either.
For Joomla Appliance
This worked for me: Just add the following line to the template CSS file:
#turnkey-credit { display: none; }yes...worked for me (Removing Joomla Footer)
Hey thanks this worked great! I will add that you have to put in the templates "unwritable" css file and it should work.
Where is that CSS file
rdufou, add the code to your template's template.css to remove the footer.
Footer is gone
Thanks for the help. The footer is gone. I will be adding a custom footer back and include the link to here. I still have it on my side bar. It is an iframe inside a text widget located on the sidebar. Sorry for the annoyance. Any ideas on this one.
Inline CSS?
It sounds like the CSS override isn't being applied inside your text widget which is being served as an IFRAME using the output from a separate PHP script. There are a couple of things you can try. Editing the PHP script to insert a bit of inline CSS into the PHP code that generates your widget, like this:
<style type="text/css"> #turnkey-credit #override { display: none; } </style>Or alternatively you can disable the substitute Apache module that inserts the credit's HTML code ("a2dismod substitute" in a command line).
which css?
which css file should be edited? i'm using an appliance that was initially phpbb but now has wordpress on it, as well. i want to remove the "phpBB Appliance -" and just have "power by turnkey linux", but editing single directory css files doesn't seem to make the change.
This is an Apache Directive.
While I do appreciate all the hard work and contribution to the OS community that you guys have done, I have found on some of my website (pro ones) that is necessary to remove the footer message. But please do give as much credit to these people that we can because what they have done is nothing less than extraordinary. Anyone can host professional websites from home or the cloud because of what they have done.
I found the best way to do it other than CSS, because non-CSS pages will still have this footer message:
1. Login to webmin using your root account.
2. Under the Servers tab go into Apache.
3. Click Default server.
4. Under Per-Directory Options click Location /
5. Click Edit Directives.
6. Delete all the stuff in that box. Save and restart apache/ click apply changes.
7. Reload your webpage, you might need to clear your cache.
Thanks - worked perfect
Thanks - worked perfect
That works like charm... :)
That works like charm... :)
Help!
I used this before and it worked perfectly.
We had to restore our server from backup (which also worked perfectly), but the "Powered by . . ." reappeared.
I tried to follow the same instructions, but the directives were already empty. I tried clearing cache, etc. to no avail.
I love Turnkey Linux and have recommended them a lot, but forcing themselves into the footer, and then forcing the very people who benefit form turnkey's ease of use to deal with it does far more harm than good for them. (I know you are not affiliated; just needed to vent!)
Any ideas? This issue is holding up the launch of our site.
(Sorry for the typos in my original post)
Restart Apache
You might need to restart apache for the changes to take effect.
Sorry this is giving you
Sorry this is giving you trouble. The footer is a compromise. Users who choose not to disable it give TurnKey a big boost by helping the project help others.
In any case, if you're having trouble with the Apache directives it shouldn't be difficult to just disable the footer by adding a bit of CSS as I described above:
#turnkey-credit #override { display: none; }To do the same from
Thanks CK for the info! I
Thanks CK for the info! I appreciate the work that you guys do with these TurnKey -servers but please keep in mind that this forcing-way of spreading your message can be harmful for your success. Hopefully you change this policy and continue the good work!
Too bad! If it's about giving
Too bad!
If it's about giving credit where it's due, you yourself removed the "powered by Drupal" from this very site. With some little persistent bug like this in the code, I'm not going to use or recommend it now for production servers, which means it won't be an accurate test server either.
If I did use it, I'd be thinking: What other little self-serving bugs have you placed in the stack/code? Will redirect ads start popping up on all the turnkey sites in a few months? Have you left backdoors? Yikes!
Sorry you feel this way
Removing the credit link is clearly documented, and you may do so.
I'm all about giving credit
I'm all about giving credit but when I am billing a client to setup a server and or web application it looks rediculous if they can just go to your website and download a new vm :)
Its great to help development and thats why I recently bought you guys 12 beers :)
Thanks
Kyle
grosir aksesoris wanita
which css file should be edited? i'm using an appliance that was initially phpbb but now has wordpress on it, as well.
thank you..
Moodle footer?
I apologize if this is listed somewhere, I honestly have looked everywhere I can think of.
Can someone please explain how the Powered by TurnKey Linux footer is removed from the Moodle installation?
(If my employer weren't billing for this installation and requesting the removal, I would leave it!)
Keep up the great work, I shall donate to the Beer Fund my friends.
Regards,
Josh
Several ways, all documented above
From what I can tell all TurnKey appliances that have the credit link insert it in the same way so there is no Moodle specific place you should need to know about. There are several ways to remove the footer, all documented above. The easiest is to simply to 'display: none' it in your CSS stylesheet.
For the precise instructions...
Look at the comments posted by Liraz and later CK. But really you should consider styling the link so that it blends into your site naturally. TurnKey is still a relatively new project. By keeping the credit link you are helping to spread the word and help people just like you find it.
How is this generated?
How is this message generated? Is it within Drupal somewhere or a directive to replace the </body> tag with the added code within Apache2? I'm curious to know; it seems a bit unsecure that an external process is modifying pages without my knowledge.
Not a security issue
I took a look at this a while back and the way this is implemented doesn't use any external processes to modify the outgoing request. It's just a pretty simple static post-processing directive on the outgoing response done by Apache which users can can easily modify (or disable). If you read carefully you'll see this is actually documented in the above thread. It's just easy to skim over...
Word up.
Thanks Jimmy. I did indeed miss that line about disabling mod_substitute, it was a little hidden under the code box!
For those interested in the specifics, the Apache module mod_substitute is used to search and replace any pattern matched as directed. In this instance, the conf file for this directive is located at /etc/apache2/mods-available/substitute.conf. You can modify the contents of this file OR you can run this command "a2dismod substitute" to disable the module. You'll then need to restart Apache via the command "/etc/init.d/apache2 restart".
I love spreading the word and all, but I use this server to display client's websites as well as to display lots of marketing collateral. If I send someone to a static HTML page to review and approve graphics, Flash, videos, etc., it's very distracting to have this message just under what I'm trying to show off.
Thanks for the great software.
Compromise
Perhaps this is a little too well embedded. I am trying to use the VM to run two test websites and the substitute mod is forcing its way onto my other CMS' pages. I worked for a company that makes a CMS product and we never assumed that the client will want Powered By... pasted into their design. We always asked them first. Maybe as a compromise you could put it in the standard template that comes with the CMS you are supplying.
You bring up good
You bring up good issues.
1) Your company's CMS was likely not free or was part of a paying package. Turnkey Linux (and Drupal, a CMS which does have "Power by Drupal" by default) are both free.
2) There isn't really a standard template for most CMS. Sure, there is a default, but people oftentimes select a new theme immediately.
I agree, though, that using mod_substitute is too high powered for this goal. It's typically used in a free hosting environment, or somewhere that you're "babysitting" clients.
Also finding and replacing
Also finding and replacing the </body> tag isn't cool. I'm sure there are instances where this could mess with someone's code.
No default can be perfect for everyone. It's a trade off
Note that we don't enable the credit link for all appliances, only where we figure it makes sense. For example, the LAMP stack appliance doesn't have one.
But as with any other default. It's a compromise. You can't please everyone all of the time. Every solution has pros and cons either way. If you're one of the many users who discovers TurnKey via the credit link, you might appreciate it more than if you found out about the project some other way and you're just annoyed that it needs to be tweaked a little to do exactly what you want.
Remember, as a small open source project we have limited tools for helping people discover the appliances. This is one of the most important. Users can always turn it off but we're hoping they don't. We're donating our time to help you for free and we're hoping that inspires you to pay it forward and give back by helping others.
I understand sometimes you don't have a choice and you have to remove it, in which case I hope you'll at least help spread the word about the project in some other way (e.g., word of mouth referrals, blog posts, tweets, etc.)
I found out about TurnKey Linux from the credit link myself...
I just wanted to say that the point that Liraz Siri is making is a very good one!
I personally found out about TurnKey Linux from a footer link. I am happy that the method to remove the credit is freely posted here in the forum (which is sometimes necessary), but I also will be leaving the link most of the time I work with TurnKey.
Thanks for all the work you guys do on TurnKey Linux! This is truly an awesome product! I look forward to more softwares being "TurnKey-ed" such as Nagios and I look forward to turnkey moving to later versions of Ubuntu as well. Again, this is an awesome product and "thank you".
Thanks for speaking up!
How do I achieve this step when someone is hosting my website?
I want to modify the credit on the Trust theme and I am having difficulty doing so because I can't find where the it is. Please help...
You may need to contact your host
If you don't have full access to your server then you will have to get your host to do it for you. I'd contact them and see if they can clarify this for you.
jepit rambut
which css file should be edited? i'm using an appliance that was initially phpbb but now has wordpress on it, as well.
thank you..
Credit footer printed incorrectly
Hi,
I've just found that when you print a wordpress page using google chrome print feature that the footer prints about a thrid of the way down the page.
How to get rid of it completely!
If you have administrative access to the host and you want to completely remove the "Powered by TurnKey Linux" you simply need to delete two symlinks and restart apache. From commandline run the following commands (Assuming you are using Ubuntu):
rm /etc/apache2/mods-enabled/substitute.conf
rm /etc/apache2/mods-enabled/substitute.load
/etc/init.d/apache restart
Post new comment