Creating adapted versions of the Smartlets

Release 1.3 - ...

In those cases where other customization efforts fail, you can make a drastic choice: create a new copy of the entire Smartlet.

From there, you have full freedom to adapt anything in the Smartlet, but the downside of the approach is that any future updates and fixes to the original Smartlet have to be re-implemented in your copy.

Simply copy the complete folder structure of the Faceted Search Smartlet, then rename the Smartlet items in that folder.

Be careful to use one single base-name for each Smartlet in the folder, since these Smartlets work together as a group and have a name dependency:

In your newly created folder, use a new base name, but keep the conventions.

For instance:

  • sml_FacetedSearch2()
  • sml_FacetedSearch2_Facet()
  • sml_FacetedSearch2_Filters()
  • sml_FacetedSearch2_Persist()

After you've completed the renaming procedure, you will have a working clone of the Faceted Search Smartlet.