• Welcome to KonaKart Community Forum. Please login or sign up.
 

konakart Templates

Started by eemanno, December 22, 2007, 02:49:58 pm

Previous topic - Next topic

eemanno

Hi,
I am trying to design some templates for konakart and i have a question:

Is there an easy way to read the configuration properties that are set by the administration interface?
for example... I want to display the Store Name instead of the image at the top-left corner of header.jsp.
Can i use something like <bean:message key="seo.default.meta.description"/> to do that?

cheers! :)

pete

Hi,

The Client Engine has an API call called getConfig(). Since you have a pointer to com.konakart.al.KKAppEng in almost all of your JSPs, it can be called easily from within the JSP. Look at SearchByManufacturerTile.jsp for an example of how to use the call.

All of the configurations (Admin and App ) are stored in the configuration DB table. The configuration key is what you need to pass to the getConfig() call.

-Pete