Page 1 of 1

Tip: Things to remember while customizing the Controls

Posted: Mon Feb 25, 2008 3:49 am
by ehtesham
Tip: Things to remember while customizing the Controls

• Default controls used in the AbleCommerce application are stored under ~\ConLib\ directory.
• Data can be accessed either via existing CommerceBuilder API or by writing new code. The code can be placed either in App_Code or as a separately compiled DLL in Bin folder.
• The selected theme might need to be updated for the new controls if some new CSS classes are added or new images/icons are required.
• Controls, once ready, can be used in other controls or added in your scriplets using the syntax like [[ConLib:YourContent]] or [[ConLib:NewDirectory\YourContent]].
• It is strongly recommended to store all created/edited scriplets in ~\ConLib\Custom\ directory or any directory that does not already exist in order to avoid them from being overwritten in the case of application upgrade.

Re: Tip: Things to remember while customizing the Controls

Posted: Tue Mar 04, 2008 11:30 am
by bobr2k
ehtesham wrote: • It is strongly recommended to store all created/edited scriplets in ~\ConLib\Custom\ directory or any directory that does not already exist in order to avoid them from being overwritten in the case of application upgrade.
In case someone refers to this "down the road" ... I believe scriplets are best stored in ~\App_Data\Scriptlets\Custom to automagically override the default.

Posted: Tue Mar 04, 2008 11:35 am
by sohaib
You are right.

Because this tip is about Custom Controls the correction that needs to be made is
It is strongly recommended to store all created/edited scriplets in ~\ConLib\Custom\ directory ......
to

It is strongly recommended to store all created/edited controls in ~\ConLib\Custom\ directory ......