Page 1 of 1

Calendar 0.79 custom fields (solved)

Posted: Fri Aug 17, 2007 10:07 am
by stefsegers
Hi all,

I got the latest version calendar that has custom fields. That's great stuff but....
How can I show a custom field in my listview?

For now I tried {$event.Country} for the Country Custom Field. This did not work.

How can I show my custom fields?

Stef

Re: Calendar 0.79 custom fields

Posted: Fri Aug 17, 2007 11:02 am
by codepoet
try something like {$event.fields.Country}

Even better - put {debug} at the top of the top of the template and smarty will dump out all the data that is available for you to use in your template.

I am pleased that you find the feature useful.

God Bless

phill

Re: Calendar 0.79 custom fields

Posted: Fri Aug 17, 2007 11:08 am
by stefsegers
SUPER.. it worked like a sharm....

Thanks for the tip

Re: Calendar 0.79 custom fields (solved)

Posted: Mon Dec 08, 2008 3:13 am
by idledragon
I realize that this is for an older version of the calendar, but it seems to relate.

I'm trying to list things by their categories and it doesn't seem to work.

I'm using {$event.categories.category_id}

is this correct?  Is it not compatible with the latest version of Calendar?