Hi all,
I am kind of new into using cmsms, so it might be that my question is not quite the difficulty you expect, sorry for that.
I am using EventsManager to show a list of events (courses in my case).
I have made an extra field in "Field Definitions" in the Events Manager. The field I made is a plain text field called "locatie".
Now I would like to show the value of this new made field in the summary.
I tried using just about every tag in the Summary Template that I can think of, e.g.:
{$locatie->value}
{$entry->locatie->value}
{$entry->field->locatie->value}
{$entry->locatie}
But to be honest, I really don't know what I am doing and just making wild guesses. Unfortunately trial and error doesn't bring me to success.
Could someone help me and let me know how to display the value that was entered in a new made field definition?
Thank you very much!
Events Manager : using value of new-made fields [SOLVED]
Events Manager : using value of new-made fields [SOLVED]
Last edited by BaukeJ on Tue Jan 08, 2013 7:08 am, edited 1 time in total.
Re: Events Manager : using value of new-made field definitio
With a lot of help of a good friend of mine who is a genius in PHP i have found a solution:
To use a self-named field in Eventsmanager try
{foreach from=$entry->fields item=field}{if $field->name eq "Locatie"}{$field->value}{/if}{/foreach}
Replace "Locatie" by the name of your own field
For now, solved.
To use a self-named field in Eventsmanager try
{foreach from=$entry->fields item=field}{if $field->name eq "Locatie"}{$field->value}{/if}{/foreach}
Replace "Locatie" by the name of your own field
For now, solved.