All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Javascript and css not found when using masked access to control panel

tear 4 May 2010 12:19 problem, complete

I am using a subdomain to mask access to my control panel. In this instance the low variables javascript and css files are not found. Please change the link to your javascript and css files to make them work for people using this configuration of EE.

Thanks

Replies

  1. Low 4 May 2010 12:27

    I knew this would come sooner or later.

    I'll change the setup and release a fix soon.

  2. tear 4 May 2010 12:37

    Sorry to be the one! You can get around it by creating the folders and files wherever your masked access is, but that creates more work when it comes time to updating, as you have to remember to update those files too.

  3. Low 4 May 2010 12:41

    Good to hear you've got a workaround.

    I just dislike the way EE reads all its CSS and JS and dumps it in the page source. Guess this is why. Too bad that approach screws up any relative linking to images in the CSS... Oh well.

    Working on a fix as we speak.

  4. tear 4 May 2010 12:48

    Hmmm, just to be sure we are talking about the same thing: These are the files that aren't found for me when masking access to CP:

    <link rel="stylesheet" href="https://example.com/modules/low_variables/css/low_variables.css" type="text/css" media="screen" />
    <script type="text/javascript" src="https://example.com/modules/low_variables/javascript/jquery.cookie.js"></script>
    <script type="text/javascript" src="https://example.com/modules/low_variables/javascript/low_variables.js"></script>

    They aren't being dumped into the page source, they just aren't being found.
    (EE 1.6.8)

  5. Low 4 May 2010 12:52

    Yeah, sorry, what I explained above is the normal way EE includes JS and CSS. That's what I don't really like, so I chose to determine the URLs and link to those. But that doesn't work for masked url's (or installations above web root), so I'll have to take on EE's approach anyway.

    tear 4 May 2010 12:57

    Oh I see.

  6. Low 13 May 2010 17:02

    As of version 1.2.0, the masked cp url issue should be solved.