We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7455
    • 2,204 Posts
    The needede js files are not put in the head when I use this call:
    [!MaxiGallery? &display=`embeded` &embedtype=`lightboxv2`!]
    

    the css is registerd ok
    here the source of my page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    
    	<head>
    		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    		<meta name="generator" content="Adobe GoLive">
    		<title>Elisabeth Schaap » Straatbeeld</title>
    		<link href="css/elisabeth.css" rel="stylesheet" type="text/css" media="all">
                    <link href="css/PHPLM_CSS.css" rel="stylesheet" type="text/css" media="all">
    
                    <link href="css/gallery.css" rel="stylesheet" type="text/css" media="all">
    
    
                    
    <!-- phplayersmenu CSS information - Unused portions can be removed -->
    <!--
    <style type="text/css">
        @import url("assets/phplayersmenu/layersmenu-gtk2.css");
        @import url("assets/phplayersmenu/layersmenu-old.css");
        @import url("assets/phplayersmenu/layerstreemenu.css");
        @import url("assets/phplayersmenu/layerstreemenu-hidden.css");
    </style>
    -->
    <!-- phplayersmenu Javascript information - Unused portions can be removed -->
    <script type="text/javascript" src="assets/phplayersmenu/libjs/layersmenu-browser_detection.js"></script>
    <script type="text/javascript" src="assets/phplayersmenu/libjs/layersmenu-library.js"></script>
    <script type="text/javascript" src="assets/phplayersmenu/libjs/layersmenu.js"></script>
    <script type="text/javascript" src="assets/phplayersmenu/libjs/layerstreemenu-cookies.js"></script>
    
    	<script type="text/javascript">var MODX_MEDIA_PATH = "media";</script>
    <link rel="stylesheet" href="/assets/snippets/maxigallery/css/default.css" type="text/css" media="screen" />
    </head>
    


    I know its an old design using old menu etc but I have this on every site I create. I just past the neede links in a chunk for it to work but than those js are loade on every page even on the one not needing them.

    maybe I miss somthing somhow. would be nice if this could work.

    Greets Dimmy
      follow me on twitter: @dimmy01
      • 22303 MODX Staff
      • 10,725 Posts
      See http://modxcms.com/bugs/task/865. Does that possibly relate?
        • 7455
        • 2,204 Posts
        mm that could be the problem lets try
          follow me on twitter: @dimmy01