I will reveal a small hidden feature
of Sitefinity 3.2 that should be useful to you in your case.
easily (in 3.2 not so intuitive though) to your pages. These controls are Telerik.Cms.Web.UI.JsFileLink
You can use them by adding JsFileLink
as standard custom controls in your templates and setting the very few properties they have. See them in action in [your_website]\Sitefinity\ControlTemplates\Libraries\GalleryLightboxListTemplate.ascx
. Here is how they serve the purpose of the Lightbox-enabled template:
|<sfWeb:CssFileLink ID="CssFileLink1" FileName="~/Sitefinity/ControlTemplates/Libraries/librariesCommonLayout.css" Media="screen" runat="server" />
|<sfWeb:CssFileLink ID="CssFileLink" FileName="~/Sitefinity/ExternalLibraries/lightbox/css/lightbox.css" Media="screen" runat="server" />
|<sfWeb:JsFileLink ID="PrototypeLink" runat="server" FileName="~/Sitefinity/ExternalLibraries/lightbox/js/prototype.js" />
|<sfWeb:JsFileLink ID="ScriptaculousLink" runat="server" FileName="~/Sitefinity/ExternalLibraries/lightbox/js/scriptaculous.js?load=effects" />
|<sfWeb:JsFileLink ID="JsFileLink2" runat="server" FileName="~/Sitefinity/ExternalLibraries/lightbox/js/lightbox.js" />
We still do not support these controls as they are not mature enough and should have tons of features added in order to be officially
announced and documented but I think they can come in handy in many situations.
Hope this helps!
the Telerik team