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
Calendar 0.79 custom fields (solved)
-
- Forum Members
- Posts: 84
- Joined: Sun Feb 11, 2007 11:03 am
Calendar 0.79 custom fields (solved)
Last edited by stefsegers on Fri Aug 17, 2007 11:08 am, edited 1 time in total.
Re: Calendar 0.79 custom fields
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
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
-
- Forum Members
- Posts: 84
- Joined: Sun Feb 11, 2007 11:03 am
Re: Calendar 0.79 custom fields
SUPER.. it worked like a sharm....
Thanks for the tip
Thanks for the tip
-
- Forum Members
- Posts: 43
- Joined: Thu Mar 13, 2008 8:16 pm
Re: Calendar 0.79 custom fields (solved)
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?
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?