Events Manager : using value of new-made fields [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
BaukeJ
Forum Members
Forum Members
Posts: 13
Joined: Sat Dec 08, 2012 4:26 pm

Events Manager : using value of new-made fields [SOLVED]

Post by BaukeJ »

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!
Last edited by BaukeJ on Tue Jan 08, 2013 7:08 am, edited 1 time in total.
BaukeJ
Forum Members
Forum Members
Posts: 13
Joined: Sat Dec 08, 2012 4:26 pm

Re: Events Manager : using value of new-made field definitio

Post by BaukeJ »

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.
Post Reply

Return to “Modules/Add-Ons”