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

Where is velocity.properties ?

Started by ejaen, December 24, 2009, 09:48:30 am

Previous topic - Next topic

ejaen

   Hi, my name's Emilio, i'm working in a konakart site.
I need to customize a velocity template and i need format some prices in template.
To do it, i make a Velocity Custom Directive, and i try to put in  velocity.properties like this:

velocity.properties:
userdirective=com.example.MyDirective1

and then use in velocity template.

The problem appear is that velocity engine don't read velocity.properties . I put velocity.properties in WEB-INF/classes folder
Please can u tell me if Konakart velocity engine , can't read velocity.properties file?
Thk's un advance.
Emilio


heidi

Up until version 4.1.0.0 that is true;  KonaKart doesn't read velocity.properties.

But, with version 4.2.0.0 - to be released probably towards the end of January 2010 - we introduce a konakart_velocity.properties file which you can use for this purpose.

ejaen

    Ups, thk's for u reply heidi.
Until 4.2.0.0 , i try to find a workaround solution  :-\
Thk's.
Emilio.