DokuWiki by default will have buttons and the License text at the bottom of each page. In Most cases, the buttons are not desired on the site. You also, may not want the license text there as well, depending on the type of wiki you are building. This article will explain how to remove the button links and the license text from the footer of the DokuWiki theme.

Removing the buttons from the footer

Preview of bottom buttons in footer DokuWikiThe DokuWiki footer buttons cannot be removed through the DokuWiki administrator section. The following section will give a step by step instruction for removing these buttons from the footer of the DokuWiki theme code.

  1. Login into your cPanel
  2. Go to the File Manager. Select your DokuWiki installation location and click Go.
  3. Edit the CSS file DokuWikiNavigate to the following file.

    public_html/your-dokuwiki/lib/tpl/dokuwiki/tpl_footer.php

    Open the tpl_footer.php in the file manager code editor.


  4. Button code for DokuWiki themeFind the code shown in the snapshot to the right.

    To keep from breaking the theme accidentally and to retain the original code without deleting it, we will use HTML comments to comment out the button code. HTML comments look like the following.

    <!--  Code to comment goes here -->

    Comment code for buttons in DokuWikiPlace the beginning comment before the following:

    <!--
    <div class="buttons">
    And right after the next div code.
    </div>
    -->

  5. Footer with buttons removed DokuWikiAfter saving the file, your wiki should look like the snapshot to the right. Now the Buttons will not show on the footer anymore.

Removing the License text from the footer

DokuWiki footer license text The footer shows License text by default. See image to the right. This text can be completely removed from the site. The following steps will explain how to remove the license text.

  1. Login into your cPanel
  2. Go to the File Manager. Select your DokuWiki installation location and click Go.
  3. Open the tpl_footer.php in the code editor found at the following file location.

    public_html/your-dokuwiki/lib/tpl/dokuwiki/tpl_footer.php


  4. Code for License text DokuWikiThis is the same process as commenting the button code, except in this case we are commenting the following code.
        <?php tpl_license(''); // license text ?>
    

    Comment License code for DokuWiki themeCommenting should look like the following.

    <!--
        <?php tpl_license(''); // license text ?>
    -->

  5. DokuWiki License text removedSave the file and your DokuWiki should look like the snapshot to the right with the License text missing.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201005

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!