|
One of the first changes you're likely to make is to customize the Welcome Screen to display your own message to your visitors, featured products, or other information. Follow these steps to create a custom template for the Welcome Screen in place of the default template.
Example 11.1. Customizing the Welcome Screen
core/welcome.jsp
file. Find this file under the /WEB-INF/layouts/default/core
directory./WEB-INF/layouts/default
directory may be overwritten when you install a future upgrade of SoftSlate Commerce. Instead, copy the welcome.jsp
file into the /WEB-INF/layouts/custom/core
directory.welcome.jsp
file under the custom
directory. Open up the welcome.jsp
you copied to the custom
directory. It should look something like this:
<%@ include file="/WEB-INF/layouts/default/core/tagDefinitions.jsp" %>
<!-- Start welcome.jsp -->
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="welcomeHeading">
<bean:message key="welcome.heading"/>
</td>
</tr>
<tr>
<td class="welcomeMessage">
<bean:message key="welcome.message"/>
</td>
</tr>
</table>
<!-- End welcome.jsp -->
<%@ include file="/WEB-INF/layouts/default/core/tagDefinitions.jsp" %>
<!-- Start welcome.jsp -->
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="welcomeHeading">
<bean:message key="welcome.heading"/>
</td>
</tr>
<tr>
<td class="welcomeMessage">
Hello customers! So glad you decided to stop by!
</td>
</tr>
</table>
<!-- End welcome.jsp -->
Congratulations! You've just made your first customization to your store's screens.
Note | |
---|---|
The <bean:message key="welcome.message"/> tag that was replaced in the above example is a tag that pulls in text from the |
Home | Features | Pricing | Demo Store | Documentation | About Us | Contact Us Copyright © 2005 SoftSlate, Inc. All Rights Reserved. |