Samples > Starter stores > Starter store enhancements > Remote widgets > Site flow and interactions > E-Marketing Spot remote widget and feed flows
Home
The home page helps customers navigate the store by displaying a list of available departments to browse, each containing products.
After you publish the MadisonsEnhancements.sar store archive, the home page includes an e-Marketing Spot that includes code to support remote widget and feed links. The Subscribe link displays on the page automatically. A store developer can enable the Share link and configure the link to call an e-Marketing Spot remote widget by its ID.
Elements of the Home page showing remote widgets store enhancements
JSP files
- TopCategoriesDisplay.jsp represents the entire page.
- CachedTopCategoriesDisplay.jsp represents the area containing the home page e-Marketing Spots.
e-Marketing Spots
1 HomePageDealOfTheWeek is the e-Marketing Spot that is enabled for a remote widget and a feed.
Change flow options
1 E-Marketing Spot remote widget and feed capability can be enabled and disabled.
Links and buttons
- 1 When the Share link is clicked, RemoteWidgetToolDisplay.jsp is called. Customers can change the layout, size and color of the widget in a simple editor, and then share the widget on a personal Web page.
- 1 When the Subscribe link is clicked, the browser displays the e-Marketing Spot Atom feed in the manner the browser supports. For example, some browsers display the formatted feed whereas others display the XML code. Either way, the URL for the feed displays in the address bar.
To subscribe to the feed, customers can copy the feed URL and paste it into their favorite feed reader.
Related reference
Catalog: Overall layout, right sidebar