Any one have a good tutorial on writing macros in velocity?

On 2/20/07, Dave <[EMAIL PROTECTED]> wrote:

Your best bet is to put tracking code in one of the Roller macros that
is used on every blog, like the show calendar or one of the show
entries macros.

You can do that by editing weblog.vm or by adding a roller-custom.vm
file in the same directory as weblog.vm and overriding the macro you
wish to add the tracker code to.

- Dave



On 2/16/07, Hans Sims <[EMAIL PROTECTED]> wrote:
> Hello,
> I just wonder where is the best location to put in tracking code for
> statistic tools such as Google Analytics (a small javascript will
> always executed on every request).
> Until now, I hacked it always directly to the theme files, but when
> something change I have always to change it on every theme.
>
> Where is the best location for this kind of tracking code?
>
> Thanks for your great work.
>
> Greetings
>
> hans
>




--
Programming is art

Reply via email to