You are here
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.
[UPDATE]: As noted in a comment below the quickest/easiest way to do this on most TurnKey appliances (at least the LAMP based ones) is:
a2dismod substitute service apache2 restart
If you get errors and/or it still displays after reloading the page, please open a new thread on the forums and state the TurnKey appliance and version. If you're not sure, please include the output of:
turnkey-version
Also, if you remove the credit footer, please consider how you might otherwise be able to support us to continue our work?! :)
Regards,
Jeremy
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:
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
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:
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.
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:
Sorry you feel this way
Removing the credit link is clearly documented, and you may do so.
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.
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.
Slight typo
The last line should be "/etc/init.d/apache2 restart" if using apache2, which I believe all TKL appliances use.
Chris Musty
Director
Specialised Technologies
Theoretically it could be done with a plugin
But considering the range of TKL appliances then doing it with CSS seems the only logicial (and possible) way to acheive this across all appliances. The way it is makes it consistant code that can be applied across the board (rather than having a different plugin/code for each appliance).
I think the best would be to have the Footer read....
"a Turnkey Linux appliance" and leave it at that.
I believe it brings up security and other issues when the "name" of the appliance is given.
Two things.I discovered TKL by a footer & where is it defined?
My two cents on this...
First, I actually discovered this project by footer too-- and I am very glad I did! I use it for all sorts of customer and project work, it's amazing what I've been able to use it for and how much it's helped me. And had I not seen the footer one day.... well, who knows.
My question is -- I see where and how it's declared in CSS style sheets-- but where is "Powered by Turnkey Linux" actually defined? That is, where are those words actually set in order to be displayed?
I ask this, because I would like to continue using all the appliances for customers and projects WITH the footer in place-- but I would like to append my company to the verbiage (separate, but on same line) so that my customers see both the Turnkey credit, and my company -- that adds professionalism for my customers and work.
In other words-- what file would I go in and edit where I could keep the TKL credit and append my company name? (NOT taking any credit for the project, just having my company name on the footer noting that my company is using the project.)
Usually you'll need to tweak the mod_substitute configuration
First, great to hear that you found the project through the footer. That's why we put it there!
Regarding the technical details, for many (but not all) of the LAMP stack based appliances the footer is inserted into the HTML output using the Apache mod_substitute module which we're using because it's the most generic way to insert a footer without messing with application code. Look in /etc/apache2/mods-available/substitute.conf if you want to edit it.
Cheers!
On 14/09/12 08:00, TurnKey Linux wrote:
What about just disabling mod_substitute?
Then reload page.
It's done differently on each appliance
I think your point and request are reasonable and we probably should add it to the Issue Tracker. However it would take significant labour to sit down and document how the footer is done in each and every appliance. As we are a small team (only 3 of us) we have tons of work to do on existing bugfixes and feature requests; let alone getting to the (very overdue) library refresh. With Jessie release just around the corner; getting together a v14.0 release candidate is also high on the agenda... Because of our labour bottleneck we constantly need to prioritise and re-prioritise so many "nice to have" things (like your request) just never get done...
Having said that, if it is something that you think would be of particular value to TurnKey Linux then please feel free to look over the build code and document it. I have no doubt that others would appreciate it. For example from my cursory glance it looks like this is where the footer is created for the ownCloud appliance. That should give you a good place to start in working out how to disable/remove it. I imagine that it would generally be configured in an appliance's conf.d/main config script.
PS great to hear that you like TurnKey so much - even despite the footer! :)
For most appliances it uses mod_substitute
For Wordpress users
in case if you don't have access to apache files, or want to turn off this Turnkey credit footer only in your wordpress site, add this to your wordpress theme's style.css:
/** Credit info in footer removal for TurnKey Linux */
#turnkey-credit {
display: none !important;
}
http://www.3d-architectural-rendering.com/3D-Walkthrough.html
Thanks :)
Thanks :)
Engineering Projects Or Arduino Projects ??
As noted above
Oops, sorry about that...
So I just grepped through the buildcode and found that it's appended on the bottom of the html template that GitLab uses.
You can find that file here: /home/git/gitlab/app/views/layouts/application.html.haml
You're most welcome
Add new comment