Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How to change the PrivateBin template on Cloudron

    PrivateBin
    privatebin documentation configuration
    2
    2
    36
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LoudLemur last edited by

      I think the documentation could be improved with some screenshots of a worked example.

      brave_MB5OZ75qSC.png

      For example, PrivateBin is meant to come with a dark theme. How do we change it to that?

      ericdrgn 1 Reply Last reply Reply Quote 2
      • ericdrgn
        ericdrgn @LoudLemur last edited by

        @LoudLemur If you go to the file manager for you PrivateBin app you can change line 41 to be what you want. https://github.com/PrivateBin/PrivateBin/wiki/Templates (same link the cloudron docs provide) the PrivateBin repo provides examples of templates so you can add those. Below is lines 40 and 41 if you want to use the bootstrap dark template do the same thing.

        ; template to include, default is "bootstrap" (tpl/bootstrap.php)
        template = "bootstrap-dark"
        

        The Cloudron docs then go into what you need to do if you want to create your own template to use with PrivateBin. You would create the custom.php template and add it to the file manager in /app/data/custom_template/custom.php and then go back into the conf.php file and change line 41 to be the below.

        template = "custom"
        
        1 Reply Last reply Reply Quote 4
        • First post
          Last post
        Powered by NodeBB