First: Just FYI, not really a FancyBox issue: I tried (as of the date of this post) to update sekFancyBox to version 1.0.2 via the Revo Package Manager, but it reported I was up to date at version 1.0.1. However, browsing in the MODX Extras (
http://modx.com/extras/package/sekfancybox) shows that version 1.0.2 is indeed available. Going back to Package Manager and browsing manually, I found version 1.0.2. I was able to download it, and Package Manager said that the installation was successful. However, I also saw these messages:
Attempting to preserve files at /home/xyzzy/public_html/assets/components/sekfancybox into archive /home/xyzzy/public_html/core/packages/sekfancybox-1.0.2-pl/modCategory/c7774c5474d86dc1436dad4ee2c8b276.0.preserved.zip
Attempting to preserve files at /home/xyzzy/public_html/core/components/sekfancybox into archive /home/xyzzy/public_html/core/packages/sekfancybox-1.0.2-pl/modCategory/c7774c5474d86dc1436dad4ee2c8b276.1.preserved.zip
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => sekfancybox.load_jquery )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => sekfancybox.load_jquery_head )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => sekfancybox.custom_css )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => sekfancybox.custom_buttons_css )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => sekfancybox.custom_thumbs_css )
These seem OK, but why does the installer mention them?
Second: If I do not use "&customcss," I see the stylesheet reference in the page source as expected:
<link rel="stylesheet" href="/assets/components/sekfancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" />
However, suppose I try to point to the default stylesheet using this:
&customcss= `/assets/components/sekfancybox/source/jquery.fancybox.css?v=2.1.5`
In that case, the page source shows an empty stylesheet reference:
<link rel="stylesheet" href="" type="text/css" />
And of course the snippet's result is not as desired.
By the way, what is the purpose of passing the stylesheet's version in the URL?