Page 1 of 1

Can scriptlets go outside their default folders?

Posted: Mon Sep 29, 2008 1:57 pm
by MarkI
Hi,

I've figured out how to create scriptlets by first creating the .htm file in the App_Data\Scriptlets\Default folder, then creating the .ascx control in the ConLib folder.

However, I have not figured out how the scriptlets are linked up. What I would like to do is create my own Scriptlets folder for a .htm files and my own ConLib folder for their assciated .ascx files. I'd like to do this to create separation between my custom code and the shipping ablecommerce code.

If this is common knowledge, I appologize - I would welcome a simple pointer to documentation that explains this if it exisits.

Thanks,

Mark

Re: Can scriptlets go outside their default folders?

Posted: Mon Sep 29, 2008 5:20 pm
by jmestep
You can do that by putting both your scriplets and conlibs in a /Custom folder-- Conlib/Custom and Scriplets/Custom--- that is actually where you are supposed to put them so they don't get overwritten by an upgrade. Make sure that your Scriplet Custom folder has the same subfolders as the Default folder has. If you edit your scriplet from the admin, it automatically generates one in a custom folder.
You have to make a couple more changes in your conlibs- I believe the Able help site details that out.