Announcement: New module Script Deploy

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
barboni
Forum Members
Forum Members
Posts: 68
Joined: Thu Nov 30, 2006 7:56 pm

Re: Announcement: New module Script Deploy

Post 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
Attachments
colorbox001.jpg
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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
uniqu3

Re: Announcement: New module Script Deploy

Post 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/
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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
uniqu3

Re: Announcement: New module Script Deploy

Post 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.
Attachments
files.JPG
Last edited by uniqu3 on Sun Jul 18, 2010 6:29 pm, edited 1 time in total.
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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..
Attachments
2010-07-18_1131.png
Last edited by JeremyBASS on Sun Jul 18, 2010 6:32 pm, edited 1 time in total.
User avatar
barboni
Forum Members
Forum Members
Posts: 68
Joined: Thu Nov 30, 2006 7:56 pm

Re: Announcement: New module Script Deploy

Post 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.
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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
Last edited by JeremyBASS on Sun Jul 18, 2010 6:47 pm, edited 1 time in total.
uniqu3

Re: Announcement: New module Script Deploy

Post 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.
Attachments
compressed.JPG
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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 :D ..

Working on it.. -J
User avatar
barboni
Forum Members
Forum Members
Posts: 68
Joined: Thu Nov 30, 2006 7:56 pm

Re: Announcement: New module Script Deploy

Post 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!
uniqu3

Re: Announcement: New module Script Deploy

Post 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.
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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
JeremyBASS

Re: Announcement: New module Script Deploy

Post 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.. :D  not sure on the out part atm ... I have to test to see it I can reproduce that..
uniqu3

Re: Announcement: New module Script Deploy

Post 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)
Last edited by uniqu3 on Sun Jul 18, 2010 7:09 pm, edited 1 time in total.
Locked

Return to “Modules/Add-Ons”