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.
Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. blocked from logging into wordpress
  2. Connection Refused
  3. renew

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!