Announcement: New module Script Deploy

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
geraldo
Forum Members
Forum Members
Posts: 10
Joined: Fri Dec 12, 2008 10:38 am

Re: Announcement: New module Script Deploy

Post by geraldo »

@Jeremy
I'am sorry, the error is not caused by SCRIPTDEPLOY.
Using {stylesheet} shows up the same error on the map. I have to re-install / re-test CGGoogleMaps
Geraldo
JeremyBASS

Re: Announcement: New module Script Deploy

Post by JeremyBASS »

Well.. it should prevent it if it's call from somewhere while SD is in the same template.. so oh well.. :/  But thanks for getting back with me on that.. Cheers -Jeremy
swgreed

Re: Announcement: New module Script Deploy

Post by swgreed »

Is it possible to combine "Script Deploy" with async loading of JS?

Code: Select all

<__script__ type="text/javascript">

 // Add a script element as a child of the body
 function downloadJSAtOnload() {
 var element = document.createElement("script");
 element.src = "deferredfunctions.js";
 document.body.appendChild(element);
 }

 // Check for browser support of event handling capability
 if (window.addEventListener)
 window.addEventListener("load", downloadJSAtOnload, false);
 else if (window.attachEvent)
 window.attachEvent("onload", downloadJSAtOnload);
 else window.onload = downloadJSAtOnload;

</__script>
http://code.google.com/intl/de-DE/speed ... rLoadingJS
Foaly*
Translator
Translator
Posts: 150
Joined: Sun Mar 29, 2009 3:32 pm

Re: Announcement: New module Script Deploy

Post by Foaly* »

swgreed

Re: Announcement: New module Script Deploy

Post by swgreed »

Thanks for the link!

So, I guess I'm lining up with the feature request already posted ;)
JeremyBASS

Re: Announcement: New module Script Deploy

Post by JeremyBASS »

Ok. it's in the SVN

Message:
FR[#6266] option for javascript loaders --- added param defer which you use with path or a group to do the lazyload of the script onload. It does use js in the output so usage should be limited to once but that is way you have the groups.
and if you use the path you still can use the CSV so you get something like {ScriptDeploy path="/modules/ScriptDeploy/includes/test.js,/modules/ScriptDeploy/includes/test2.js"
defer=true} .. few fixes to the header file.


Cheers -Jeremy
swgreed

Re: Announcement: New module Script Deploy

Post by swgreed »

How can I upgrade the current version (0.8) of Script Deploy with the checked out SVN-Version (0.8.x) in CMSMS v1.9.4.1?

Just uploading the new files won't show me the install (or upgrade) option. The entry for "Script Deploy" in the module tab just vanishes. Is there any version check involved?

(Sorry for the dumb question, but I am not very familiar with the manual upgrade option of CMSMS).


By the way:
The "feedback link" (http://help.corbensproducts.com/make-contact.html) upon deinstallation in the module tab leads to an 404 error.
JeremyBASS

Re: Announcement: New module Script Deploy

Post by JeremyBASS »

Oh if you pull from the svn you need the site Utilities module as well.. I don't recall if it's stable in the svn atm.. but I'll push everything right now.. still working on a last few items before the whole line goes out. -J
Foaly*
Translator
Translator
Posts: 150
Joined: Sun Mar 29, 2009 3:32 pm

Re: Announcement: New module Script Deploy

Post by Foaly* »

Looking forward to the next version as it has changed a lot in svn and the version from svn isn't stable right now.

@swgreed: you have to install SiteUtilities from SVN, too. Attention: The module's directory will probably be miss-named.
geach
New Member
New Member
Posts: 2
Joined: Fri Jul 08, 2011 2:20 pm

Re: Announcement: New module Script Deploy

Post by geach »

I just got both ScriptDeploy and SiteUtilities from SVN so I could try to get grouped scripts to work with version 1.9.4.1 of the CMS.

After the install I noticed quite a few javascripts are not in the SiteUtilities includes folder yet. To make scripts work I copied all files in the include folder of the ScriptDeploy zip release to the SiteUtilities include folder. This seemed to work fine till I got to adding some CSS scripts to a group. It doesn't seem to save adding a script to a group. It doesn't show any errors that I can see when I click finish. I have tested this in both chrome and Firefox 5 just to make sure it wasn't browser issue and get the same results. Is there something else I need to do to make adding a CSS script to a group work?
Mieszko
Forum Members
Forum Members
Posts: 59
Joined: Fri Mar 04, 2011 2:40 pm

Re: Announcement: New module Script Deploy

Post by Mieszko »

Hello,

I'm just curious about CMSms 1.10-beta 2, trying a simulation of upgrading an older site from 1.9.4.3.

Script Deploy works fine on the front end, but when I try to enter the Backend I get this error:

Code: Select all

Fatal error: Call to undefined function load_all_preferences() in x:\xxx\modules\ScriptDeploy\lib\class.adminHeaderScripts.php on line 112
Call Stack
#	Time	Memory	Function	Location
1	0.0127	378112	{main}( )	..\moduleinterface.php:0
2	0.1892	6824096	ScriptDeploy->GetHeaderHTML( )	..\moduleinterface.php:100
3	0.2193	6967088	adminHeaderScripts->jsNcss( )	..\ScriptDeploy.module.php:130
4	0.2308	6984688	adminHeaderScripts->buildAjaxJS( )	..\class.adminHeaderScripts.php:77
Hopefully this can be repaired until 1.10 is officially released.
I like your module a lot.
Thank you
swgreed

Re: Announcement: New module Script Deploy

Post by swgreed »

Any news on ScriptDeploy and CMSMS 1.10?
In my opinion, this module is one of the most important/promising ones when it comes to onsite optimization!
JeremyBASS

Re: Announcement: New module Script Deploy

Post by JeremyBASS »

Hello. I am doing some last min test and preping. I'm hoping to push out te new version here later today. Thank you for keeping tuned and hope everyone will like the new versions.

Cheers -Jeremy
swgreed

Re: Announcement: New module Script Deploy

Post by swgreed »

Is there some kind of hotfix available (i.e. exchange a file or s.th. like that) for making it compatible with 1.10 in the meantime?

http://dev.cmsmadesimple.org/bug/view/6802
kendo451

Re: Announcement: New module Script Deploy

Post by kendo451 »

Does the one in subversion work?

I realize Dev Team is swamped right now.

ScriptDeploy is mission critical for some of my sites.

I sent a donation to help with the upgrade. How much of a donation would you need to get it done this weekend, Jeremy?
Locked

Return to “Modules/Add-Ons”