Tip: Things to remember while customizing the Controls

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ehtesham

Tip: Things to remember while customizing the Controls

Post by ehtesham » Mon Feb 25, 2008 3:49 am

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.

User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

Re: Tip: Things to remember while customizing the Controls

Post by bobr2k » Tue Mar 04, 2008 11:30 am

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.
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Post by sohaib » Tue Mar 04, 2008 11:35 am

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

Post Reply