2015-09-20, 02:20
(2015-09-11, 11:23)Jayz2K Wrote: Erm, yeah, sry for the VFS path.
Here's my new attempts :
andCode:<onclick>RunScript(script.skin.helper.service,action=restore,silent=special://skin/extras/colorschemes/kover_colorccheme_default.zip)</onclick>
Code:<onclick condition="StringCompare(Container(9400).ListItem.Property(NumTemp),MODEL1)">RunScript(script.skin.helper.service,action=backup,filter=MODEL1,silent=special://skin/extras/test.zip))</onclick>
Returns invalid path in Log (tried it several times with renaming the zip mybackup.zip, moving it straight in extras/ ... no luck)
Code:11:17:06 T:5492 NOTICE: Skin Helper Service --> ERROR while creating backup ! --> Path invalid. Make sure you provide the FULL path, for example special://skin/extras/mybackup.zip
Also tried again for export with name entry prompt, same result as before with the same command.
I have justed tested both backup and restore with silent parameters and working fine...
There's however something funny with yuour code snippet... I I type exactly the same as you by hand it's working but when I copy your code it fails.
So I'd suggest you just to retype the code because there might be some weird character in there. Also, did you notice you have one bracket ) too many at the end ?