Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to add a link on CP main page ???

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 2.0k Views
    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.
    • E
      EOC2611P
      last edited by

      Hi !
              Does anyone knows what code should be added to the index's page to display a link to a website hosted locally? 
      It should forward to a local address like this: 192.168.5.8
      Thank youuuu  :D

      1 Reply Last reply Reply Quote 0
      • E
        EOC2611P
        last edited by

        "Topic: How to add a link on CP main page ???  (Read 91 times) "
        Wow, i am still hoping that maybe the reader number 92 will have the solution  :D

        All it's needed it's a button on the CP page that after someone click on it, get directed to a webpage, i am sure it can be done somehow…

        1 Reply Last reply Reply Quote 0
        • E
          EOC2611P
          last edited by

          Ok i got it, all you need to do, is add this html code to the main page of the captive portal :
          <a hre@f="http://www.websitename.com/">Click here to go to websitename

          the website can also be the local address of your server, like this:
          <@a @hr@ef="http://192.168.0.55/">Click here to go to websitename<@/a>

          As we have reached almost 100's of views without an answer, i hope this can help others that had the same problem.

          ;)

          Edit: sorry i add to put all the extra "@" because as it is html code, the page was just showing a link to nowhere, just remove all the @@@ to make it work….</a>

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @EOC2611P:

            Ok i got it, all you need to do, is add this html code to the main page of the captive portal :
            <a hre@f="http://www.websitename.com/">Click here to go to websitename

            the website can also be the local address of your server, like this:
            <@a @hr@ef="http://192.168.0.55/">Click here to go to websitename<@/a>

            As we have reached almost 100's of views without an answer, i hope this can help others that had the same problem.

            ;)

            Edit: sorry i add to put all the extra "@" because as it is html code, the page was just showing a link to nowhere, just remove all the @@@ to make it work….</a>

            <a hre@f="http://www.websitename.com/">there is a # button when you reply to a post and that can be used to enter code. :)</a>

            1 Reply Last reply Reply Quote 0
            • W
              wallabybob
              last edited by

              @tomdlgns:

              there is a # button when you reply to a post and that can be used to enter code. :)

              and there is a "globe" button (immediately under the "underlined U") that can be used o enter a URL.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.