KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: ejaen on December 24, 2009, 09:48:30 am

Title: Where is velocity.properties ?
Post by: ejaen on December 24, 2009, 09:48:30 am
   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

Title: Re: Where is velocity.properties ?
Post by: heidi on December 24, 2009, 10:16:36 am
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.
Title: Re: Where is velocity.properties ?
Post by: ejaen on December 24, 2009, 10:33:52 am
    Ups, thk's for u reply heidi.
Until 4.2.0.0 , i try to find a workaround solution  :-\
Thk's.
Emilio.