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

    Captive portal with external code?

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 29 Views 2 Watching
    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.
    • D Offline
      DominikHoffmann
      last edited by

      I had a web designer develop some html code for my client’s captive portal. The purpose was to capture the client’s branding and make the page appealing. However, it does not work. I has lines like this

          <link href="https://cdn.prod.website-files.com/6578b009abb7093b83be8fac/css/***************.shared.01cf775ef.min.css" rel="stylesheet" type="text/css"/>
          <link href="https://fonts.googleapis.com" rel="preconnect"/>
          <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/>
      

      in it.

      My thought is that this won’t work because the browser is not yet cleared to load those resources. Any style sheet would have to be explicitly copied into the code for the captive portal.

      Am I correct?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @DominikHoffmann
        last edited by

        @DominikHoffmann said in Captive portal with external code?:

        Am I correct?

        You can upload the files you need, like css file with the portal's file manager.
        From then on, you can use these files in your 'main' portal login html file, error file etc.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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