Hey, I know it’s a little long since I started this thread but I just got round to doing this properly and I can’t seem to quite get it to work.
I have tried the following settings
trial 1
Variable Name: [*lightbox*]
Input Type: checkbox
Input Option Values: on==On||off==Off
Default Value: lightbox==@CHUNK lightbox
trial 2
Variable Name: [*lightbox*]
Input Type: text
Input Option Values: lightbox==@CHUNK lightbox
Default Value: (blank)
The lightbox chunk has the script lines like below
<script type="text/javascript" src="assets/js/shadowbox/js/yui-utilities.js"></script>
I tried the 2 ways above... and i put [*lightbox*] just before my </head> tag and when i refresh the page i get 2 outcomes, neither of which work.
On
<script type="text/javascript">var MODX_MEDIA_PATH = "media";</script>
</head>
the work On in the above code actually appear at the very top of my website even thought it’s in the head tag and not the body...... very odd.
I know i’m doing something wrong...... I read the wiki on TV but my mind isn’t functioning correctly, not that it ever does.