Page 4 of 12
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 5:24 pm
by barboni
OK, here's what I've done:
I used Colorbox template inside Gallery module. So I moved scripts, one by one into corresponding page, testing the output with each script I moved. The css went last. So, everything was OK until I moved css. The final result is this:
The problem is that the box uses absolute positioning, so it's now 0 top 0 left, instead of being centered. I dont know where it could fail.
If you wanna see this for yourslef the link is
http://www.computersky.co.rs/index.php?page=portfolio
Fortunately, the site ain't alive yet.
Thanks
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 5:40 pm
by JeremyBASS
@barboni indeed it's a user error here.. in the css you have
#Colorbox, #cboxOverlay, #cboxWrapper {
left:0;
overflow:hidden;
position:absolute;
top:0;
z-index:9999;
}
now the box has a id of id="colorbox" so if you go to the script all you need to do is change it to this..
#Colorbox, #cboxOverlay, #cboxWrapper {
...etc
Hope that helps.. Cheers -Jeremy
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:16 pm
by uniqu3
Ok i have installed the new version now but it looks like it simply ignores my script groupings.
Also in the global url i have assigned scripts.mydomain.com but in the source code i see js.mydomain.com what i was using to test js. + css. subdomains.
My example
http://www.ich-mach-das.at/home/
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:20 pm
by JeremyBASS
Ok.. so on the path part I just fixed that in the svn.. on the grouping.. umm.. well looking at the source you have
Code: Select all
<__script__ type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></__script>
<__script__ type="text/javascript" src="http://js.ich-mach-das.at/uploads/lib/SD-temp/groupID/3.js?1279476823"></__script>}
<__script__ src="http://twitter.com/statuses/user_timeline/uniqu3.json?callback=twitterCallback2&count=4" type="text/javascript"></__script>
that seems that you may have the template code off? but it's empty.. is there something in id group 3?
I need to retest a little but I'll get right back here shortly.. -J
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:25 pm
by uniqu3
Now it's group 4, i have Cycle, Easing, twitter plugins and the functions file.
Weird thing is now i have copied all as code for each file and the only code that is shown in the compressed script is the last one.
Edit: Here admin screenshot. So looking at the group it says there is 40,1kb compressed but opening the path of the script show only compressed version of my last script.
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:30 pm
by JeremyBASS
uniqu3 wrote:
Now it's group 4, i have Cycle, Easing, twitter plugins and the functions file.
Weird thing is now i have copied all as code for each file and the only code that is shown in the compressed script is the last one.
I think if I understand you right one of the scripts in the group is compressed and the rest is not.. that would be due the script level minifacation not being turned on.. you can set it one by one for debug purposes.. so if you have a group and least say 3 of them grouped.. if the middle one was the only one without it turned on then you would see a compressed script and non-compressed and then a compressed.. I hope that is what you're asking about..
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:35 pm
by barboni
Sorry, that doesn't solve the problem. I have changed nothing in css. I just don't understand how could the change of script path affect it's behaviour. Can't find no logic.
Oh, just to mention, ocasionally I get error message that sais Sorry: /home/computer/public_html/uploads/lib/SD-temp/
DOES NOT yet exist run the plug-in on an image first.
And this message is present constantly: ScriptDeploy could not make the cache folder, check your file permissions for the Uploads area.
The cache folder actually exists.
I need to say that I had the problem with cache folder earlier, and I reinstalled the module. With the new installation there was no permission problems, but as I said, sometimes I need to reapply clear cache before it gets cleared.
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:46 pm
by JeremyBASS
barboni wrote:
Sorry, that doesn't solve the problem. I have changed nothing in css. I just don't understand how could the change of script path affect it's behaviour. Can't find no logic.
Trust me it will .. here is proof.
http://screencast.com/t/NWZjN2E3OD Now note I cann't change the css for you so I just changed what colorbox is outputting.. but same diff.. un cap the id in the css and it’ll work..
barboni wrote:
Oh, just to mention, ocasionally I get error message that sais Sorry: /home/computer/public_html/uploads/lib/SD-temp/
This is due to the the folder being deleted and you click the clear twice, knownly or not .. that message is normal. But I'll check the rebuild cach stuff too..
barboni wrote:
And this message is present constantly: ScriptDeploy could not make the cache folder, check your file permissions for the Uploads area.
The cache folder actually exists.
That shouldn’t be.. it’s not bad, just a visual issue.. that is for the install check and shouldn’t up there.. I’ll fix that..
barboni wrote:
I need to say that I had the problem with cache folder earlier, and I reinstalled the module. With the new installation there was no permission problems, but as I said, sometimes I need to reapply clear cache before it gets cleared.
I’ll look in to this, but the system clears the cache on submit.. but I’ll take a quick look when I adjust the other stuff.. HTH cheers -Jeremy
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:47 pm
by uniqu3
@Jeremy
i have actually compressed all scripts (see screenshot), so i believe there is something wrong with output of the compressed file.
In the version 0.7.3 i had the same settings, say i copy/pasted my code of each script in the editor area, named it and assigned to the group.
The output was all files nicely compressed, now i did the same with updated version but the only thing that is being compressed and outputted is the last code/script i added.
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:51 pm
by JeremyBASS
@uniqu3 ok... I'll test that out.. I bet I just missed something when I was making subclasses.. :/ figures bug come out only after a release

..
Working on it.. -J
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:55 pm
by barboni
Oh, thanks, I missed the big C!
Thank you for your time. I like your module, just need to learn to use it properly. Bye.
This one should be marked SOLVED!
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:57 pm
by uniqu3
Yes for some reason in Group panel viewing at all files it says total of 40kb but l in the grouped script list there is only 400bytes minified, now i simply overwritten via FTP the compressed file with the working one so at least it works now.
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 6:58 pm
by JeremyBASS
barboni wrote:
Oh, thanks, I missed the big C!
Thank you for your time. I like your module, just need to learn to use it properly. Bye.
This one should be marked SOLVED!
Super.. tk for the words.. it'll only get better, and I'll try to get to the help soon.. :D glad it's solved Cheers -Jeremy
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 7:02 pm
by JeremyBASS
uniqu3 wrote:
Yes for some reason in Group panel viewing at all files it says total of 40kb but l in the grouped script list there is only 400bytes minified, now i simply overwritten via FTP the compressed file with the working one so at least it works now.
So just fyi since I guess looking at it know it’s not so clear, 40kb is the total size of the scripts in there edited state added up .. I plan to make that a little more accurate as in if you choose compress on a script it reflects it there.. groups have had the least love..

not sure on the out part atm ... I have to test to see it I can reproduce that..
Re: Announcement: New module Script Deploy
Posted: Sun Jul 18, 2010 7:08 pm
by uniqu3
I didn't express myself correctly, the compressed size of all files should be 30kb out of 40kb but the compression worked only on one file (last added) with size of something over 500bytes and compressed output of the complete group file was 400bytes meaning only last file was compressed and grouped.
I am not sure but i don't think i could do some much wrong by copying the whole code of each file in the editor (i didn't figure out how to get external file, no matter what path) naming the script and assigning to group.
(this procedure didn't cause any problems in previous version)