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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Option in web app configuration to set path when clicking icon

Option in web app configuration to set path when clicking icon

Scheduled Pinned Locked Moved Feature Requests
userinterface
9 Posts 2 Posters 1.3k Views 2 Watching
  • 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.
    • LonkleL Offline
      LonkleL Offline
      Lonkle
      wrote on last edited by girish
      #1

      Lots of web apps allow you to set tokens so that only people with the token can use them and all POSTs and GETs require them. I'm working with an app that uses a live debugger on the root of it's filesystem. But it requires a token. So, when I hit the app in the Cloudron Dashboard it goes leads me to an "unauthorized" page. Is there a way to select the "URL" the user goes to when clicking the app icon. For me I'd put in my /?token=x, but I imagine a lot of people will put in Wordpress' login page rather than the Wrodpress public front end. I am one of those places. I have one place I want to go in the WP backend, so I'd put that link in there directly. I see this being an easy modification and could be very useful to people.

      Maybe in the future, make it have per-user type controls. But for now, just making the path custom would be a godsend.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        The main link target cannot be changed, since anyways the hitting the domain directly and not through the Cloudron dashboard would result in the same issue. However there is (looks like still uncodumented) CloudronManifest.json field configurePath which, if present, will show an additional action item on hover at the moment. For example in surfer this is set to /_admin and thus brings the user directly to the admin panel.

        LonkleL 1 Reply Last reply
        3
        • nebulonN nebulon

          The main link target cannot be changed, since anyways the hitting the domain directly and not through the Cloudron dashboard would result in the same issue. However there is (looks like still uncodumented) CloudronManifest.json field configurePath which, if present, will show an additional action item on hover at the moment. For example in surfer this is set to /_admin and thus brings the user directly to the admin panel.

          LonkleL Offline
          LonkleL Offline
          Lonkle
          wrote on last edited by
          #3

          @nebulon That's EXACTLY what I want. Basically a configurable "backend" path button.

          LonkleL 1 Reply Last reply
          0
          • LonkleL Lonkle

            @nebulon That's EXACTLY what I want. Basically a configurable "backend" path button.

            LonkleL Offline
            LonkleL Offline
            Lonkle
            wrote on last edited by
            #4

            @Lonk The app I'm creating using the token is a private docker anyway so adding it into the Cloudron manifest works for my needs.

            1 Reply Last reply
            0
            • LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by Lonkle
              #5

              Thanks for telling me about it, love it when there was an undocumented feature that you needed right when you needed it. ☺️

              Because not all web apps have front ends - this I find incredibly valuable information!

              1 Reply Last reply
              1
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                Yes this is a good reminder to document it. I have made a note to do it on monday.

                LonkleL 1 Reply Last reply
                3
                • nebulonN nebulon

                  Yes this is a good reminder to document it. I have made a note to do it on monday.

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by Lonkle
                  #7

                  @nebulon Always the speedster with the changes. Thanks for making the option more accessible to others! ☺️

                  1 Reply Last reply
                  0
                  • LonkleL Offline
                    LonkleL Offline
                    Lonkle
                    wrote on last edited by
                    #8

                    I just realized I could have just done this with TamperMonkey, but I still appreciate that it was a built in feature already. 🎉

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #9

                      Since @girish has setup the ci pipeline in Gitlab for our docs to push into a surfer instance, such changes are so easy now!

                      So https://docs.cloudron.io/custom-apps/manifest/#configurepath is up.

                      1 Reply Last reply
                      3
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search